Dear Forum!
I am excited about Solus and i would like to set up all my devices with this Linux Distribution.
So i installed Solus on a Laptop today.
After "sudo eopkg upgrade" i get an error that the package libmagic is not available with a python traceback.
I can not continue with the upgrade process and the system does not start any application anymore.
Is this problem related to the new sync? Or if not, does somebody have any idea how to install libmagic and upgrade solus to the newest sync from 4.5 without crashing?
Thank you in advance!
Best regards!
Solus 4.5 Upgrade Libmagic Error
Try sudo eopkg ur --force
then sudo eopkg up
. If it is still not working. Try sudo eopkg check
, see if there is any broken packages.
- Edited
dear alfisya!
i made like you said:
1) sudo eopkg ur --force
2) sudo eopkg up
the error occurs again:
Installing 66 / 461
baselayout-1.9.0-77-1-x86_64.eopkg [cached]
Installing baselayout, version 1.9.0, release 77
Upgrading to new distribution release
Extracting the files of baselayout
[✓] Syncing filesystems success
[✓] Updating clr-boot-manager success
[✓] Registering QoL migration on next boot success
[✓] Updating hwdb success
[✓] Updating system users success
[✓] Updating systemd tmpfiles success
[✓] Reloading systemd configuration success
[✓] Re-starting vendor-enabled .socket units success
[✓] Re-executing systemd success
[✓] Compiling glib-schemas success
[✓] Creating GIO modules cache success
[✓] Updating manpages database success
[✓] Updating SSL certificates success
[✓] Reloading udev rules success
[✓] Applying udev rules success
System error. Program terminated.
[Errno 2] there are no files or directories: 'sbin'
Please use 'eopkg help' for general help.
Use --debug to see a traceback.
after "sudo eopkg up" again:
sudo eopkg up
Traceback (most recent call last):
File "/usr/bin/eopkg", line 19, in <module>
import pisi
File "/usr/lib/python2.7/site-packages/pisi/init.py", line 51, in <module>
import pisi.api
File "/usr/lib/python2.7/site-packages/pisi/api.py", line 31, in <module>
import pisi.index
File "/usr/lib/python2.7/site-packages/pisi/index.py", line 32, in <module>
import pisi.operations.build
File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 44, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic/init.py", line 209, in <module>
libmagic = loader.load_lib()
File "/usr/lib/python2.7/site-packages/magic/loader.py", line 49, in load_lib
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation
after "sudo eopkg check" i get the same message.
any ideas?
thank you very much!
For those who could have this same problem. I installed baselayout before upgrading:
sudo eopkg install https://packages.getsol.us/shannon/b/baselayout/baselayout-1.9.0-77-1-x86_64.eopkg
Updates available, checking reverse dependencies of runtime dependencies for safety.
baselayout-1.9.0-77-1-x86_64.eopkg [cached]
Installation order: baselayout
baselayout-1.9.0-77-1-x86_64.eopkg [cached]
Installing baselayout, version 1.9.0, release 77
Upgrading to new distribution release
Extracting the files of baselayout
Upgraded baselayout
[✓] Syncing filesystems success
[✓] Updating dynamic library cache success
[✓] Updating clr-boot-manager success
[✓] Updating systemd tmpfiles success
after this package was installed everything went good with "sudo eopkg upgrade":
Installing 460 / 460
libksba-1.6.6-13-1-x86_64.eopkg [cached]
Installing libksba, version 1.6.6, release 13
Upgrading to new upstream version
Extracting the files of libksba
Upgraded libksba
[✓] Syncing filesystems success
[✓] Updating dynamic library cache success
[✓] Updating clr-boot-manager success
[✓] Registering QoL migration on next boot success
[✓] Running depmod on kernel 6.8.9-289.current success
[✓] Updating hwdb success
[✓] Updating graphical driver configuration success
[✓] Updating system users success
[✓] Updating systemd tmpfiles success
[✓] Reloading systemd configuration success
[✓] Re-starting vendor-enabled .socket units success
[✓] Re-executing systemd success
[✓] Compiling and Reloading AppArmor profiles success
[✓] Compiling glib-schemas success
[✓] Creating GIO modules cache success
[✓] Compiling gdk-pixbuf cache success
[✓] Rebuilding font cache success
[✓] Updating mimetype database success
[✓] Updating icon theme cache: hicolor success
[✓] Updating icon theme cache: Adwaita success
[✓] Updating icon theme cache: HighContrast success
[✓] Updating icon theme cache: Papirus-Adapta-Nokto success
[✓] Updating icon theme cache: Papirus-Adapta success
[✓] Updating icon theme cache: Papirus-Dark success
[✓] Updating icon theme cache: Papirus-Light success
[✓] Updating icon theme cache: Papirus success
[✓] Updating icon theme cache: breeze_cursors success
[✓] Updating icon theme cache: default success
[✓] Updating icon theme cache: solus-sc success
[✓] Updating desktop database success
[✓] Rebuilding dconf database success
[✓] Updating GTK2 input module cache success
[✓] Updating GTK3 input module cache success
[✓] Updating manpages database success
[✓] Updating SSL certificates success
[✓] Reloading udev rules success
[✓] Applying udev rules success
Best regards!
After my last update, i have a same problem.
I type:
sudo eopkg update
Terminal return:
Traceback (most recent call last):
File "/usr/bin/eopkg", line 19, in <module>
import pisi
File "/usr/lib/python2.7/site-packages/pisi/__init__.py", line 51, in <module>
import pisi.api
File "/usr/lib/python2.7/site-packages/pisi/api.py", line 31, in <module>
import pisi.index
File "/usr/lib/python2.7/site-packages/pisi/index.py", line 32, in <module>
import pisi.operations.build
File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 44, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic/__init__.py", line 209, in <module>
libmagic = loader.load_lib()
File "/usr/lib/python2.7/site-packages/magic/loader.py", line 49, in load_lib
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation
- Edited
I just tried to update my laptop, haven't done anything with it since the last update, I'm getting the exact same error.
zlenovo@zlenovo ~ $ sudo eopkg ur && sudo eopkg up -y
[sudo] password for zlenovo:
Traceback (most recent call last):
File "/usr/bin/eopkg", line 19, in <module>
import pisi
File "/usr/lib/python2.7/site-packages/pisi/init.py", line 51, in <module>
import pisi.api
File "/usr/lib/python2.7/site-packages/pisi/api.py", line 31, in <module>
import pisi.index
File "/usr/lib/python2.7/site-packages/pisi/index.py", line 32, in <module>
import pisi.operations.build
File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 44, in <module>
import magic
File "/usr/lib/python2.7/site-packages/magic/init.py", line 209, in <module>
libmagic = loader.load_lib()
File "/usr/lib/python2.7/site-packages/magic/loader.py", line 49, in load_lib
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation
Can't rollback, can't install, can't check/repair, apparently this issue has broken eopkg.
Please close this topic and use this https://discuss.getsol.us/d/10597-latest-update-has-broken-eopkg/6
"Installing Solus" is a incorrect label for this problem. The topic in the link is same and with correct label.
Tanks