当试图更新一个Arch安装时,我得到这个错误消息,指出存在文件冲突。 完整的系统更新失败后,我开始按照如下所示的方式进行打包。 一些更新,如coreutils采取,而其他更新没有。
#pacman -S filesystem resolving dependencies... looking for inter-conflicts... Targets (1): filesystem-2012.10-1 Total Installed Size: 0.31 MiB Net Upgrade Size: 0.01 MiB Proceed with installation? [Y/n] (1/1) checking package integrity [############################] 100% (1/1) loading package files [############################] 100% (1/1) checking for file conflicts [############################] 100% error: failed to commit transaction (conflicting files) filesystem: /etc/profile.d/locale.sh exists in filesystem filesystem: /usr/share/man/man7/archlinux.7.gz exists in filesystem Errors occurred, no packages were upgraded.
我试过# pacman -Scc没有真正的结果。 任何人都有如何从这个恢复的build议? 我正在运行Arch Arm Linux 3.1.10-13-ARCH armv5tel。
我可以通过忽略gcc来升级我的大部分系统,但显然这不是一个完整的解决scheme。
pacman -Syu --ignore glibc
现在唯一不能安装的软件包是
那么力量选项似乎没有采取
# pacman -Syuf :: Synchronizing package databases... ... looking for inter-conflicts... Targets (4): glibc-2.16.0-4 kmod-10-2 vim-7.3.712-1 vim-runtime-7.3.712-1 Total Installed Size: 61.64 MiB Net Upgrade Size: 0.09 MiB Proceed with installation? [Y/n] (4/4) checking package integrity [################################] 100% (4/4) loading package files [################################] 100% (4/4) checking available disk space [################################] 100% (1/4) upgrading glibc [################################] 100% error: extract: not overwriting dir with file lib error: problem occurred while upgrading glibc call to execv failed (No such file or directory) error: command failed to execute correctly error: could not commit transaction error: failed to commit transaction (transaction aborted) Errors occurred, no packages were upgraded.
添加 – 我认为应该这样做。 你也可以试试这个
pacman -Syuf