我正在尝试通过yaourt更新我的系统,但是由于一个python包安装了pip而不是yaourt,所以我收到了一个错误。
我没有成功地强迫yaourt安装更新,我想避免用pip删除软件包,然后用yaourt重新安装它。
以下是我尝试过的命令:
yaourt -Syu --aur
yaourt -Suya
yaourt -Susya --force这是我每次都得到的输出:
:: Proceed with installation? [Y/n] y
(39/39) checking keys in keyring [####################################################################] 100%
(39/39) checking package integrity [####################################################################] 100%
(39/39) loading package files [####################################################################] 100%
(39/39) checking for file conflicts [####################################################################] 100%
error: failed to commit transaction (conflicting files)
mutagen: /usr/lib/python2.7/site-packages/mutagen-1.36-py2.7.egg-info exists in filesystem
Errors occurred, no packages were upgraded.我怎样才能强迫yaourt更新所有的包裹?
发布于 2017-01-08 16:57:45
最后,我用pip删除了软件包,然后用yaourt重新安装它。
发布于 2021-01-11 19:12:08
当您安装覆盖某个已经存在的文件的东西时,就会发生这种情况。您可以使用
pacman -Qqo /path/to/file然后,如果没有人拥有它,你可以删除该文件,然后继续。
是的,使用yay,yaourt已经死了。
https://unix.stackexchange.com/questions/335415
复制相似问题