使用软件更新,更新每次都会失败

使用软件更新,更新每次都会失败

使用软件更新,每次更新都会失败,而且每次使用应用程序时似乎都会发现不同的更新......昨晚“成功”安装了 12.10 升级...

Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39 0ubuntu1_amd64.deb) ...
Unpacking replacement libdrm2:amd64 ...
dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb

答案1

我只需将/usr/share/doc/libdrm2/changelog.Debian.gz文件移开即可,升级过程没有任何问题。

....
Setting up libdrm2:amd64 (2.4.39-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-18-generic

相关内容