我安装了在官方存储库和 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 软件包有什么建议吗?