I got error when
update/upgrade archlinux. The error -> glibc: /lib exists in
filesystem. Then i found on archlinux wiki how to solve it.
Source to solve it : https://wiki.archlinux.org/index.php/DeveloperWiki:usrlib
These my step to solve it, based on archwiki
1. #pacman -Syu
I got error "glibc /lib exists in filesystem"
2. #pacman -Su --ignore glibc
#pacman -Su --ignore glibcwith this command will upgrade without glibc. for installs that have not been updated during 2012, it will save you some time to do:
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-<arch>.pkg.tar.xz
where <arch> is replaced by i686 or x86_64 as required
3. #rm /lib/udev
4. #grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
For my machine i got these results (maybe different from yours). On my machine i got plymouth-0.8.4-2 & udev-compat-173-3, just remove these directory.5. #find /lib -exec pacman -Qo -- {} +
If you found file with "error: No package owns" then you can safely remove these files. These the results of my machine.After you remove any files with ""error: No package owns", check it again with:
#find /lib -exec pacman -Qo -- {} +if there's no file with "error: No package owns", then you can continue to pacman -Su
6. #pacman -Su
Everything is ok now. Enjoy.
If you do --force when doing pacman -Syu, maybe you can read how to solve it on this post.
https://bbs.archlinux.org/viewtopic.php?pid=1127251#p1127251
Some snapshot on my machine:
^_^