EndeavourOS Install stuck at first step

uSD card for testing. Now I’m installing software (clementine, yakuake, chromium, Calibre, minidlna, transmission, nodered…) and configuring the system (adding zram, plasma theme…)

When everything is installed and if there are no problems I’ll move the system to eMMC card.

What is your opinion about using zram as swap?

Very wise indeed. Only installing to eMMC after this process avoids excess wear and tare on the eMMC.

Since the Odroid N2+ only has 4 GB RAM, using a swap file instead of a swap partition makes sense.

Since I run the Odroid N2+ on a 500 GB USB SSD I have plenty of space for a swap file.
However, running on a USB SSD doesn’t provide HDMI audio, but I use this Odroid N2+ as my compiling for all aarch64 images, etc. so audio isn’t necessary for this use case.

Pudge

1 Like

Still the same problem:
calamares stuck at: “initialize pacman … copy pacman mirrorlist and keyring”

My installation failed shortly after “initialize pacman … copy pacman mirrorlist and keyring”.

This was a re-install on a Pi4 – the original install (a few weeks ago) was successful.
The ‘setup failed’ message was:

<class 'ImportError'>
/usr/lib/python3.11/lib-dynload/math.cpython-311-aarch64-linux-gnu.so: undefined symbol: _PyModule_Add

Traceback:
File "/usr/lib/calamares/modules/packages/main.py", line 19, in <module>
    import subprocess

  File "/usr/lib/python3.11/subprocess.py", line 119, in <module>
    import selectors

  File "/usr/lib/python3.11/selectors.py", line 11, in <module>
    import math

Install log posted to internet, the url is https://termbin.com/4wq0m

About 1 hour ago, I uploaded new ddimg files for RPi 4b and Odroid N2 to git hub.

See this post and try the new RPi 4b image to see if this fixes your problem.

Pudge

1 Like

Just installed https://github.com/endeavouros-arm/images/releases/download/ddimg-rpi-20231001/enosLinuxARM-rpi-latest.img.xz with Plasma-Desktop.
Worked as expected.

1 Like

this is happening to me right now on my brand new rpi5 with the latest image. Also it bricks the setup and I have to re-burn the image to the ssd

1 Like

Just ran into this on the latest ddimg (from 20th of February) on a Pi 5. I’ll try the server image next

EDIT: Tried a few, experiencing the same issue with Calamares. A few lines are added, saying “Process is running in the background,” and the system starts to lock up. Canceling and shutting down led to a kernel panic.

EDIT (Install Log below)

=== START CALAMARES 3.3.0-alpha3
2024-03-19 - 01:47:24 [6]: void CalamaresApplication::init()
    Calamares version: 3.3.0-alpha3 
2024-03-19 - 01:47:24 [6]:     .. languages: ("ar", "as", "ast", "az", "az_AZ", "be", "bg", "bn", "ca", "ca@valencia", "cs_CZ", "da", "de", "el", "en", "en_GB", "es", "es_MX", "et", "eu", "fa", "fi_FI", "fr", "fur", "gl", "he", "hi", "hr", "hu", "id", "is", "it_IT", "ja", "ko", "lt", "ml", "mr", "nb", "nl", "oc", "pl", "pt_BR", "pt_PT", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sr@latin", "sv", "tg", "th", "tr_TR", "uk", "vi", "zh_CN", "zh_TW") 
2024-03-19 - 01:47:24 [6]: bool CalamaresUtils::initQmlModulesDir()
    Using Calamares QML directory "/usr/share/calamares/qml" 
2024-03-19 - 01:47:24 [6]: Calamares::Branding::Branding(const QString&, QObject*)
    Using Calamares branding file at "/etc/calamares/branding/endeavouros/branding.desc" 
2024-03-19 - 01:47:24 [6]: Calamares::Branding::Branding(const QString&, QObject*)
    Loaded branding component "endeavouros" 
2024-03-19 - 01:47:24 [6]:     .. No translation for "tz_" "C" using default (en) 
2024-03-19 - 01:47:24 [6]:     .. No translation for "calamares_" "C" using default (en) 
2024-03-19 - 01:47:24 [6]:     .. STARTUP: initSettings, initQmlPath, initBranding done 
2024-03-19 - 01:47:24 [6]:     .. STARTUP: initModuleManager: module init started 
2024-03-19 - 01:47:24 [6]: void Calamares::ModuleManager::doInit()
    Found 48 modules 
2024-03-19 - 01:47:24 [6]: void CalamaresApplication::initView()
    STARTUP: initModuleManager: all modules init done 
2024-03-19 - 01:47:24 [6]: void CalamaresApplication::initView()
    STARTUP: initJobQueue done 
2024-03-19 - 01:47:24 [6]: CalamaresWindow::CalamaresWindow(QWidget*)
    Available desktop QSize(1680, 1012) minimum size QSize(1024, 520) 
2024-03-19 - 01:47:24 [6]:     .. Proposed window size: 1200 715 
2024-03-19 - 01:47:24 [6]: void CalamaresApplication::initView()
    STARTUP: CalamaresWindow created; loadModules started 
2024-03-19 - 01:47:24 [6]: void Config::initLanguages()
    Trying to match locale "C" 
2024-03-19 - 01:47:24 [6]: void Config::initLanguages()
    Trying to match locale QLocale(C, Default, Default) 
2024-03-19 - 01:47:24 [6]:     .. Trying to match approximate locale QLocale::C 
2024-03-19 - 01:47:24 [6]:     .. Trying to match English (US) 
2024-03-19 - 01:47:24 [6]: void Config::setLocaleIndex(int)
    Index 14 Selected locale "en" 
2024-03-19 - 01:47:24 [6]:     .. Loading "calamares-endeavouros_en" from "/etc/calamares/branding/endeavouros/lang" 
2024-03-19 - 01:47:24 [6]:     .. Branding no translation for "en" using default (en) 
2024-03-19 - 01:47:24 [6]:     .. Loaded QRC translation "tz_" "en" 
2024-03-19 - 01:47:24 [6]:     .. Loaded QRC translation "calamares_" "en" 
2024-03-19 - 01:47:24 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "welcome@online" loading complete. 
2024-03-19 - 01:47:24 [6]: QStringList loadLocales(const QString&)
    Loading locales from "/etc/locale.gen" 
2024-03-19 - 01:47:24 [6]:     ..  Read 489 lines 
2024-03-19 - 01:47:24 [6]:     ..  After filtering 315 lines 
2024-03-19 - 01:47:24 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "locale@locale" loading complete. 
2024-03-19 - 01:47:24 [6]: KeyboardModelsModel::KeyboardModelsModel(QObject*)
    Loaded 186 keyboard models 
2024-03-19 - 01:47:24 [6]: KeyboardPage::KeyboardPage(Config*, QWidget*)
    Variants now total= 0 selected= -1 
2024-03-19 - 01:47:24 [6]:     .. Loaded QRC translation "kb_" "en" 
2024-03-19 - 01:47:24 [6]: void Config::detectCurrentKeyboardLayout()
    ("pc", "us", "inet(evdev)\"") 
2024-03-19 - 01:47:25 [6]: QStringList CalamaresUtils::GeoIP::getElementTexts(const QByteArray&, const QString&)
    GeoIP found 1 elements 
2024-03-19 - 01:47:25 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "keyboard@keyboard" loading complete. 
2024-03-19 - 01:47:25 [6]: void fillModel(PackageListModel*, const QVariantList&)
    Loading PackageChooser model items from config 
2024-03-19 - 01:47:26 [6]:     .. Loaded PackageChooser with 10 entries. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "packagechooser@packagechooser" loading complete. 
2024-03-19 - 01:47:26 [6]: void Config::setConfigurationMap(const QVariantMap&)
    Loading netinstall from 1 alternate sources. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "netinstall@netinstall" loading complete. 
2024-03-19 - 01:47:26 [6]:     .. minLength set to 1 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "users@users" loading complete. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "summary@summary" loading complete. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "shellprocess@initialize_pacman" loading complete. 
2024-03-19 - 01:47:26 [6]: Calamares::SlideshowQML::SlideshowQML(QWidget*)
    QML import paths: 
     "/usr/share/calamares/qml" 
     "/usr/bin" 
     "qrc:/qt-project.org/imports" 
     "/usr/lib/qt/qml" 
2024-03-19 - 01:47:26 [6]: Calamares::SlideshowQML::SlideshowQML(QWidget*)
    QML load on startup, API 2. 
2024-03-19 - 01:47:26 [2]: QThread::setPriority: Cannot set priority, thread is not running
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "machineid@machineid" loading complete. 
2024-03-19 - 01:47:26 [6]: void Calamares::ModuleManager::loadModules()
    Module "locale@locale" already loaded. 
2024-03-19 - 01:47:26 [6]: void Calamares::ModuleManager::loadModules()
    Module "keyboard@keyboard" already loaded. 
2024-03-19 - 01:47:26 [2]: virtual void UserPkgListJob::setConfigurationMap(const QVariantMap&)
    WARNING: User packagelist file "/home/liveuser/user_pkglist.txt" not found 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "userpkglist@userpkglist" loading complete. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "shellprocess@disable_autologin" loading complete. 
2024-03-19 - 01:47:26 [6]: void Calamares::ModuleManager::loadModules()
    Module "users@users" already loaded. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "shellprocess@cleaner_script" loading complete. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "preservefiles@preservefiles" loading complete. 
2024-03-19 - 01:47:26 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "finished@finished" loading complete. 
2024-03-19 - 01:47:26 [6]: void Config::xkbApply()
    xkbmap selection changed to:  "us" - "" 
2024-03-19 - 01:47:26 [6]: setGeoIP(Config*, const QVariantMap&)::<lambda()>
    GeoIP result for welcome= "US" 
2024-03-19 - 01:47:26 [6]: void setCountry(Config*, const QString&, CalamaresUtils::GeoIP::Handler*)
    Unusable country code "US" 
2024-03-19 - 01:47:26 [6]:     .. Obtained from "https://geoip.kde.org/v1/ubiquity"  ( 2 "CountryCode" ) 
2024-03-19 - 01:47:26 [6]: void LoaderQueue::fetch(const QUrl&)
    NetInstall loading groups from QUrl("file:///etc/calamares/modules/netinstall.yaml") 
2024-03-19 - 01:47:26 [6]: void CalamaresApplication::initViewSteps()
    STARTUP: loadModules for all modules done 
2024-03-19 - 01:47:26 [6]: void Calamares::ModuleManager::checkRequirements()
    Checking module requirements .. 
2024-03-19 - 01:47:26 [6]: void CalamaresApplication::initViewSteps()
    STARTUP: Window now visible and ProgressTreeView populated 
2024-03-19 - 01:47:26 [6]:     .. 9 view steps loaded. 
2024-03-19 - 01:47:26 [6]:     .. Loaded QRC translation "kb_" "en" 
2024-03-19 - 01:47:26 [6]: void LoaderQueue::dataArrived()
    NetInstall group data received 686 bytes from QUrl("file:///etc/calamares/modules/netinstall.yaml") 
2024-03-19 - 01:47:26 [6]: bool GeneralRequirements::checkHasPower()
    A battery exists, checking for mains power. 
2024-03-19 - 01:47:26 [6]: void Calamares::SlideshowQML::loadQmlV2Complete()
    QML component complete, API 2 
2024-03-19 - 01:47:26 [6]:     .. Loading "/etc/calamares/branding/endeavouros/show.qml" 
2024-03-19 - 01:47:26 [6]: Calamares::RequirementsList GeneralRequirements::checkRequirements()
    GeneralRequirements output: 
     storage :   5905580032 
     enoughStorage :   true 
     RAM :   1503238553 
     enoughRam :   true 
     hasPower :   true 
     hasInternet :   true 
     isRoot :   true 
2024-03-19 - 01:47:26 [6]: void Calamares::RequirementsChecker::addCheckedRequirements(Calamares::Module*)
    Got 6 requirement results from "welcome" 
2024-03-19 - 01:47:26 [6]: void Calamares::RequirementsChecker::finished()
    All requirements have been checked. 
2024-03-19 - 01:47:26 [6]: void Calamares::RequirementsModel::describe() const
    Requirements model has 6 items 
2024-03-19 - 01:47:26 [6]:     .. requirement 0 "storage" satisfied? true mandatory? false 
2024-03-19 - 01:47:26 [6]:     .. requirement 1 "ram" satisfied? true mandatory? true 
2024-03-19 - 01:47:26 [6]:     .. requirement 2 "power" satisfied? true mandatory? false 
2024-03-19 - 01:47:26 [6]:     .. requirement 3 "internet" satisfied? true mandatory? true 
2024-03-19 - 01:47:26 [6]:     .. requirement 4 "root" satisfied? true mandatory? false 
2024-03-19 - 01:47:26 [6]:     .. requirement 5 "screen" satisfied? true mandatory? false 
2024-03-19 - 01:47:27 [6]: static LocaleConfiguration LocaleConfiguration::fromLanguageAndLocation(const QString&, const QStringList&, const QString&)
    Mapping "en" in "US" to locale. 
2024-03-19 - 01:47:27 [6]:     .. Got best match for "en" as "en_ZW.UTF-8" 
2024-03-19 - 01:47:27 [6]:     .. Got best match for "en_US" as "en_US.UTF-8" 
2024-03-19 - 01:47:27 [6]: static LocaleConfiguration LocaleConfiguration::fromLanguageAndLocation(const QString&, const QStringList&, const QString&)
    Mapping "en" in "US" to locale. 
2024-03-19 - 01:47:27 [6]:     .. Got best match for "en" as "en_ZW.UTF-8" 
2024-03-19 - 01:47:27 [6]:     .. Got best match for "en_US" as "en_US.UTF-8" 
2024-03-19 - 01:47:27 [6]: static LocaleConfiguration LocaleConfiguration::fromLanguageAndLocation(const QString&, const QStringList&, const QString&)
    Mapping "en" in "US" to locale. 
2024-03-19 - 01:47:28 [6]:     .. Got best match for "en" as "en_ZW.UTF-8" 
2024-03-19 - 01:47:28 [6]:     .. Got best match for "en_US" as "en_US.UTF-8" 
2024-03-19 - 01:47:29 [6]: void Config::guessLocaleKeyboardLayout()
    Got locale language "en_US.UTF-8" 
2024-03-19 - 01:47:29 [6]:     .. looking for locale part "US" 
2024-03-19 - 01:47:29 [6]:     .. matched "us" 
2024-03-19 - 01:47:29 [6]: void guessLayout(const QStringList&, KeyboardLayoutModel*, KeyboardVariantsModel*)
    Next level: "en" 
2024-03-19 - 01:47:40 [6]: bool additions(Calamares::GlobalStorage*, const QString&, const QVariantList&, const QVariantList&)
    Existing package operations length 0 
2024-03-19 - 01:47:40 [6]:     .. 48 critical packages. 
2024-03-19 - 01:48:15 [6]: QML Component (default slideshow) activated
2024-03-19 - 01:48:15 [6]: void Calamares::JobThread::finalize()
    There are 20 jobs, total weight 15 
2024-03-19 - 01:48:15 [6]:     .. Job 1 "initialize pacman ... copy pacman mirrorlist and keyring to target ..." +wt 1 tot.wt 1 
2024-03-19 - 01:48:15 [6]:     .. Job 2 "Generate machine-id." +wt 1 tot.wt 2 
2024-03-19 - 01:48:15 [6]:     .. Job 3 "Set timezone to America/Chicago" +wt 1 tot.wt 3 
2024-03-19 - 01:48:15 [6]:     .. Job 4 "Set keyboard model to pc105, layout to us-" +wt 1 tot.wt 4 
2024-03-19 - 01:48:15 [6]:     .. Job 5 "localecfg" +wt 1 tot.wt 5 
2024-03-19 - 01:48:15 [6]:     .. Job 6 " " +wt 1 tot.wt 6 
2024-03-19 - 01:48:15 [6]:     .. Job 7 "packages" +wt 1 tot.wt 7 
2024-03-19 - 01:48:15 [6]:     .. Job 8 "Shell Processes Job" +wt 1 tot.wt 8 
2024-03-19 - 01:48:15 [6]:     .. Job 9 "Configure <pre>sudo</pre> users." +wt 0.166667 tot.wt 8.16667 
2024-03-19 - 01:48:15 [6]:     .. Job 10 "Preparing groups." +wt 0.166667 tot.wt 8.33333 
2024-03-19 - 01:48:15 [6]:     .. Job 11 "Create user rinwolf" +wt 0.166667 tot.wt 8.5 
2024-03-19 - 01:48:15 [6]:     .. Job 12 "Set password for user rinwolf" +wt 0.166667 tot.wt 8.66667 
2024-03-19 - 01:48:15 [6]:     .. Job 13 "Set password for user root" +wt 0.166667 tot.wt 8.83333 
2024-03-19 - 01:48:15 [6]:     .. Job 14 "Set hostname endeavourpi" +wt 0.166667 tot.wt 9 
2024-03-19 - 01:48:15 [6]:     .. Job 15 "networkcfg" +wt 1 tot.wt 10 
2024-03-19 - 01:48:15 [6]:     .. Job 16 "displaymanager" +wt 1 tot.wt 11 
2024-03-19 - 01:48:15 [6]:     .. Job 17 "hwclock" +wt 1 tot.wt 12 
2024-03-19 - 01:48:15 [6]:     .. Job 18 "Shell Processes Job" +wt 1 tot.wt 13 
2024-03-19 - 01:48:15 [6]:     .. Job 19 "services-systemd" +wt 1 tot.wt 14 
2024-03-19 - 01:48:15 [6]:     .. Job 20 "Saving files for later ..." +wt 1 tot.wt 15 
2024-03-19 - 01:48:15 [6]: virtual void Calamares::JobThread::run()
    Starting job "initialize pacman ... copy pacman mirrorlist and keyring to target ..." ( 1 / 20 ) 
2024-03-19 - 01:48:15 [6]:     .. Running ("/bin/sh", "-c", "chmod +x /etc/calamares/scripts/create-pacman-keyring") 
2024-03-19 - 01:48:15 [6]:     .. Running ("/bin/sh", "-c", "bash /etc/calamares/scripts/create-pacman-keyring") 
2024-03-19 - 01:48:26 [6]: Process is running in the background...
2024-03-19 - 01:49:26 [6]: Process is running in the background...
2024-03-19 - 01:49:36 [6]: QString ficheLogUpload(const QByteArray&, const QUrl&, QObject*)
    Connected to paste server "termbin.com" 
2024-03-19 - 01:49:36 [6]:     .. Paste data written to paste server 

2024-03-19 - 01:49:43 [6]:     .. Reading response from paste server 
2024-03-19 - 01:49:43 [6]:     .. Paste server results: QUrl("https://termbin.com/p53a") 

If I can I’ll get a journalctl log too, system’s already locking up a little

@pixartist @rinwolf1312

logs?

:pray: i no wish be rude Above messages no real help .

just for test + interest … it look like you will need wait till @Pudge has free time to update ( he have a life out side Endeavouros like all the EOS do)… so pls be patient , it be fixed when it fixed

can have fun in tty if want


2 Likes

@Shjim that’s not rude at all. I’ll have to re-image the SD again, and figure out when/how to do that.

The biggest issue is getting to a point where I could get logs, considering how locked up my system was after running the Calamares installer. Before I re-image, I’ll see if I can access them while booted from another drive.

EDIT: I apologize if my first message came off impatient or urgent; it was intended to provide helpful information rather than demand a solution.

Sorry for yet another edit, I just noticed that your screenshots are showing an image way more up-to-date than what I booted. What method did you use to install that?

Posting one more reply: I tried the method using a boot USB to write the image, and that one worked :smiley: sending this from a Pi 5 running i3wm.

I’m having the same problem. When I start the install in my RPI5 I get “initialize pacman … copy pacman mirrorlist and keyring to target" for about seven minutes and then it blows off with an error message. At that point the installation is bricked.

During this time the log repeats “process is running in the background” once every minute until the installation fails.

I tried installing from a USB but sadly I get the same result.

I’m still trying…

With the announcement that the ARM edition’s state, I’m hoping this will help those interested in tinkering.

I got my system working by not selecting KDE (iirc I opted for no desktop before installing the sway community edition). I’ve tried the install a few more times, and it seems that Calamares is locking up because of the live system packages.

I tried it on another SD card, and was able to get Plasma up and running by adding it through EOS-Packagelist after the install was complete.

Additionally, make sure to give it time to finish the install process. Unlike Ubuntu, Debian, etc. Calamares doesn’t give good indication of what it’s doing.

Hope that helps :pray: when finals are done I’ll try poking around with the install script.

1 Like