/etc/profile.d/locale.sh exists in filesystem

今天闲着没事就在虚拟机里装起了arch,基本系统顺利的装好了。不过进入基本系统后执行pacman -Syu时出错了

error: failed to commit transaction (conflicting files)
initscripts: /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

方法得自http://www.mjfox.ch/wordpress/arch-linux-update-error-with-file-conflicts/

特记录在此

嗯,最后说一句,因为用的是便携版的虚拟机程序,所以突然虚拟机意外退出了,嗯,SO,arch没装完就挂了……

Read More