You are not logged in.

#1 2011-06-25 17:34:33

janoliver
Member
Registered: 2011-06-01
Posts: 54

[SOLVED] I broke something: No binary is found anymore...

Hello.

I did a pacman -Syu system update a couple of minutes ago. Then, something unusual occurred:

...
[2011-06-25 19:09] upgraded dbus-python (0.83.1-2 -> 0.84.0-1)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded glibc (2.14-3 -> 2.14-4)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded fakeroot (1.15.1-1 -> 1.16-1)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded grep (2.8-1 -> 2.9-1)
[2011-06-25 19:09] upgraded less (443-2 -> 444-1)
[2011-06-25 19:09] upgraded libjpeg-turbo (1.1.1-1 -> 1.1.1-2)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded libreoffice (3.4.1rc2-1 -> 3.4.1rc3-1)
[2011-06-25 19:09] upgraded module-init-tools (3.13-1 -> 3.16-1)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded mpd (0.16.3-1 -> 0.16.3-2)
[2011-06-25 19:09] call to execv failed (Too many levels of symbolic links)
[2011-06-25 19:09] upgraded mpfr (3.0.1-1 -> 3.0.1.p4-1)
[2011-06-25 19:09] upgraded tcl (8.5.9-1 -> 8.5.10-1)
[2011-06-25 19:09] upgraded tk (8.5.9-1 -> 8.5.10-1)

Now, after that, if I want to run ANYTHING on the command line, I am getting a "No such file or directory". Also, the system doesn't boot anymore and it gives me a kernel panic.

messages.log:

Jun 25 19:09:07 localhost dbus-daemon: [system] Reloaded configuration
Jun 25 19:09:07 localhost dbus-daemon: [system] Unable to reload configuration: Failed to open "/etc/dbus-1/system.conf": No such file or directory
Jun 25 19:09:08 localhost dbus-daemon: [system] Reloaded configuration
Jun 25 19:09:08 localhost dbus-daemon: [system] Reloaded configuration
Jun 25 19:14:24 localhost console-kit-daemon[1307]: WARNING: Unable to spawn /usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck: Failed to execute child process "/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck" (No such file or directory)
Jun 25 19:14:24 localhost console-kit-daemon[1307]: WARNING: Unable to spawn /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck: Failed to execute child process "/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck" (No such file or directory)
Jun 25 19:14:24 localhost console-kit-daemon[1307]: WARNING: Unable to spawn /usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck: Failed to execute child process "/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck" (No such file or directory)
Jun 25 19:14:24 localhost console-kit-daemon[1307]: WARNING: Unable to spawn /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck: Failed to execute child process "/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck" (No such file or directory)
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: cannot execute "/bin/sh"
Jun 25 19:14:25 localhost init: Id "x" respawning too fast: disabled for 5 minutes
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: cannot execute "/sbin/agetty"
Jun 25 19:14:58 localhost init: Id "c2" respawning too fast: disabled for 5 minutes
Jun 25 19:15:00 localhost acpid: client 1198[0:0] has disconnected

Right now I am on a Ubuntu live cd and tried to chroot into Arch to fix something.
But already that makes problems:

ubuntu@ubuntu:/mnt/arch$ sudo chroot . /bin/bash
chroot: failed to run command `/bin/bash': No such file or directory

What I recently did, was that I renamed /lib64 and replaced it by a symlink to /lib. That was suggested somewhere in the forum here and fixed some libc error message. I reverted that now, since I made a backup of /lib64.

It seems to be some dbus problem, doesn't it? What can I do?

Thanks in advance,
Jan Oliver

Last edited by janoliver (2011-06-26 09:35:07)

Offline

#2 2011-06-25 18:52:19

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] I broke something: No binary is found anymore...

This is most probably not a dbus issue. You can run programs without dbus (only "desktop" software depends on dbus, not command line programs like bash). It seems you are missing some basic libraries (glibc?). The best you can do is to take an archlinux live boot CD and mount it. run ldd on some basic binaries (ldd <path//bash ). Run testestdb (with the -b option pointing to the database of the broken system). Try to reinstall glibc (use the --root option of pacman).

You say that you have restored /lib64 from a backup. But is it a backup before the upgrade? If it is, the libraries in /lib64 have most probably be updated and you have restored an old version. You have to reinstall all packages that own files in /lib64 (preferably after having removed /lib64 to be sure there are no old files lying around) from a live CD (using pacman with the --root option on the live CD).

Last edited by olive (2011-06-25 18:54:59)

Offline

#3 2011-06-26 02:40:18

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] I broke something: No binary is found anymore...

I second that. This is exactly what happened to me when I accidentally removed glibc.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2011-06-26 09:34:35

janoliver
Member
Registered: 2011-06-01
Posts: 54

Re: [SOLVED] I broke something: No binary is found anymore...

Hello, Thank you for helping me.

"pacman -U glibc-....pkg.tar.gz" -r /mnt/arch" using some glibc package in the cache did the trick.

Offline

#5 2011-09-12 06:54:17

SSTC
Member
From: Denmark
Registered: 2009-06-23
Posts: 15

Re: [SOLVED] I broke something: No binary is found anymore...

I have the same error after update yeasterday.

boot screen: http://dl.dropbox.com/u/197383/289145_2 … 0629_o.jpg
pacman.log: http://dl.dropbox.com/u/197383/pacman.log

I have tried the command with glibc. but it did not fix it..

Offline

#6 2011-09-12 17:55:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] I broke something: No binary is found anymore...

Hello SSTC, no need to cross post. Your thread is found here: https://bbs.archlinux.org/viewtopic.php?id=126375
Closing as this thread is marked solved.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB