![更新问题:软件包被扣留](https://linux22.com/image/805922/%E6%9B%B4%E6%96%B0%E9%97%AE%E9%A2%98%EF%BC%9A%E8%BD%AF%E4%BB%B6%E5%8C%85%E8%A2%AB%E6%89%A3%E7%95%99.png)
当我尝试升级时,我得到了保留的软件包,当我使用 dist-upgrade 时它们将被升级,但是我收到此警告:
Current status: 5 updates [-1].
will@will-desktop:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages are BROKEN:
libdrm-nouveau1
The following NEW packages will be installed:
libkms1{a}
The following packages will be upgraded:
libdrm-dev libdrm-intel1 libdrm-radeon1 libdrm2
5 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/245kB of archives. After unpacking 2,077kB will be freed.
The following packages have unmet dependencies:
libdrm-nouveau1: Breaks: xserver-xorg-video-nouveau (< 1:0.0.16) but 1:0.0.15+git20100219+9b4118d-0ubuntu5 is installed.
The following actions will resolve these dependencies:
Remove the following packages:
xserver-xorg-video-all
xserver-xorg-video-nouveau
Score is 188
我不知道是否要升级,看起来它可能会损坏我的视频
答案1
我不会更新。特别是如果你目前有可以正常工作的软件包。永远不要运行部分更新或安装保留的软件包。它们之所以如此是有原因的。你正在运行 Maverick BETA 版吗?如果是,那就可以解释。你应该等待软件包自行解决,它们会的。
(实际上,我正在休息,写一篇博客文章来解释这样的事情,很奇怪)。
答案2
表演:
sudo apt-get 删除 xserver-xorg-video-nouveau
将删除依赖项阻塞并允许您升级。升级后,您可以重新安装软件包:
sudo apt-get 安装 xserver-xorg-video-all