更新Archlinux出现lib目录问题鸟
Proceed with installation? [Y/n] y :: Retrieving packages from extra... ghostscript-9.06-1-... 12.0 MiB 3.21M/s 00:04 [######################] 100% (278/278) checking package integrity [######################] 100% (278/278) loading package files [######################] 100% (278/278) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) glibc: /lib exists in filesystem Errors occurred, no packages were upgraded.
上网看看据说是/lib迁移到/usr/lib引起的
#cd /lib && pacman -Qo *
发现./modules目录不属于glibc
先把glibc略过,升级其他包
#pacman -Syu --ignore glibc
然后在进/lib看看,果然modules目录转移到/usr/lib/里了
接着再升级glibc
#pacman -S glibc
可以正常升级。
arch论坛关于升级glibc的帖子很火。。。
https://bbs.archlinux.org/viewtopic.php?id=145006
https://bbs.archlinux.org/viewtopic.php?id=145795
妹的,又遇到了
error: failed to commit transaction (conflicting files) filesystem: /etc/profile.d/locale.sh exists in filesystem Errors occurred, no packages were upgraded.
只需要把这个文件重命名就好了
mv /etc/profile.dlocale.sh /etc/profile.d/locale.sh.old
继续#pacman -Syu --ignore glibc
重试了好几次,最后把locale.sh删除才成功!
文章评论