我在 ubuntu 14.04 上尝试安装 Mate 1.8.1 时出现此错误:
Unpacking mate-applets (1.8.1+dfsg1-1~trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/mate-applets_1.8.1+dfsg1-1~trusty1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/cpufreq-selector.1.gz', which is also in package gnome-applets 3.5.92-0ubuntu3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mate-applets_1.8.1+dfsg1-1~trusty1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
实际上,这是运行命令 apt-get -f install 后的输出,没有任何变化。我该怎么办?
答案1
在 ubuntu-eg 的 IRC 频道询问后,我收到了一个对我有用的答案:
dpkg -P gnome-applets
apt-get -f install