首先,未满足的依赖关系没有得到满足
sudo apt-get -f 安装
以下命令无法成功删除 wine
可选,要删除 Wine 1.7.45 和 winetricks,请打开一个新的终端窗口并 bash(明白了吗?)输入以下命令:
sudo apt-get remove wine1.7 winetricks
如何彻底删除 Wine:
sudo apt-get remove wine
rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm
我尝试修复依赖项后收到的错误如下
imdanerdinator@imdanerdinator-MS-7578:~$ 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:
lib32z1 wine-compholio-amd64
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
wine-compholio
The following packages will be upgraded:
wine-compholio
1 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B/1,222 B of archives.
After this operation, 10.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 263224 files and directories currently installed.)
Preparing to unpack .../wine-compholio_1.7.45~ubuntu14.04.1_amd64.deb ...
Unpacking wine-compholio (1.7.45~ubuntu14.04.1) over (1.7.29~ubuntu14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/wine-compholio_1.7.45~ubuntu14.04.1_amd64.deb (--unpack):
trying to overwrite '/opt/wine-compholio/bin/wine64', which is also in package wine-compholio-amd64 1.7.29~ubuntu14.04.1
Errors were encountered while processing:
/var/cache/apt/archives/wine-compholio_1.7.45~ubuntu14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我不知道如何解决这个问题,所以如果能得到任何帮助我都会很感激。
答案1
测试一下:
打开终端,
按Ctrl++AltT
运行:
$ sudo -i
# apt-get remove --purge wine*
# apt-get autoremove
# apt-get clean
# apt-get update
# apt-get -f install