我正在运行 Ubuntu 16.04 Xenial 桌面,64 位,并且想要安装openjdk-9-jdk(Java 9 开发工具包)。universe存储库中可用的版本是9~b114-0ubuntu1.
运行安装命令会成功安装依赖项(见下文,包括 package openjdk-9-jdk-headless),但由于所述依赖项提供的文件也存在于有问题的包中,因此无法安装请求的包本身:
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Run Code Online (Sandbox Code Playgroud)
这是完整的输出:
$ sudo apt install openjdk-9-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java libice-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev
libxt-dev openjdk-9-jdk-headless openjdk-9-jre openjdk-9-jre-headless x11proto-core-dev x11proto-input-dev x11proto-kb-dev
xorg-sgml-doctools xtrans-dev
Suggested packages:
libice-doc …Run Code Online (Sandbox Code Playgroud) 我尝试使用类型安全堆栈安装Scala,但遇到了麻烦。现在我不能用 apt 做很多事情(更新除外),损坏的包似乎无法删除/清理:
这是结果apt-get -f install:
$ sudo apt-get -f install
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:
gstreamer0.10-fluendo-mp3:i386 scala-library liboil0.3:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
scala
The following NEW packages will be installed:
scala
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 …Run Code Online (Sandbox Code Playgroud) 我正在尝试在此处安装最新的 KDE Plasma,但我得到了
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
kde-telepathy-minimal:
Depends: kde-config-telepathy-accounts (>= 0.9.0) but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)
当我sudo apt-get -f install按照规定并说Y要获得 122KB 的档案时,我得到:
Preparing to unpack .../kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (15.04.0-0ubuntu1~ubuntu15.04~ppa1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/facebook-im.service', which is also in package account-plugin-facebook 0.12+15.04.20150415.1-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal …Run Code Online (Sandbox Code Playgroud) 我刚刚在我的工作站上安装了 Ubuntu 18.04.5 LTS 以及推荐的 nvidia 驱动程序,我曾经sudo ubuntu-drivers autoinstall这样做过,并ubuntu-drivers devices建议安装nvidia-driver-450-server - distro non-free recommended.
但是,安装推荐的驱动后,我的包系统坏了。当我尝试使用“软件更新程序”更新软件时,我收到以下消息:
Run Code Online (Sandbox Code Playgroud)The package system is broken. Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Transaction failed: The package system is broken The following packages have unmet dependencies: libnvidia-gl-450: Depends: libnvidia-common-450 but it is not installed Depends: libgcc1 …
我安装了 amdgpu-pro 17.40 并运行良好,但在特定显示器(戴尔 U3014)无法通过显示端口工作时遇到了一些问题。我向 AMD 开了一张票,他们建议更新 amdgpu-pro 17.50。
运行 amdgpu-pro 17.50 的安装程序失败并且包管理器损坏,因此我无法安装或卸载任何东西。我已经向 AMD 寻求帮助,但在 5 天内没有得到任何回应......只是他们仍在调查它。
安装脚本和修复尝试的结果是:
./amdgpu-pro-install
[sudo] password for xxxx:
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:
amdgpu : Depends: amdgpu-core (= 17.50-511655) but it is not going to be installed
Depends: amdgpu-dkms (= 17.50-511655) but it is not going to be installed
Depends: libdrm2-amdgpu (= …Run Code Online (Sandbox Code Playgroud) 安装一些包和库后,我在包管理器上出现错误,我无法运行任何更新,因为它说:
软件包系统已损坏 如果您正在使用第三方存储库,请禁用它们,因为它们是常见的问题来源。现在在终端中运行以下命令:apt-get install -f
我试图按照它所说的去做,它返回给我:
jara@jara-Aspire-5738:~$ sudo apt-get install -f
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:
libcaca-dev libopencv2.3-bin nite-dev python-bluez ps-engine libslang2-dev
python-sphinx ros-electric-geometry-tutorials
ros-electric-geometry-visualization python-matplotlib libzzip-dev
ros-electric-orocos-kinematics-dynamics ros-electric-physics-ode
libbluetooth-dev libaudiofile-dev libassimp2 libnetpbm10-dev
ros-electric-laser-pipeline python-epydoc ros-electric-geometry-experimental
libasound2-dev evtest python-matplotlib-data libyaml-dev ros-electric-bullet
ros-electric-executive-smach ros-electric-documentation libgl2ps0
libncurses5-dev ros-electric-robot-model texlive-fonts-recommended
python-lxml libwxgtk2.8-dev daemontools libxxf86vm-dev libqhull-dev
libavahi-client-dev ros-electric-geometry libgl2ps-dev libcurl4-openssl-dev
assimp-dev libusb-1.0-0-dev libopencv2.3 ros-electric-diagnostics-monitors …Run Code Online (Sandbox Code Playgroud) 我最近没有安装任何新软件包或添加任何 PPA,只是运行了 apt 更新。
运行“apt升级”后
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libglvnd-dev : Depends: libglvnd0 (= 1.0.0-2ubuntu2.1) but 1.0.0-2ubuntu2.2 is installed
Depends: libglvnd-core-dev (= 1.0.0-2ubuntu2.1) but 1.0.0-2ubuntu2.2 is installed
Depends: libegl1 (= 1.0.0-2ubuntu2.1) but 1.0.0-2ubuntu2.2 is installed
Depends: libgles2 (= 1.0.0-2ubuntu2.1) but 1.0.0-2ubuntu2.2 is installed
Depends: libgl1 (= 1.0.0-2ubuntu2.1) but 1.0.0-2ubuntu2.2 is installed
Depends: libglx0 (= 1.0.0-2ubuntu2.1) but …Run Code Online (Sandbox Code Playgroud) 我在升级 nvidia 软件包时遇到一个问题。上次更新此包后,我遇到了这样的消息:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
nvidia-dkms-535 : Depends: nvidia-kernel-common-535 (= 535.129.03-0ubuntu1) but 535.129.03-0ubuntu0.22.04.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
我尝试通过以下命令解决这个问题:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... …Run Code Online (Sandbox Code Playgroud) 我只是尝试运行正常的更新/升级并收到此错误:
dpkg: warning: files list file for package 'libpython3.7-minimal:amd64' missing; assuming package has no files currently installed
(Reading database ... 141307 files and directories currently installed.)
Preparing to unpack .../libpython3.7-stdlib_3.7.13-1+focal3_amd64.deb ...
Unpacking libpython3.7-stdlib:amd64 (3.7.13-1+focal3) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.7-stdlib_3.7.13-1+focal3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.7/distutils/__init__.py', which is also in package python3.7-distutils 3.7.13-1+focal1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libpython3.7-stdlib_3.7.13-1+focal3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我尝试用谷歌搜索并查看此处,但我发现的最新解决方案不起作用。尝试运行损坏修复会导致:
dpkg: error processing …Run Code Online (Sandbox Code Playgroud) 我下载了 freeverb.tar.gz,其中包含 Audacity 的插件库 (freeverb.so)。
我将 .tar.gz 文件解压缩到我的下载文件夹,但我不知道下一步该怎么做。.tar.gz 文件中没有自述文件或任何其他信息,只有 freeverb.so
你能告诉我如何将 freeverb.so 安装到正确的文件夹中,以便 Audacity 来获取它吗?