LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-30-2017, 11:01 PM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

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 07:19 PM. Reason: EDIT4 added.
 
Old 07-01-2017, 05:24 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Glad you found the reason why. Also, getting your post off the zero-reply list
 
Old 07-06-2017, 03:01 PM   #3
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
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



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 07:40 AM
Installing LILO from host system to hdb to boot as hda in target system A7G1-6 Linux - Hardware 2 07-25-2009 10:37 AM
System donot boot if 2nd hdd attached and massege starting system logger GOBINDO0948 Linux - Newbie 3 07-05-2009 03:09 PM

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

All times are GMT -5. The time now is 12:30 PM.

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
Open Source Consulting | Domain Registration