You are not logged in.

#1 2012-10-29 15:37:54

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Yet Another glibc upgrade problem

Yes, I know this section is related to "installation" but I couldn't find a better-suited section, so please forgive me. At any rate, I believe the situation is similar to installing from an older ISO without using netinstall, so this might be useful to someone else.

Before I start, yes, I've read DeveloperWiki:usrlib, and a whole host of forum posts. I've also read Allan's blog post. Finally, I've tried a few things on the VPS I'm trying to upgrade (thank heavens for backups), and so far consistently ended up with either totally unusable pacman with an error message that differs from other cases of botched pacman, or generally not being able to execute any commands at all.

So, last attempt is based on Allan's instructions and I made it through following steps:

1. pacman -Sy (success)
2. rm -rf /var/run /var/lock && pacman -Sf filesystem (success)
3. reboot (success)
4. pacman -S tzdata (success)
5. pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz (fail)

The last command fails with these messages:

(1/1) checking for file conflicts
error: failed to commit transaction (conflicting files)
glibc: /lib/libBrokenLocale.so.1 exists in filesystem
glibc: /lib/libanl.so.1 exists in filesystem
glibc: /lib/libc.so.6 exists in filesystem
glibc: /lib/libcidn.so.1 exists in filesystem
glibc: /lib/libcrypt.so.1 exists in filesystem
glibc: /lib/libdl.so.2 exists in filesystem
glibc: /lib/libm.so.6 exists in filesystem
glibc: /lib/libnsl.so.1 exists in filesystem
glibc: /lib/libnss_compat.so.2 exists in filesystem
glibc: /lib/libnss_db.so.2 exists in filesystem
glibc: /lib/libnss_dns.so.2 exists in filesystem
glibc: /lib/libnss_files.so.2 exists in filesystem
glibc: /lib/libnss_hesiod.so.2 exists in filesystem
glibc: /lib/libnss_nis.so.2 exists in filesystem
glibc: /lib/libnss_nisplus.so.2 exists in filesystem
glibc: /lib/libpthread.so.0 exists in filesystem
glibc: /lib/libresolv.so.2 exists in filesystem
glibc: /lib/librt.so.1 exists in filesystem
glibc: /lib/libthread_db.so.1 exists in filesystem
glibc: /lib/libutil.so.1 exists in filesystem
Errors occurred, no packages were upgraded.

I've read I'm supposed to run

grep '^lib/' /var/lib/pacman/local/*/files

to find out what packages own these files, but the command run as is gives me blank response. What exactly am I supposed to do next to make Allan's glibc package install?

EDIT:

I get following:

find /lib -exec pacman -Qo -- {} +
/lib is owned by glibc 2.16.0-4

so, am I correct in assuming that I don't need to install Allan's version of glibc?

Last edited by foxbunny (2012-10-29 15:41:06)

Offline

Board footer

Powered by FluxBB