Yes, I’m another one that broke his system after the damned glibc upgrade…
Well, I wanted to reinstall my job’s laptop anyway, so I take the opportunity, and reinstalled archbang (arch linux + X preinstalled).
Just installed, I updated the repos with pacman -Syy as usual and then tried to update as usual, too, with pacman -Syu.
As you may guess, it failed. Then I tried to do as said on Arch Linux homepage:
pacman -Syu --ignore glibc
But it stills fails, everything I tried ended with the same errors:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
glibc: /usr/bin/tzselect exists in filesystem
glibc: /usr/sbin/zdump exists in filesystem
glibc: /usr/sbin/zic exists in filesystem
Errors occurred, no packages were upgraded.
I couldn’t install latest pacman without install glibc, and I couldn’t install glibc because a lot of packages needed glibc 2.15… WTF?!?
Luckily, I found a way to install manually glibc 2.16 and then proceed to upgrade the system as usual. To accomplish this, simply follow the steps I put below:
# rm /etc/profile.d/locale.sh
# rm -rf /var/run /var/lock
# pacman -Syf filesystem
It will prompt to upgrade pacman, we’ll say “no”. After upgrading filesystem, we will upgrade tzdata (we won’t upgrade pacman either at this point)
# pacman -Sy tzdata
Now, the cornerstone of this post. We will download and install a custom version of the glibc 2.16
Now, WE WILL DO as said on Archlinux homepage, but AVOIDING to upgrade pacman at the moment.
# pacman -Syu --ignore glibc
After this, we’ll regenerate pacman keys with:
# pacman-key --init; pacman-key --populate archlinux
Finally, we will do a full system upgrade as usual with:
# pacman -Syu