Hello

I’ve been trying to install EndeavourOS on my Pi 4 for the past couple of weeks, and I keep getting the create-pacman-keyring failed to finish in 20mins error. My log shows it’s in the process of installing linux-firmware, which I think is taking about 15mins (I tried manually initializing the keyring and updating/upgrading packages and they ended up finishing). My internet connection isn’t horrible, and I have tried editing the mirror list. I feel like the installation will complete, if I can change the timeout value. I did try to change the timeout values in the shellprocess_initialize_pacman.conf files, in both /etc/calamares/modules/ and ~/configs/calamares/modules/ . Is there a way to change that timeout value? Any help would be, very, appreciated! Thank you.

2023-08-11 - 00:09:51 [6]: virtual void Calamares::JobThread::run()
    Starting job "initialize pacman ... copy pacman mirrorlist and keyring to target ..." ( 1 / 20 ) 
2023-08-11 - 00:09:51 [6]:     .. Running ("/bin/sh", "-c", "chmod +x /etc/calamares/scripts/create-pacman-keyring") 
2023-08-11 - 00:09:51 [6]:     .. Running ("/bin/sh", "-c", "bash /etc/calamares/scripts/create-pacman-keyring") 
2023-08-11 - 00:10:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:10:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:11:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:11:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:12:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:12:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:13:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:13:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:14:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:14:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:15:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:15:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:16:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:16:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:17:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:17:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:18:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:18:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:19:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:19:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:20:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:20:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:21:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:21:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:22:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:22:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:23:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:23:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:24:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:24:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:25:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:25:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:26:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:26:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:27:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:27:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:28:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:28:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:29:17 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:29:47 [6]: QML Component (default slideshow) Next slide
2023-08-11 - 00:29:51 [2]: Calamares::Utils::ProcessResult Calamares::Utils::Runner::run()
    WARNING: Process "/bin/sh" timed out after 1200000 ms. Output so far:
 haveged: command socket is listening at fd 3
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/664PAC57F601D181B5EA5D734AA4BA761C0DC5B2B.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinuxarm.gpg...
==> Appending keys from endeavouros.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 10 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  10  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  10  signed:   1  trust: 0-, 0q, 0n, 10m, 0f, 0u
gpg: depth: 2  valid:   1  signed:   0  trust: 1-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2032-05-20
:: Synchronizing package databases...
upgrading licenses...
upgrading linux-firmware-whence...
upgrading linux-firmware...

2023-08-11 - 00:30:10 [2]: QProcess: Destroyed while process ("env") is still running.
2023-08-11 - 00:30:10 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "Generate machine-id." 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Set timezone to America/Los_Angeles" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Set keyboard model to pc105, layout to us-" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "localecfg" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job " " 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "packages" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Shell Processes Job" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Configure <pre>sudo</pre> users." 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Preparing groups." 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Create user default" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Set password for user default" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Set password for user root" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Set hostname asdf-pc" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "networkcfg" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "displaymanager" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "hwclock" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Shell Processes Job" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "services-systemd" 
2023-08-11 - 00:30:10 [6]:     ..  Skipping non-emergency job "Saving files for later ..." 
2023-08-11 - 00:30:10 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&amp;, const QString&amp;)
    ERROR: Installation failed: "External command failed to finish." 
2023-08-11 - 00:30:10 [6]:     .. - message: "External command failed to finish." 
2023-08-11 - 00:30:10 [6]:     .. - details: Command <i>bash /etc/calamares/scripts/create-pacman-keyring</i> failed to finish in 1200 seconds.
There was no output from the command.
2023-08-11 - 00:30:13 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&amp;, const QString&amp;)
    Calamares will quit when the dialog closes. 
2023-08-11 - 00:30:13 [6]: QML Component (default slideshow) deactivated
2023-08-11 - 00:30:13 [6]: void Config::doNotify(bool, bool)
    Notification not sent; completion: failed 

Other Errors (same log file):

2023-06-20 - 12:41:52 [6]:     .. Loading "/etc/calamares/branding/endeavouros/show.qml" 
2023-06-20 - 12:41:52 [6]: QPair CalamaresUtils::Network::synchronousRun(QNetworkAccessManager*, const QUrl&amp;, const RequestOptions&amp;)
    HTTP error QNetworkReply::SslHandshakeFailedError on request for QUrl("https://kernel.org") 
2023-06-20 - 12:41:52 [6]: QPair CalamaresUtils::Network::synchronousRun(QNetworkAccessManager*, const QUrl&amp;, const RequestOptions&amp;)
    HTTP error QNetworkReply::SslHandshakeFailedError on request for QUrl("https://8.8.8.8") 
2023-06-20 - 12:41:53 [6]: void Calamares::RequirementsChecker::reportProgress()
    Remaining modules: 1 
     "welcome" 
    • user741OP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Thank you for your reply and apologies for getting back so late. I usually browse old.lemmy.world on my phone, and for some reason it didn’t show your comment. I tried curling kernel.org, and the handshake was successful this time around. I, also, ended up setting my locale/timezone, so all of the timestamps were current. But, it ended up failing while upgrading a package before it even got to linux-firmware. I’m not that linux savvy, so maybe I should just wait for a new release.

        • user741OP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          That thought crossed my mind, but I was hoping it would fix it. After I set the locale/timezone and my date and time were correct, I could correctly curl kernel.org, it just failed before it even got to the linux-firmware package. I’m not sure why. Maybe I can figure out how to modify the timeout, since I was able to manually initialize the keyring and update/upgrade packages without an error. Or, I should just figure out what exactly I need to do, to mimic the gui setup itself and run everything from a terminal.