安装 Wine 时发现未满足的依赖关系

安装 Wine 时发现未满足的依赖关系

首先要做的事情

如果这是重复的,我非常抱歉,但坦率地说,我尝试阅读许多其他答案,但我不明白其中的一半。谈到 Ubuntu,我仍然是个菜鸟,我只需要有人看看我的情况并告诉我该怎么做才能解决问题。

我想做的事

我想要安装最新的稳定版本的 Wine。

我做了什么

  1. 谷歌搜索install wine
  2. 选择了第二结果,也是 Google 即时结果功能所预览的那个。
  3. 按照指示做了事。

终端输出

coronet@Coronet:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for coronet: 
 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/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpdk5nhr27/secring.gpg' created
gpg: keyring `/tmp/tmpdk5nhr27/pubring.gpg' created
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpdk5nhr27/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
coronet@Coronet:~$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg                                    
Hit http://dl.google.com stable Release                                        
Ign http://ppa.launchpad.net wily InRelease                                    
Get:1 http://security.ubuntu.com wily-security InRelease [65.9 kB]             
Hit http://ppa.launchpad.net wily InRelease                                    
Ign http://ppa.launchpad.net wily Release.gpg                                  
Hit http://dl.google.com stable/main amd64 Packages                            
Get:2 http://security.ubuntu.com wily-security/main Sources [44.1 kB]          
Get:3 http://security.ubuntu.com wily-security/restricted Sources [2,854 B]    
Get:4 http://security.ubuntu.com wily-security/universe Sources [11.2 kB]      
Ign http://ppa.launchpad.net wily Release                                      
Get:5 http://security.ubuntu.com wily-security/multiverse Sources [2,788 B]    
Hit http://ppa.launchpad.net wily/main amd64 Packages                          
Get:6 http://security.ubuntu.com wily-security/main amd64 Packages [141 kB]    
Hit http://ppa.launchpad.net wily/main i386 Packages                           
Hit http://ppa.launchpad.net wily/main Translation-en                          
Ign http://dl.google.com stable/main Translation-en_US                         
Get:7 http://security.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB]
Ign http://dl.google.com stable/main Translation-en                            
Ign http://dl.google.com stable/main Translation-en_GB                         
Get:8 http://security.ubuntu.com wily-security/universe amd64 Packages [50.2 kB]
Get:9 http://security.ubuntu.com wily-security/multiverse amd64 Packages [6,247 B]
Get:10 http://security.ubuntu.com wily-security/main i386 Packages [137 kB]    
Get:11 http://security.ubuntu.com wily-security/restricted i386 Packages [10.8 kB]
Get:12 http://security.ubuntu.com wily-security/universe i386 Packages [50.2 kB]
Get:13 http://security.ubuntu.com wily-security/multiverse i386 Packages [6,443 B]
Hit http://us.archive.ubuntu.com wily InRelease                                
Get:14 http://us.archive.ubuntu.com wily-updates InRelease [65.9 kB]           
Hit http://security.ubuntu.com wily-security/main Translation-en               
Hit http://security.ubuntu.com wily-security/multiverse Translation-en         
Hit http://security.ubuntu.com wily-security/restricted Translation-en         
Hit http://security.ubuntu.com wily-security/universe Translation-en           
Err http://ppa.launchpad.net wily/main amd64 Packages                          
  404  Not Found
Hit http://us.archive.ubuntu.com wily-backports InRelease                      
Err http://ppa.launchpad.net wily/main i386 Packages                           
  404  Not Found
Ign http://ppa.launchpad.net wily/main Translation-en_US                       
Ign http://ppa.launchpad.net wily/main Translation-en                          
Ign http://ppa.launchpad.net wily/main Translation-en_GB                       
Get:15 http://us.archive.ubuntu.com wily-updates/main Sources [72.7 kB]        
Get:16 http://us.archive.ubuntu.com wily-updates/restricted Sources [3,741 B]  
Get:17 http://us.archive.ubuntu.com wily-updates/universe Sources [21.5 kB]    
Get:18 http://us.archive.ubuntu.com wily-updates/multiverse Sources [3,199 B]  
Get:19 http://us.archive.ubuntu.com wily-updates/main amd64 Packages [204 kB]  
Get:20 http://us.archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB]
Get:21 http://us.archive.ubuntu.com wily-updates/universe amd64 Packages [89.3 kB]
Get:22 http://us.archive.ubuntu.com wily-updates/multiverse amd64 Packages [6,247 B]
Get:23 http://us.archive.ubuntu.com wily-updates/main i386 Packages [201 kB]   
Get:24 http://us.archive.ubuntu.com wily-updates/restricted i386 Packages [13.4 kB]
Get:25 http://us.archive.ubuntu.com wily-updates/universe i386 Packages [86.7 kB]
Get:26 http://us.archive.ubuntu.com wily-updates/multiverse i386 Packages [6,678 B]
Hit http://us.archive.ubuntu.com wily-backports/restricted Sources             
Hit http://us.archive.ubuntu.com wily-backports/multiverse Sources             
Hit http://us.archive.ubuntu.com wily-backports/restricted amd64 Packages      
Hit http://us.archive.ubuntu.com wily-backports/multiverse amd64 Packages      
Hit http://us.archive.ubuntu.com wily-backports/restricted i386 Packages       
Hit http://us.archive.ubuntu.com wily-backports/multiverse i386 Packages       
Hit http://us.archive.ubuntu.com wily-backports/multiverse Translation-en      
Hit http://us.archive.ubuntu.com wily-backports/restricted Translation-en      
Hit http://us.archive.ubuntu.com wily/main Sources                             
Hit http://us.archive.ubuntu.com wily/restricted Sources                       
Hit http://us.archive.ubuntu.com wily/universe Sources                         
Hit http://us.archive.ubuntu.com wily/multiverse Sources                       
Hit http://us.archive.ubuntu.com wily/main amd64 Packages                      
Hit http://us.archive.ubuntu.com wily/restricted amd64 Packages                
Hit http://us.archive.ubuntu.com wily/universe amd64 Packages                  
Hit http://us.archive.ubuntu.com wily/multiverse amd64 Packages                
Hit http://us.archive.ubuntu.com wily/main i386 Packages                       
Hit http://us.archive.ubuntu.com wily/restricted i386 Packages                 
Hit http://us.archive.ubuntu.com wily/universe i386 Packages                   
Hit http://us.archive.ubuntu.com wily/multiverse i386 Packages                 
Hit http://us.archive.ubuntu.com wily/main Translation-en                      
Hit http://us.archive.ubuntu.com wily/main Translation-en_GB                   
Hit http://us.archive.ubuntu.com wily/multiverse Translation-en                
Hit http://us.archive.ubuntu.com wily/multiverse Translation-en_GB             
Hit http://us.archive.ubuntu.com wily/restricted Translation-en                
Hit http://us.archive.ubuntu.com wily/restricted Translation-en_GB             
Hit http://us.archive.ubuntu.com wily/universe Translation-en                  
Hit http://us.archive.ubuntu.com wily/universe Translation-en_GB               
Hit http://us.archive.ubuntu.com wily-updates/main Translation-en              
Hit http://us.archive.ubuntu.com wily-updates/multiverse Translation-en        
Hit http://us.archive.ubuntu.com wily-updates/restricted Translation-en        
Hit http://us.archive.ubuntu.com wily-updates/universe Translation-en          
Hit http://us.archive.ubuntu.com wily-backports/main Sources                   
Hit http://us.archive.ubuntu.com wily-backports/universe Sources               
Hit http://us.archive.ubuntu.com wily-backports/main amd64 Packages            
Hit http://us.archive.ubuntu.com wily-backports/universe amd64 Packages        
Hit http://us.archive.ubuntu.com wily-backports/main i386 Packages             
Hit http://us.archive.ubuntu.com wily-backports/universe i386 Packages         
Hit http://us.archive.ubuntu.com wily-backports/main Translation-en            
Hit http://us.archive.ubuntu.com wily-backports/universe Translation-en        
Fetched 1,326 kB in 1min 11s (18.7 kB/s)                                       
W: Failed to fetch http://ppa.launchpad.net/n-muench/calibre2/ubuntu/dists/wily/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/n-muench/calibre2/ubuntu/dists/wily/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
coronet@Coronet:~$ sudo apt-get install -y wine1.7
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.7 : Depends: wine1.7-amd64 (= 1:1.7.44-0ubuntu1) but it is not going to be installed
           Depends: wine1.7-i386 (= 1:1.7.44-0ubuntu1)
E: Unable to correct problems, you have held broken packages.

答案1

我在尝试安装 wine1.8 时遇到了类似的问题。结果发现需要安装一个名为 gphoto10 的软件包,但它不在依赖项列表中(gphoto12 是安装候选包)。我不得不单独下载 gphoto10,在这里搜索它...packages.ubuntu.com,下载 deb 文件并安装 deb 文件(安装 gdebi 软件包以帮助您)。然后我就可以安装 wine

相关内容