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?
]]>