LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-01-2017, 12:01 AM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,712

Rep: Reputation: Disabled
One of my systems doesn't work and can't boot again, after update of glibc-solibs.


This happened just after an upgrade of glibc-* on Slint64-14.2 (but I don't know if/how this can be related to that):
Code:
ls -ltr /old/var/log/packages
<snip>
-rw-r--r-- 1 root root   23255 juil.  1 05:36 glibc-2.23-x86_64-2_slack14.2
-rw-r--r-- 1 root root  263554 juil.  1 05:36 glibc-i18n-2.23-x86_64-2_slack14.2
-rw-r--r-- 1 root root    1102 juil.  1 05:36 glibc-profile-2.23-x86_64-2_slack14.2
-rw-r--r-- 1 root root    8586 juil.  1 05:37 glibc-solibs-2.23-x86_64-2_slack14.2
The system doesn't find files like /bin/bash anymore.

This is also what it says when I try to chroot from another one, even though the binaries /bin/bash seem identical according to stat and after having copied /bin/bash from a working (same arch and version) to the broken system. Perms and ownership in /bin seem correct.

I have no idea what happened, any clue or thing to do to investigate appreciated.

EDIT. The broken system gets a kernel panic just after "fast init done". It says "kernel panic: not syncing: no working init found. Try passing init= option to kernel. See linux/Documentation/admin guide/init.rst for guidance".

This message occurs when booting a 4.10 kernel as well as sith 4.4.38 (only the link to the doc differ).

EDIT 2. Now solved, re-installing the new glibc-solibs with "installpkg --root /rootofbrokensystem glibc-solibs-2.23-x86_64-2_slack14.2". It seems that the "doinst.sh" didn't work as expected.

Now I have to investigate what happened, trying the upgrade another system. Maybe there is an issue using spkg instead of installpkg in this specific case? I will report my findings.

EDIT 3: I confirm that spkg didn't work as expected. It said
Code:
WARNING: Post-installation script failed. (32512)
I will reboot to repair from another system as now:
Code:
root[/home/didier]# installpkg -i glibc-solibs-2.23-x86_64-2_slack14.2.txz 
bash: /sbin/installpkg : /bin/sh : mauvais interpréteur: Aucun fichier ou dossier de ce type
EDIT 4: posted a warning and a fix in the sticky Slint thread and in the Slint forum @ Salix.

Last edited by Didier Spaier; 07-01-2017 at 08:19 PM. Reason: EDIT4 added.
 
Old 07-01-2017, 06:24 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,639

Rep: Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013Reputation: 5013
Glad you found the reason why. Also, getting your post off the zero-reply list
 
Old 07-06-2017, 04:01 PM   #3
mralk3
Senior Member
 
Registered: May 2015
Location: Utah, USA
Distribution: Slackware 14.2 || Slackware-current && CentOS
Posts: 1,352

Rep: Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726
In case you did not see the other thread, here are instructions on how to fix your system if it became unbootable:

https://www.linuxquestions.org/quest...ml#post5731583
 
  


Reply

Tags
ated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to change from a dual boot system to a single boot system learstar Linux - Newbie 14 07-31-2010 08:40 AM
Installing LILO from host system to hdb to boot as hda in target system A7G1-6 Linux - Hardware 2 07-25-2009 11:37 AM
System donot boot if 2nd hdd attached and massege starting system logger GOBINDO0948 Linux - Newbie 3 07-05-2009 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration