Ubuntu 15.10-安装 wine 的问题

Ubuntu 15.10-安装 wine 的问题

我想安装 wine 来运行 photoshop 和 office,但遇到了这些问题

当我运行此代码时:

sudo add-apt-repository ppa:ubuntu-wine/ppa

我得到了

gpg: keyring `/tmp/tmpxjwf8eb2/secring.gpg' created
gpg: keyring `/tmp/tmpxjwf8eb2/pubring.gpg' created
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpxjwf8eb2/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 update

然后我得到

Fetched 32.1 MB in 11min 24s (46.8 kB/s)                                       
Reading package lists... Done
W: GPG error: http://deb.playonlinux.com precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E0F72778C4676186

它再次提到了有关密钥的内容,我对此并不熟悉。还可以通过运行此代码:

sudo apt-get install -y wine 1.7

我得到:

libapt-inst1.7 is already the newest version.
libapt-inst1.7 set to manually installed.
wine is already the newest version.
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:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.8 but it is not going to be installed
 wine1.7-amd64 : Depends: libgphoto2-port10 (>= 2.5.2) but it is not installable
                 Recommends: libgnutls26 but it is not installable
                 Recommends: wine-gecko2.34 but it is not installable
                 Recommends: wine-mono4.5.4 but it is not installable
 wine1.7-i386:i386 : Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not installable
                     Recommends: libasound2-plugins:i386 but it is not going to be installed
                     Recommends: libgnutls26:i386 but it is not installable
                     Recommends: libpcap0.8:i386 but it is not going to be installed
                     Recommends: wine-gecko2.34:i386 but it is not installable
                     Recommends: wine-mono4.5.4:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

我搜索了未满足的依赖项,但以下均不起作用

sudo dpkg --add-architecture i386
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install -f

问题出在 Garphic 卡上吗?为什么我无法下载软件包?!

答案1

要添加丢失的密钥,请先重新下载密钥:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys

然后输入:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0F72778C4676186 
sudo apt-get update

阅读公钥加密通用石油气

相关内容