我想在我的 Ubuntu 14.04 操作系统上使用 Wine 运行 Windows 程序“.exe”。我 15 岁,刚接触 Ubuntu 操作系统及其环境,出于某种原因,我无法下载 Wine 程序安装程序。以下是我的终端显示的内容:
(trusty)james@localhost:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for james:
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/tmpps8ia136/secring.gpg' created
gpg: keyring `/tmp/tmpps8ia136/pubring.gpg' created
gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpps8ia136/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
(trusty)james@localhost:~$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable Release
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ports.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-security InRelease
Hit http://ports.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/main Sources
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/restricted Sources
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/universe Sources
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/multiverse Sources
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/main armhf Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/restricted armhf Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/universe armhf Packages
Hit http://ports.ubuntu.com trusty-updates/multiverse armhf Packages
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/main Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ports.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/universe Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-security/main Sources
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty-security/restricted Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ports.ubuntu.com trusty-security/universe Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ports.ubuntu.com trusty-security/multiverse Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-security/main armhf Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-security/universe armhf Packages
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Get:2 http://ppa.launchpad.net trusty/main Sources [17.6 kB]
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
Get:3 http://ppa.launchpad.net trusty/main armhf Packages [9079 B]
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en
Get:4 http://ppa.launchpad.net trusty/main i386 Packages [20.4 kB]
Hit http://ports.ubuntu.com trusty-security/universe Translation-en
Hit http://ports.ubuntu.com trusty Release
Get:5 http://ppa.launchpad.net trusty/main Translation-en [10.8 kB]
Get:6 http://ppa.launchpad.net trusty/main Sources [21.6 kB]
Get:7 http://ppa.launchpad.net trusty/main armhf Packages [14.9 kB]
Get:8 http://ppa.launchpad.net trusty/main i386 Packages [15.8 kB]
Get:9 http://ppa.launchpad.net trusty/main Translation-en [5429 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ports.ubuntu.com trusty/restricted Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/universe Sources
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ports.ubuntu.com trusty/multiverse Sources
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ports.ubuntu.com trusty/restricted armhf Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/universe armhf Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ports.ubuntu.com trusty/multiverse armhf Packages
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://ports.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ports.ubuntu.com trusty/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ports.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ports.ubuntu.com trusty/universe Translation-en
Hit http://ppa.launchpad.net trusty Release
Err http://ports.ubuntu.com trusty-updates/main i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Err http://ports.ubuntu.com trusty-updates/restricted i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Ign http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Err http://ports.ubuntu.com trusty-updates/universe i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty Release
Err http://ports.ubuntu.com trusty-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Err http://ports.ubuntu.com trusty-security/main i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty Release
Err http://ports.ubuntu.com trusty-security/restricted i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Err http://ports.ubuntu.com trusty-security/universe i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Err http://ports.ubuntu.com trusty-security/multiverse i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main armhf Packages
Err http://ports.ubuntu.com trusty/main i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Err http://ports.ubuntu.com trusty/restricted i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Err http://ports.ubuntu.com trusty/universe i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty/main armhf Packages
Err http://ports.ubuntu.com trusty/multiverse i386 Packages
404 Not Found [IP: 91.189.88.151 80]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Err http://ppa.launchpad.net trusty/main armhf Packages
404 Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Fetched 131 kB in 27s (4758 B/s)
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/universe/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.88.151 80]
W: Failed to fetch http://ppa.launchpad.net/mefrio-g/plymouthmanager/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/mefrio-g/plymouthmanager/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
(trusty)james@localhost:~$ sudo apt-get install 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:i386 : Depends: libc6:i386 (>= 2.17) but it is not installable
Depends: wine1.7-i386:i386 (= 1:1.7.55-0ubuntu1)
Recommends: fonts-droid:i386
Recommends: fonts-horai-umefont:i386
Recommends: fonts-unfonts-core:i386
Recommends: ttf-wqy-microhei:i386
E: Unable to correct problems, you have held broken packages.
我希望这能有所帮助。
答案1
您的存储库很乱,甚至有不同架构的存储库,所以让我们来清理一下这个乱七八糟的东西。
打开“Ubuntu 软件中心”
编辑菜单
选择“软件源...”,输入您的密码
点击“其他软件”
您可以从“其他软件”选项卡添加或者消除不起作用的存储库,例如:http://ppa.launchpad.nettrusty/main armhf 软件包这是为了手臂(armhf)架构。
还删除存储库404 未找到在你的终端。
现在在你的终端中输入:
sudo apt-get 删除 wine1.7
sudo apt-get 自动删除
sudo add-apt-repository --remove ppa:ubuntu-wine/ppa
sudo apt-get 更新
sudo apt-get 升级
现在重新启动您的电脑。
选修的: 如果您想要全新安装,可以删除包含 .dll 和 .exe 程序文件等的 wine 文件夹。(推荐)
转至目录/主页/詹姆斯从文件管理器中单击查看隐藏文件夹,该文件是。葡萄酒删除它即可。
安装葡萄酒秘诀来自 Ubuntu 软件中心。
现在进入官方葡萄酒页面: https://wiki.winehq.org/Ubuntu
并按照说明安装最新的稳定的或者发布版本的葡萄酒。
如果安装后找不到 wine 的快捷方式,请在终端中输入 winecfg
现在找出你需要安装的内容葡萄酒秘诀根据您要使用的程序或游戏。