After last update via gslapt, everything is stuck

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
lighans
Posts: 23
Joined: 3. Mar 2010, 09:18

After last update via gslapt, everything is stuck

Post by lighans »

Hi,

2 laptops and two times the same error. I'm no donkey. :(

After updating the xfce version via gslapt (including some internal things and firefox 10.2) of salix 13.37 (upgrade) only thunar works, but all other programs can't be found.

After hard reboot, it gives a lot of errors. Quite intimidating. And it freezes.

How to solve this, or does anybody else has this problem?

(laptops are acer aspire 5050 with amd turion 64 and acer aspire one with intel atom N270)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: After last update via gslapt, everything is stuck

Post by Shador »

Very unfortunate that you rebooted a simple /sbin/ldconfig would have fixed it otherwise.

Do you still get to a command prompt by passing init=/bin/sh in the lilo boot menu? If so enter /sbin/ldconfig at that command prompt.

If that doesn't work you need to boot some other linux system. Salix Live or the Installer CDs should be fine. Then run this:

Code: Select all

mount /dev/sdXY /mnt
/sbin/ldconfig -r /mnt
Replace /dev/sdXY with the device name for your root partition e.g. /dev/sda1. Afterwards your system should boot normally again and you can install the remaining updates.
Image
lighans
Posts: 23
Joined: 3. Mar 2010, 09:18

Re: After last update via gslapt, everything is stuck

Post by lighans »

Shador wrote:Very unfortunate that you rebooted a simple /sbin/ldconfig would have fixed it otherwise.

Do you still get to a command prompt by passing init=/bin/sh in the lilo boot menu? If so enter /sbin/ldconfig at that command prompt.

If that doesn't work you need to boot some other linux system. Salix Live or the Installer CDs should be fine. Then run this:

Code: Select all

mount /dev/sdXY /mnt
/sbin/ldconfig -r /mnt
Replace /dev/sdXY with the device name for your root partition e.g. /dev/sda1. Afterwards your system should boot normally again and you can install the remaining updates.
I'm sorry for rebooting. Things like this happen in a rush. At least in my case.

Ok. The acer 5050 is doing his doing again. Thanks very much. Salix install USB did the job. Thanks very much for your fast answer.

The netbook is a bit more stuburn.
adding int=/sbin/sh with lilo didn't work.

With install cd I get an error:
"Can't create temporary cache file etc/ld.so.conf: No such file or directory"
"Can't create temporary cache file /etc/ld.so.cache~: No such file or directory"

Is there any hope?
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: After last update via gslapt, everything is stuck

Post by Shador »

lighans wrote:I'm sorry for rebooting. Things like this happen in a rush. At least in my case.
No problem, I would have done the same, if I didn't understand that error message and couldn't link those to the failures I'm seeing.
lighans wrote:int=/sbin/sh
It's init not int, but you got that right I guess.
lighans wrote:With install cd I get an error:
"Can't create temporary cache file etc/ld.so.conf: No such file or directory"
"Can't create temporary cache file /etc/ld.so.cache~: No such file or directory"
No idea. Maybe you have your /etc on a separate partition?

But nevermind this hopefully works and is the easiest solution: Press Tab at the lilo splash screen and enter at the boot prompt

Code: Select all

Linux rw init=/sbin/ldconfig
This will give you a kernel panic because ldconfig terminates after it finishes, which is not allowed for the init program. But it's no problem in this case because we just want to run init in this case.

If this doesn't work, it's because ro is in the default kernel parameters of the lilo.conf and lilo doesn't allow you to change those at boot time. (I can't test because I don't use lilo and have not much time atm) Boot from the Salix Installer CD and enter this at the boot prompt of the installer cd:

Code: Select all

huge.s root=/dev/sdXY rw rdinit=/sbin/ldconfig
Replace /dev/sdXY with your root device again.
Image
Post Reply