Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-21-2020, 05:38 PM
|
#1
|
LQ Newbie
Registered: Mar 2008
Location: Athens, Hellas
Distribution: Slacware, Xubuntu, XP
Posts: 5
Rep:
|
/bin/bash unreachable after upgrade-all 14.2
After downloading iso i did new installation of 14.2 from usb .
Then i did slackpkg update and upgrade-all .
One of the packages to be upgraded must have some error like :
line 499 and 501 or 511 error and some library missing .
There is not enough time to see what package caused the error as upgrade is running to fast .
As a result /bin/bash is declared as missing and system becomes unreachable and not booting .
But /bin/bash exists with details 1164640 bytes Aug 30 21:29 .
After a second installation of 14.2 i tried for a third time update and upgrade-all so i got the same error .
So for another time i cannot boot and i am sending this from usb booted Porteus .
By searching /var/log/packages/ it seems that the last package to be upgraded was glib-solibs-2.23-x86_64-4_slack14.2 .
I don't know if is that that causes the error .
I tried to recreate error from Porteus bash to /mnt/sdb2 (14.2 root):
find . -type f -name slackpkg > ./usr/sbin/slackpkg (so it exists)
chroot /mnt/sdb2 /usr/sbin/slackpkg upgrade-all >
chroot: failed to run command ‘/usr/sbin/slackpkg’: No such file or directory
How can i reverse the error without new installation as chroot not working ?
Am i the only with this error ?
thanks in advance for any help
|
|
|
02-22-2020, 12:38 PM
|
#2
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,301
|
I'm pretty sure that the missing library is glibc-solibs, not glib-solibs. glib, like most Slackware libraries comes in a complete package, i.e. runtime library plus headers. The only libraries as far as I know that come in solibs (runtime only) packages are glibc and openssl.
Unfortunately glibc is the package that everything else uses, including bash. The only way I can think of to fix this would be to boot from a rescue disc, download glibc-solibs from a mirror and try to install it by running upgradepkg from the Slackware root partition. This is a script, not a program, so it should run if you use your rescue image's bash rather than trying to chroot. I'm not sure though how you would ensure that it gets installed to your hard drive's root partition without chrooting. Hopefully someone else can tell you that.
|
|
|
02-22-2020, 04:23 PM
|
#3
|
LQ Newbie
Registered: Mar 2008
Location: Athens, Hellas
Distribution: Slacware, Xubuntu, XP
Posts: 5
Original Poster
Rep:
|
Thanks for your help .
I will try to do full metal restore .
I am afraid that this glib-solibs package has some error because this happend twice and that can happen to someone else .
Quote:
Originally Posted by hazel
I'm pretty sure that the missing library is glibc-solibs, not glib-solibs. glib, like most Slackware libraries comes in a complete package, i.e. runtime library plus headers. The only libraries as far as I know that come in solibs (runtime only) packages are glibc and openssl.
Unfortunately glibc is the package that everything else uses, including bash. The only way I can think of to fix this would be to boot from a rescue disc, download glibc-solibs from a mirror and try to install it by running upgradepkg from the Slackware root partition. This is a script, not a program, so it should run if you use your rescue image's bash rather than trying to chroot. I'm not sure though how you would ensure that it gets installed to your hard drive's root partition without chrooting. Hopefully someone else can tell you that.
|
|
|
|
02-22-2020, 11:03 PM
|
#4
|
Member
Registered: Jun 2014
Distribution: Slackware
Posts: 513
Rep: 
|
@costasdk, your typing habit still seems to be "glib-solibs", not "glibc-solibs".
It's "glibc" you're looking for. Yes, typing that little "c" can make a big difference.
|
|
|
03-04-2020, 03:46 PM
|
#6
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,440
|
/bin/bash unreachable after upgrade-all 14.2
Did you telinit 1 before upgrade?
I'd have a look to UPGRADE.TXT before anything. Even if it's for upgrading from another version, it shows the safe way. I used to do that whenever a sensible package had to be upgraded.
|
|
|
All times are GMT -5. The time now is 06:15 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.
|
Latest Threads
LQ News
|
|