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.
If it is the 64bit version, please provide the output of the following command:
Code:
ls -la /var/log/packages/*i?86*
If it is the 32bit version, please provide the output of the following command:
Code:
ls -la /var/log/packages/*x86_64*
The commands are used to find if you have any packages installed that are the wrong ARCH. It probably also wouldn't hurt to find what versions of aaa_elflibs and readline you have installed.
This seems to be 32 bit version of Slackware, but it is partially 14.2 (stable) and partially -current. That is, some packages are from 14.2 and some from -current.
If you were running -current, as you claimed in this thread, you have accidentally downgraded some packages to 14.2.
If you are running -current, then you downgraded your aaa_elflibs and readline packages (and probably others). For -current, they should be aaa_elflibs-14.2-i586-28 and readline-7.0-i586-1
EDIT: looks like some others beat me to it. Anyway, the still-relevant part:
Fix those packages by downloading them from a Slackware-current mirror and running upgradepkg on them. Then, once slackpkg is working again, first be sure to set your mirror to a -current mirror instead of 14.2. Then do `slackpkg update gpg` and `slackpkg upgrade-all` to make sure there are no remaining packages from 14.2.
Last edited by montagdude; 04-10-2017 at 01:16 PM.
thanks.
The bad news: I don't know how to fix those packages. I run into error messages about libreadline, whatever i try
Code:
ROOT# slackpkg upgrade readline
Checking local integrity... awk: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
DONE
awk: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Looking for readline in package list. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
ROOT# slackpkg reinstall readline
awk: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Looking for readline in package list. Please wait... DONE
No packages match the pattern for reinstall. Try:
/usr/sbin/slackpkg install|upgrade
ROOT# slackpkg install readline
awk: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Looking for readline in package list. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
ROOT#
Apparently you have not upgraded the aaa_elflibs package which contains "libreadline.so.7". Is it still blacklisted in your /etc/slackpkg/blacklist file? If so, remove the blacklist. This is slackware-current, the aaa_elflibs needs to be upgraded always.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.