Re: [arch-general] [arch-dev-public] heads up: /lib removal
On Sat, Jul 07, 2012 at 13:25:29 -0400, Dave Reisner wrote:
Hey all,
Allan pushed glib 2.16-2 into [testing] which removes /lib as a directory, replacing it with a symlink. A bit of advice...
- In the simplest case, the upgrade can be done as simply as:
pacman -Syu --ignore glibc && pacman -S glibc
- Since nothing is ever simple, if the above still fails on installation of glibc (with a somewhat cryptic "/lib exists" error), you'll need to figure out what's still in /lib that doesn't belong to glibc. Generally this will end up being modules/. pacman -Qo /lib/* will pinpoint what needs fixing/removing. Deal with anything that isn't owned explicitly by glibc and complete the installation.
It shouldn't need to be said, but I'll mention it anyways:
Do. Not. Use. (the) --force. Obi-wan approves of this.
Also, install busybox so you have statically linked tools to fix your system if it breaks (specifically "rmdir" and "ln"). Geert -- geert.hendrickx.be :: geert@hendrickx.be :: PGP: 0xC4BB9E9F This e-mail was composed using 100% recycled spam messages!
On 07/07/2012 07:28 PM, Geert Hendrickx wrote:
On Sat, Jul 07, 2012 at 13:25:29 -0400, Dave Reisner wrote:
Hey all,
Allan pushed glib 2.16-2 into [testing] which removes /lib as a directory, replacing it with a symlink. A bit of advice...
- In the simplest case, the upgrade can be done as simply as:
pacman -Syu --ignore glibc && pacman -S glibc
- Since nothing is ever simple, if the above still fails on installation of glibc (with a somewhat cryptic "/lib exists" error), you'll need to figure out what's still in /lib that doesn't belong to glibc. Generally this will end up being modules/. pacman -Qo /lib/* will pinpoint what needs fixing/removing. Deal with anything that isn't owned explicitly by glibc and complete the installation.
It shouldn't need to be said, but I'll mention it anyways:
Do. Not. Use. (the) --force. Obi-wan approves of this.
Also, install busybox so you have statically linked tools to fix your system if it breaks (specifically "rmdir" and "ln").
Geert
Just wanted to give a warm thank for all hints, as my upgrade to glibc 2.16-2 went very smooth by following strictly the descibes steps. Great help from the community as always. Regards.
09.07.2012 01:15, Arno Gaboury пишет:
On 07/07/2012 07:28 PM, Geert Hendrickx wrote:
On Sat, Jul 07, 2012 at 13:25:29 -0400, Dave Reisner wrote:
Hey all,
Allan pushed glib 2.16-2 into [testing] which removes /lib as a directory, replacing it with a symlink. A bit of advice...
- In the simplest case, the upgrade can be done as simply as:
pacman -Syu --ignore glibc && pacman -S glibc
- Since nothing is ever simple, if the above still fails on installation of glibc (with a somewhat cryptic "/lib exists" error), you'll need to figure out what's still in /lib that doesn't belong to glibc. Generally this will end up being modules/. pacman -Qo /lib/* will pinpoint what needs fixing/removing. Deal with anything that isn't owned explicitly by glibc and complete the installation.
It shouldn't need to be said, but I'll mention it anyways:
Do. Not. Use. (the) --force. Obi-wan approves of this.
Also, install busybox so you have statically linked tools to fix your system if it breaks (specifically "rmdir" and "ln").
Geert
Just wanted to give a warm thank for all hints, as my upgrade to glibc 2.16-2 went very smooth by following strictly the descibes steps. Great help from the community as always.
Regards.
I can confirm, this instructions work for me. Only thing i can add - i also need to move /lib/modules away (backup) before # pacman -S glibc Best regards, Dmitry Korzhevin Tel: +38 (039) 295-0000 Office Phone: +38 (044) 383-14-12 E-mail: dkorzhevin@lsupport.net Jabber ID: dkorzhevin@lsupport.net Skype: dkorzhevin URL: http://lsupport.net Linux Support LLC
participants (3)
-
Arno Gaboury
-
Dmitry Korzhevin
-
Geert Hendrickx