我遇到一个问题,无法从终端和 AppCenter 安装任何内容或更新系统。当我安装更新时它说:
Error while installing package: trying to overwrite '/usr/share/metainfo/granite.appdata.xml', which is also in package libgranite-common 6.1.1+r2107+pkg120~ubuntu6.1.
在终端中我收到以下错误:
The following packages have unmet dependencies:
[package name] : Depends: libgranite5 (>= 0.2.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
我尝试删除 libgranite5.deb 但它又被创建了。我也这样做了sudo apt --fix-broken install
,也遇到了同样的错误 有什么想法吗?提前致谢!
答案1
该granite
包有问题:
软件包 libgranite5(未安装)安装/升级失败:尝试覆盖“/usr/share/metainfo/granite.appdata.xml”,该文件也在软件包 libgranite-common 6.1.0+r2071+pkg119~ubuntu6.1 中