[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626450: lost /lib64 -> /lib symlink on amd64; upgrade fails



On Thu, May 12, 2011 at 12:58:13AM -0500, Brian Paterni wrote:
> > I see lib64 is gone from / and /usr in /var/lib/dpkg/info/libc6.list
> > ... once I added the /lib64 -> /lib symlink back, things more or less
> > worked again.
> >
> >
>  I'm wondering if there was anything special you needed to do for this? I
> know after upgrading my system, that any commands other than bash's built-in
> commands are refusing to execute, giving me "no such file or directory
> errors".

In my case, I didn't happen to have a root shell around, so I couldn't
fix my system while running.  I ran /lib/ld-linux-x86-64.so.2 /bin/sync
a few times, turned off the power, and booted with the kernel argument
"break=init" to get a shell in the initramfs.  From there, I remounted
/root read-write, and created the /lib64 -> lib symlink.  No rescue disk
needed.

Hope that helps,
Josh Triplett



Reply to: