我最近将 Ubuntu 升级到了 12.04。在此之前,我根本无法使用 synaptic。
尝试通过 synaptics 修复问题后,它返回:
installArchives() failed: dpkg: dependency problems prevent configuration of wine1.4-i386:i386:
wine1.4-i386:i386 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-i386:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4:
wine1.4 depends on wine1.4-amd64 (= 1.4-0ubuntu4); however:
Version of wine1.4-amd64 on system is 1.4.1-0ubuntu1~precise1~ppa3.
wine1.4 depends on wine1.4-i386 (= 1.4-0ubuntu4); however:No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Package wine1.4-i386 is not installed.
Version of wine1.4-i386:i386 on system is 1.4.1-0ubuntu1~precise1~ppa3.
dpkg: error processing wine1.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-common:
wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4); however:
Package wine1.4 is not configured yet.
dpkg: error processing wine1.4-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-amd64:
wine1.4-amd64 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
wine depends on wine1.4; however:
Package wine1.4 is not configured yet.
dpkg: error processing wine (--configure):
dependency problems - leaving unconfigured
dpkg: depeNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
ndency problems prevent configuration of playonlinux:
playonlinux depends on wine | wine-unstable; however:
Package wine is not configured yet.
Package wine1.4 which provides wine is not configured yet.
Package wine-unstable is not installed.
dpkg: error processing playonlinux (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
wine1.4-i386:i386
wine1.4
wine1.4-common
wine1.4-amd64
wine
playonlinux
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: dependency problems prevent configuration of wine1.4:
wine1.4 depends on wine1.4-amd64 (= 1.4-0ubuntu4); however:
Version of wine1.4-amd64 on system is 1.4.1-0ubuntu1~precise1~ppa3.
wine1.4 depends on wine1.4-i386 (= 1.4-0ubuntu4); however:
Package wine1.4-i386 is not installed.
Version of wine1.4-i386:i386 on system is 1.4.1-0ubuntu1~precise1~ppa3.
dpkg: error processing wine1.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
wine depends on wine1.4; however:
Package wine1.4 is not configured yet.
dpkg: error processing wine (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-common:
wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4); however:
Package wine1.4 is not configured yet.
dpkg: error processing wine1.4-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-amd64:
wine1.4-amd64 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-i386:i386:
wine1.4-i386:i386 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-i386:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of playonlinux:
playonlinux depends on wine | wine-unstable; however:
Package wine is not configured yet.
Package wine1.4 which provides wine is not configured yet.
Package wine-unstable is not installed.
dpkg: error processing playonlinux (--configure):
dependency problems - leaving unconfigured
我尝试了以下操作:
- sudo apt-get clean
- sudo apt-get 自动清理
- sudo apt-get 安装 -f
并返回:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
wine1.4 wine1.4-common
Suggested packages:
dosbox
The following packages will be upgraded:
wine1.4 wine1.4-common
2 upgraded, 0 newly installed, 0 to remove and 110 not upgraded.
6 not fully installed or removed.
Need to get 0 B/1,126 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of wine1.4-i386:i386:
wine1.4-i386:i386 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-i386:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4:
wine1.4 depends on wine1.4-amd64 (= 1.4-0ubuntu4); however:
Version of wine1.4-amd64 on system is 1.4.1-0ubuntu1~precise1~ppa3.
wine1.4 depends on wine1.4-i386 (= 1.4-0ubuntu4); however:
Package wine1.4-i386 is not installed.
Version of wine1.4-i386:i386 on system is 1.4.1-0ubuntu1~precise1~ppa3.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing wine1.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-common:
wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4); however:
Package wine1.4 is not configured yet.
dpkg: error processing wine1.4-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.4-amd64:
wine1.4-amd64 depends on wine1.4-common (= 1.4.1-0ubuntu1~precise1~ppa3); however:
Version of wine1.4-common on system is 1.4-0ubuntu4.
dpkg: error processing wine1.4-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
wine depends on wine1.4; however:
Package wine1.4 is not configured yet.
dpkg: error processing wine (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of playonlinux:
playonlinux depends on wine | wine-unstable; however:
PackagNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
e wine is not configured yet.
Package wine1.4 which provides wine is not configured yet.
Package wine-unstable is not installed.
dpkg: error processing playonlinux (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
wine1.4-i386:i386
wine1.4
wine1.4-common
wine1.4-amd64
wine
playonlinux
E: Sub-process /usr/bin/dpkg returned an error code (1)
有人能帮我吗?我已经找了好几天的解决方案了,但还是没能解决。
谢谢!Pablo
答案1
wine1.4-i386
该问题显然是由于和版本不匹配造成的wine1.4-amd64
(见此 Launchpad 页面上的评论 23)。我能够通过手动删除 PPA 版本wine1.4-i386
(1.4.1-0ubuntu1~precise1~ppa3) 并手动安装 1.4-0ubuntu4.1 版本 (就您而言,似乎您需要 1.4-0ubuntu4) 来解决这个问题,如下所示:
- 使用 Apper 禁用 WINE PPA
wine1.4-i386
下载正确版本的.deb发射台(同样,你可能需要稍微不同的版本包)dpkg -r wine1.4-i386:i386
dpkg -i < path of the .deb >
(这应该会给你一个错误,但是没关系。)apt-get -f install
(现在应该可以正常工作了!耶!)