Slight problem using pacman to upgrade glibc to 2.16.0

The newest version of glibc hit Arch’s core repository today.  The packagers have changed where the libraries are installed from /lib to /usr/lib.  Now /lib is a symlink to /usr/lib, but to make this change the old /lib has to be deleted.  This archwiki page walks you through how to smoothly perform the upgrade.  DON’T USE pacman -Syu –force!  Using –force in this case will SERIOUSLY bork your system.  If you are getting an error like:

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.

just follow the steps on the wiki page to resolve them.

I followed the steps in the guide but still had some files in /lib not owned by glibc so I couldn’t  upgrade.  It turned out to be a few directories worth of old kernel modules so I deleted them manually and re-ran pacman -Su and the upgrade went smoothly from there.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: