无法安装 Wine

无法安装 Wine

可能重复:
在 64 位上安装 Wine

我正在尝试安装 Wine 1.5,但一直出现错误。我尝试通过终端进行安装。我有 Ubuntu 12.10 x64。以下是我按顺序执行的步骤。

sudo 添加 apt 存储库 ppa:ubuntu-wine/ppa

You are about to add the following PPA to your system:
 Welcome to the Wine Team PPA.  Here you can get the latest available Wine betas for every supported version of Ubuntu.  This PPA is managed by Scott Ritchie and Maarten Lankhorst.
 More info: https://launchpad.net/~ubuntu-wine/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmplm7whr/secring.gpg' created
gpg: keyring `/tmp/tmplm7whr/pubring.gpg' created
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmplm7whr/trustdb.gpg: trustdb created
gpg: key F9CB8DB0: public key "Launchpad PPA for Ubuntu Wine Team" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

sudo apt-get 更新

Ign http://security.ubuntu.com quantal-security InRelease                      
Ign http://archive.ubuntu.com quantal InRelease                                
Ign http://ppa.launchpad.net quantal InRelease 
Get:1 http://security.ubuntu.com quantal-security Release.gpg [933 B]
Ign http://archive.ubuntu.com quantal-updates InRelease                        
Hit http://ppa.launchpad.net quantal Release.gpg
Get:2 http://security.ubuntu.com quantal-security Release [49.6 kB]
Hit http://archive.ubuntu.com quantal Release.gpg                            
Hit http://ppa.launchpad.net quantal Release                                 
Get:3 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]            
Get:4 http://security.ubuntu.com quantal-security/main amd64 Packages [60.0 kB]
Hit http://ppa.launchpad.net quantal/main Sources                              
Hit http://archive.ubuntu.com quantal Release                                  
Hit http://ppa.launchpad.net quantal/main amd64 Packages                       
Get:5 http://archive.ubuntu.com quantal-updates Release [49.6 kB]              
Get:6 http://security.ubuntu.com quantal-security/restricted amd64 Packages [14 B]
Hit http://archive.ubuntu.com quantal/main amd64 Packages                      
Get:7 http://security.ubuntu.com quantal-security/universe amd64 Packages [20.7 kB]
Hit http://archive.ubuntu.com quantal/restricted amd64 Packages                
Hit http://archive.ubuntu.com quantal/universe amd64 Packages                  
Get:8 http://security.ubuntu.com quantal-security/multiverse amd64 Packages [1,150 B]
Ign http://ppa.launchpad.net quantal/main Translation-en_US                    
Hit http://archive.ubuntu.com quantal/multiverse amd64 Packages       
Ign http://ppa.launchpad.net quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Hit http://archive.ubuntu.com quantal/multiverse Translation-en
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Hit http://archive.ubuntu.com quantal/restricted Translation-en                
Hit http://security.ubuntu.com quantal-security/universe Translation-en        
Hit http://archive.ubuntu.com quantal/universe Translation-en                  
Get:9 http://archive.ubuntu.com quantal-updates/main amd64 Packages [149 kB]   
Get:10 http://archive.ubuntu.com quantal-updates/restricted amd64 Packages [1,970 B]
Get:11 http://archive.ubuntu.com quantal-updates/universe amd64 Packages [131 kB]
Ign http://security.ubuntu.com quantal-security/main Translation-en_US         
Get:12 http://archive.ubuntu.com quantal-updates/multiverse amd64 Packages [7,936 B]
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US   
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US   
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US     
Hit http://archive.ubuntu.com quantal-updates/main Translation-en              
Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en        
Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en        
Hit http://archive.ubuntu.com quantal-updates/universe Translation-en          
Ign http://archive.ubuntu.com quantal/main Translation-en_US                   
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_US
Fetched 473 kB in 21s (22.5 kB/s)
Reading package lists... Done

sudo apt-get 安装 wine1.5

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.19-0ubuntu1) but it is not installable
           Recommends: ttf-droid
           Recommends: ttf-mscorefonts-installer but it is not going to be installed
           Recommends: ttf-umefont but it is not going to be installed
           Recommends: ttf-unfonts-core but it is not going to be installed
           Recommends: winbind but it is not going to be installed
           Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我将非常感激您的帮助,因为我需要 Wine 来支持几款 Windows Native 销售配额跟踪软件。还有几款游戏。

答案1

似乎需要一些库来运行 32 位应用程序。运行以下命令:

sudo apt-get install ia32-libs

之后尝试再次安装。如果仍然不起作用,请尝试运行

sudo apt-get -f install

相关内容