You are not logged in.

#1 2012-11-02 04:06:24

jamtat
Member
Registered: 2008-03-13
Posts: 229

pacman broken owing to glibc mishap

I screwed some things up on my system owing to the recent /lib changes. To wit, I followed the instructions that said to pacman -Syu --ignore glibc pacman -Su (see https://www.archlinux.org/news/the-lib- … -symlink/) whereas I should have followed the instructions that stipulate downloading the new glibc and installing it first (using pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … kg.tar.xz). So now I'm stuck with an unusable pacman because it expects the new glibc to be present and it's not.

I've come up with a plan for fixing this and wanted to ask whether my plan seems a good way to do this. It seems to me I can boot the system using an Arch install image on a USB stick, mount the affected HD at /mnt/brokenRoot, and from there run the command pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz --root /mnt/brokenRoot. I've looked at the pacman man page and, if I'm understanding correctly, the --root option can be used in conjunction with the -U operation.

Can anyone confirm for me whether this plan to fix the system by adding the new glibc should work? Or perhaps someone can offer a better alternative?

Thanks,
James

Offline

#2 2012-11-02 04:14:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,674
Website

Re: pacman broken owing to glibc mishap

That will work.

Offline

Board footer

Powered by FluxBB