安装 wine 后把一切都搞砸了

安装 wine 后把一切都搞砸了

注意:我是 Ubuntu 菜鸟

当我尝试安装任何东西时,比如说 filezilla...我得到了这个:

我输入 sudo apt-get install filezilla

输入我的密码

我得到:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
filezilla : Depends: libtinyxml2.6.2 but it is not going to be installed
            Depends: libwxbase2.8-0 (>= 2.8.12.1) but it is not going to be installed
            Depends: libwxgtk2.8-0 (>= 2.8.12.1) but it is not going to be installed
            Depends: filezilla-common (= 3.5.3-1ubuntu2) but it is not going to      be     installed
     wine1.6 : Depends: wine1.6-amd64 (= 1.6~rc2-0ubuntu1~ppa4) but 1.6~rc2-0ubuntu1~ppa1 is to be installed
           Depends: wine1.6-i386 (= 1.6~rc2-0ubuntu1~ppa4)
 wine1.6-amd64 : Depends: wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1)
 wine1.6-i386:i386 : Depends: wine1.6:any:i386 (= 1.6~rc2-0ubuntu1~ppa1)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
caitlan@caitlan-iMac:~$ 

因此我尝试 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:
  libdrm-nouveau2 libxrandr-ltsq2 libllvm3.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  wine1.6 wine1.6-amd64 wine1.6-i386:i386
Suggested packages:
  dosbox:any
The following packages will be upgraded:
  wine1.6 wine1.6-amd64 wine1.6-i386:i386
3 upgraded, 0 newly installed, 0 to remove and 272 not upgraded.
4 not fully installed or removed.
Need to get 50.7 MB of archives.
After this operation, 1,162 kB of additional disk space will be used.
Do you want to continue [Y/n]? ^Ccaitlan@caitlan-iMac:~$ 

我输入 y

Get:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6-amd64 amd64 1.6~rc4-0ubuntu1 [24.9 MB]
Get:2 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6 amd64 1.6~rc4-0ubuntu1 [1,177 kB]
Get:3 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6-i386 i386 1.6~rc4-0ubuntu1 [24.6 MB]
Fetched 50.7 MB in 48s (1,044 kB/s)                                            
dpkg: dependency problems prevent configuration of wine1.6-amd64:
 wine1.6-amd64 depends on wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1); however:
  Version of wine1.6 on system is 1.6~rc2-0ubuntu1~ppa4.
dpkg: error processing wine1.6-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.6:
 wine1.6 depends on wine1.6-amd64 (= 1.6~rc2-0ubuntu1~ppa4); however:
  Version of wine1.6-amd64 on system is 1.6~rc2-0ubuntu1~ppa1.
 wine1.6 depends on wine1.6-i386 (= 1.6~rc2-0ubuntu1~ppa4); however:
  Package wine1.6-i386 is not installed.
  Version of wine1.6-i386:i386 on system is 1.6~rc2-0ubuntu1~ppa1.
dpkg: error processing wine1.6 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.6-i386:i386:
 wine1.6-i386:i386 depends on wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1); however:
  Version of wine1.6 on system is 1.6~rc2-0ubuntu1~ppa4.
dpkg: error processing wine1.6-i386:i386 (--configNo apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                              No apport report written because the error message indicates it's a follow-up error from a previous failure.
                          No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                      ure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
 wine depends on wine1.6; however:
  Package wine1.6 is not configured yet.
dpkg: error processing wine (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wine1.6-amd64
 wine1.6
 wine1.6-i386:i386
 wine
E: Sub-process /usr/bin/dpkg returned an error code (1)
caitlan@caitlan-iMac:~$ 

如果我进入软件中心,我会得到:在软件包目录修复之前,无法安装或删除项目

帮助?

答案1

看起来你只需要刷新存储库。尝试:

sudo apt-get update

然后看看是否有区别。

答案2

我会建议问答,我认为您的发行版升级没有完全完成。您应该按照此链接上的解决方案进行操作。很快就会看到结果……

相关内容