软件中心仍未修复

软件中心仍未修复

上次我的软件中心坏了,我设法通过将 Linux 升级到较新的版本来修复问题。遗憾的是,由于我拥有最新版本,因此这不再可能。但同样的问题仍然存在。当我运行软件中心时,系统告诉我它坏了,需要维修。我点击一个按钮让我修复它。它自己修复了一段时间,然后发生了以下情况:

installArchives() failed: Pednastavuji balky...
Pednastavuji balky...
Pednastavuji balky...
Pednastavuji balky...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 301765 files and directories currently installed.)
Unpacking wine1.4-i386 (from .../wine1.4-i386_1.4-0ubuntu4.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.4-i386_1.4-0ubuntu4.1_i386.deb (--unpack):
 trying to overwrite '/usr/bin/wine', which is also in package wine1.5 1.5.5-0ubuntu1~ppa1~oneiric1+pulse17
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 /var/cache/apt/archives/wine1.4-i386_1.4-0ubuntu4.1_i386.deb
Error in function: 
dpkg: dependency problems prevent configuration of wine1.4-common:
 wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4.1); however:
  Package wine1.4 is not installed.
dpkg: error processing wine1.4-common (--configure):
 dependency problems - leaving unconfigured

我该怎么办?

答案1

您正在从官方商店安装(或)升级 wine,并且您已经通过 ppa 安装。这就是问题所在。

安装 ppa purgesudo apt-get install ppa-purge

清除葡萄酒中的 ppa。

答案2

Wine 1.5 已经过时了。Canonical 的官方存储库 (1.6) 和 Wine HQ PPA (1.8) 中都有更新的稳定版本。因此,您应该删除当前的 Wine 软件包:

sudo apt-get remove wine1.5\*

这可能需要删除一些依赖于 Wine 的软件包。确认安全问题,如果它们看起来与 Wine 相关(按名称)。然后根据您评论中的说明

sudo apt-get install --install-recommends winehq-devel

相关内容