我已经运行 12.10 大约一周了,到目前为止问题很少;我遇到的主要问题是我拥有的 nvidia 驱动程序拒绝升级。我目前正在使用实验性驱动程序,所以我不确定这是否与此有关。无论如何,我希望看看是否有人能理解这个输出:
从apt-get upgrade
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-generic linux-image-generic ubuntu-desktop
The following packages will be upgraded:
nvidia-settings-updates
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
308 not fully installed or removed.
Need to get 0 B/1,820 kB of archives.
After this operation, 1,675 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 207320 files and directories currently installed.)
Preparing to replace nvidia-settings-updates 304.43-0ubuntu1 (using .../nvidia-settings-updates_304.51-0ubuntu1_amd64.deb) ...
Unpacking replacement nvidia-settings-updates ...
dpkg: error processing /var/cache/apt/archives/nvidia-settings-updates_304.51-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/nvidia-settings.1.gz', which is also in package nvidia-settings-experimental-304 304.48-0ubuntu1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-settings-updates_304.51-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
有什么办法可以解决这个问题?我已经尝试了apt-get clean
along 和apt-get -f upgrade
after,但问题没有解决。
答案1
nvidia-settings-updates 和 nvidia-settings-experimental 是同一个软件的两个版本,你不应该同时使用它们,否则你会得到如上所示的错误。卸载其中一个就可以了。