![如何删除与核心/社区/额外包共享名称的 AUR 包?](https://linux22.com/image/190523/%E5%A6%82%E4%BD%95%E5%88%A0%E9%99%A4%E4%B8%8E%E6%A0%B8%E5%BF%83%2F%E7%A4%BE%E5%8C%BA%2F%E9%A2%9D%E5%A4%96%E5%8C%85%E5%85%B1%E4%BA%AB%E5%90%8D%E7%A7%B0%E7%9A%84%20AUR%20%E5%8C%85%EF%BC%9F.png)
我安装了在官方存储库和 AUR 上共享相同名称的冗余软件包。
community/nerd-fonts-noto-sans-mono 2.0.0-1 [installed]
community/nerd-fonts-terminus 2.1.0-4 [installed]
aur/nerd-fonts-noto-sans-mono 2.1.0-1 (2, 0.806870) [installed: 2.0.0-1]
aur/nerd-fonts-terminus 2.1.0-4 (9, 0.937352) [installed: 2.1.0-4]
如何删除 AUR 包?如果没有依赖项,我会将它们全部删除并重新安装,但事实并非如此:
$ pacaur -Ra nerd-fonts-terminus nerd-fonts-noto-sans-mono
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nerd-fonts-terminus breaks dependency 'nerd-fonts-terminus' required by manjaro-i3-settings
:: removing nerd-fonts-noto-sans-mono breaks dependency 'nerd-fonts-noto-sans-mono' required by manjaro-zsh-config
我尝试使用-a
标签来指定 AUR 包,但我无法从输出中判断它认为正在处理哪些包。我相信依赖项要求链接回社区包,如此处版本所建议的:
$ pacaur -Qd nerd-fonts-terminus nerd-fonts-noto-sans-mono
nerd-fonts-terminus 2.1.0-4
nerd-fonts-noto-sans-mono 2.0.0-1
关于如何安全删除 AUR 软件包有什么建议吗?