相关疑难解决方法(0)

dpkg 错误:“试图覆盖文件,该文件也在……”

例如:

$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bsh : Depends: libjline-java but it is not going to be installed
groovy : Depends: libjline-java but it is not going to be installed
rhino : Depends: libjline-java but it is not going to be installed
E: Unmet dependencies. 

Try 'apt-get -f install' with no packages …
Run Code Online (Sandbox Code Playgroud)

apt dpkg software-installation

146
推荐指数
3
解决办法
15万
查看次数

更新 Ubuntu 18.04 GL 调度库的损坏包

无法安装这两个更新:

供应商中立的 GL 调度库 - 开发文件

供应商中立的 GL 调度库 - GLESV1 支持

该更新显示了一个标题为:Broken System Package的新窗口和一条建议禁用第三方软件包并运行apt-get install -f.

这是运行命令后的输出:

Reading package list... Done
Building the dependency tree       
Reading status information... Done
Correcting dependencies... Ready
The packages listed below were installed automatically and are no longer required.
  libjs-bootstrap libjs-excanvas libjs-jquery-flot libjs-jquery-ui
  libjs-jquery-ui-theme-smoothness libjs-leaflet libjs-requirejs
  libjs-requirejs-text node-sprintf-js
Use "sudo apt autoremove" to remove them.
The following additional packages will be installed:
  libgles1 libglvnd-dev
The following NEW packages will be …
Run Code Online (Sandbox Code Playgroud)

package-management nvidia video-driver

3
推荐指数
1
解决办法
3062
查看次数

无法解决未满足的依赖

我试图解决我的一个问题,但我遇到了一些困难。我无法安装/删除/dist-upgrade/clean/autoclean 任何包。当我尝试运行sudo apt-get -f install以修复未满足的依赖项时,我得到:

orian@orian-desktop:~$ sudo apt-get -f install
[sudo] password for orian: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
cpp-4.8-arm-linux-gnueabihf cpp-arm-linux-gnueabihf dh-apparmor diffstat
gcc-4.8-arm-linux-gnueabihf-base gettext intltool-debian lib32asan0
lib32atomic1 lib32gcc1 lib32gomp1 lib32itm1 lib32quadmath0 lib32stdc++6
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libapt-pkg-perl libarchive-zip-perl libasan0 libasan0-armhf-cross
libasprintf-dev libatomic1 libatomic1-armhf-cross libauthen-sasl-perl
libautodie-perl libbonobo2-common libbonoboui2-common
libc6-armel-armhf-cross libc6-armel-cross libc6-armhf-cross
libc6-dev-armel-armhf-cross libc6-dev-armel-cross libc6-dev-armhf-cross
libclass-accessor-perl libclone-perl libcloog-isl4 libdigest-hmac-perl
libdpkg-perl …
Run Code Online (Sandbox Code Playgroud)

apt dependencies

2
推荐指数
1
解决办法
9907
查看次数