SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anyone else seen this error?
Attempting to install some alienbob packages using slackpkg returned an invalid slackware repository error.
"Fatal: Slackware repository does not contains the official gpg-key!!
gpg: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory"
Slackware Current (15 beta)
slackpkg - version 15.0.2
Kernel 5.10.33 #1 SMP Wed Apr 28 12:55:31 CDT 2021 x86_64 Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz GenuineIntel GNU/Linux
libudev.so.0 was part of the old udev package. Nov 20 2015 Slackware moved from udev to eudev. Now it should be libudev.so.1. Maybe you have some old libraries which link to the old libudev.so.0 ?
Install-new, upgrade-all, clean-system, and remove old trash under /usr/local ?
Last edited by Petri Kaukasoina; 04-30-2021 at 09:44 AM.
FATAL! No Slackware GPG-KEY imported.
If you are upgrading from an older release of slackpkg+, all keys must to be reimported.
Please run
# slackpkg update gpg
**************************************************************
I started the updates with
slackpkg install-new (nothing new found)
slackpkg upgrade multilib (no upgrades available)
slackpkg upgrade alienbob (no upgrades of installed pkgs avail.)
Then I looked for new alienbob packages...
The error appeared in the middle of a 'slackpkg install alienbob'
Maybe the alienbob upgrade replaced a library?
2021-04-30 10:37:49 URL:https://mirrors.slackware.com/slackw...urrent/GPG-KEY [1572/1572] -> "/tmp/slackpkg.draJrQ/gpgkey" [1]
gpg: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
!!! F A T A L !!!
Slackware repository does NOT contain the Official GPG-KEY
You SHOULD disable GPG Strict check 'STRICTGPG=off'
in /etc/slackpkg/slackpkgplus.conf
**************************************************************
The problem is your gpg does not work. Try 'gpg'. Try 'ldd /usr/bin/gpg'. (ldd should not show anything outside /lib64 and /usr/lib64. For example under /usr/local...)
Last edited by Petri Kaukasoina; 04-30-2021 at 09:58 AM.
**************************************************************
sudo locate libudev
Password:
/boot/initrd-tree/lib/libudev.so.1
/boot/initrd-tree/lib/libudev.so.1.6.3
/boot/initrd-tree/lib64/libudev.so.1
/boot/initrd-tree/lib64/libudev.so.1.6.3
/lib/libudev.so.1
/lib/libudev.so.1.6.3
/lib64/libudev.so.1
/lib64/libudev.so.1.6.3
/usr/include/libudev.h
/usr/lib/libudev.so
/usr/lib/pkgconfig/libudev.pc
/usr/lib64/libudev.so
**************************************************************
I could try creating a soft link to the /lib* versions...
**************************************************************
sudo /usr/bin/gpg
Password:
/usr/bin/gpg: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Testing gpg and the subsequent update:
**************************************************************
sudo /usr/bin/gpg (started successfully)
gpg: Go ahead and type your message ...
^C
gpg: signal 2 caught ... exiting
sudo /usr/sbin/slackpkg update gpg (updated successfully)
**************************************************************
Before I continue, are there any concerns about doing this workaround?
You have forgotten to give slackpkg clean-system after beginning of February. You should get rid of aaa_elflibs and after that reinstall aaa_libraries. (And the same for the compat32 ones).
It's this:
Code:
+--------------------------+
Mon Feb 8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz: Removed.
Renamed to aaa_libraries.
...
a/aaa_libraries-15.0-x86_64-1.txz: Added.
This package has been renamed from aaa_elflibs to insure that it will come
after aaa_glibc-solibs when upgraded in alphabetical order.
Last edited by Petri Kaukasoina; 04-30-2021 at 10:29 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.