Manjaro 更新显示错误

Manjaro 更新显示错误

我看到一条通知“软件包更新可用”,因此我单击它,然后单击“应用”,但过了一会儿我看到了此警告:

Warning: installing pamac-cli (10.0.5-1) breaks dependency 'pamac-cli=10.0.5-0.2' required by pamac-flatpak-plugin
Add pamac-flatpak-plugin to remove
Warning: installing pamac-cli (10.0.5-1) breaks dependency 'pamac-cli=10.0.5-0.2' required by pamac-snap-plugin
Add pamac-snap-plugin to remove
Warning: removing pamac-gtk breaks dependency 'pamac-gtk' required by web-installer-url-handler
Add web-installer-url-handler to remove

但我忽略了它并单击close然后Build它显示了一个错误:

conflicting files:
- bash: /etc/bash.bashrc already exists in filesystem (owned by bashrc-manjaro)
- bash: /etc/skel/.bashrc already exists in filesystem (owned by bashrc-manjaro)
- lsb-release: /etc/lsb-release already exists in filesystem (owned by manjaro-release)

有谁知道这是什么以及如何解决这个问题?
这是交易摘要:

在此输入图像描述

谢谢。

答案1

  1. 卸载软件包sudo pacman -R web-installer-url-handler pamac-snap-plugin pamac-flatpak-plugin
  2. 升级系统sudo pacman -Syyu
  3. 重新安装软件包sudo pacman -R web-installer-url-handler pamac-snap-plugin pamac-flatpak-plugin

答案2

sudo rm -r /etc/bash.bashrc /etc/skel/.bashrc /etc/lsb-release

上面写得很清楚,这些文件已经存在,所以删除它即可。这可能对你有帮助。

相关内容