您尚未登录。

#1 2022-02-09 13:55:54

roadgo
会员
注册时间: 2012-04-07
帖子: 380

pacman有文件存在的解决办法

pacman: /usr/share/makepkg/util/config.sh exists in filesystem
pacman: /usr/share/makepkg/util/dirsize.sh exists in filesystem
pacman: /usr/share/makepkg/util/error.sh exists in filesystem
pacman: /usr/share/makepkg/util/message.sh exists in filesystem
pacman: /usr/share/makepkg/util/option.sh exists in filesystem
pacman: /usr/share/makepkg/util/parseopts.sh exists in filesystem
pacman: /usr/share/makepkg/util/pkgbuild.sh exists in filesystem
pacman: /usr/share/makepkg/util/schema.sh exists in filesystem
pacman: /usr/share/makepkg/util/source.sh exists in filesystem
pacman: /usr/share/makepkg/util/util.sh exists in filesystem
pacman: /usr/share/man/man1/makepkg-template.1.gz exists in filesystem
pacman: /usr/share/man/man3/libalpm.3.gz exists in filesystem
pacman: /usr/share/man/man5/BUILDINFO.5.gz exists in filesystem

解决办法
sudo pacman -S --overwrite \* <package_name>

离线

#2 2022-02-09 16:32:22

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,953
个人网站

Re: pacman有文件存在的解决办法

你不先看看为什么会有文件冲突么?

离线

#3 2023-09-01 13:32:43

dyw1618
会员
注册时间: 2023-09-01
帖子: 2

Re: pacman有文件存在的解决办法

使用sudo pacman -S --overwrite \* <package_name>, 卸载pacman -Rsn  <package_name>,系统就会崩,我两次都是因为这样操作的

离线

页脚