sar*_*arp 18 package-management wine playonlinux
我试图在 Linux 上使用 Play 安装英雄无敌 3。当我启动程序时,它给了我一条错误消息
PlayOnLinux 找不到 wine(来自 Wine)。您应该安装它以使用 PlayOnLinux。
sudo apt-get install wine
Run Code Online (Sandbox Code Playgroud)
我试过这个,但我收到一条错误消息:
E:无法纠正问题,您持有破损的包裹。
我该怎么办?
输入:
sudo apt-get install wine
Run Code Online (Sandbox Code Playgroud)
输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is a virtual package provided by:
winehq-staging 4.0~rc1~cosmic
winehq-stable 3.0.4~cosmic
winehq-devel 4.0~rc1~cosmic
wine-development 3.6-1
You should explicitly select one to install.
E: Package 'wine' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
当我输入时:
sudo apt-get install winehq-stable
Run Code Online (Sandbox Code Playgroud)
我明白了:
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:
winehq-stable : Depends: wine-stable (= 3.0.4~cosmic)
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
这是我的系统:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Run Code Online (Sandbox Code Playgroud)
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-38 linux-headers-4.15.0-38-generic
linux-image-4.15.0-38-generic linux-modules-4.15.0-38-generic
linux-modules-extra-4.15.0-38-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)
$ sudo apt remove wine winehq-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'wine' can't be removed
Package 'winehq-stable' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-38 linux-headers-4.15.0-38-generic
linux-image-4.15.0-38-generic linux-modules-4.15.0-38-generic
linux-modules-extra-4.15.0-38-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)
$ sudo apt autoremove
Run Code Online (Sandbox Code Playgroud)
正在阅读包列表...完成构建依赖树阅读
状态信息...完成以下包将被删除:
linux-headers-4.15.0-38 linux-headers-4.15.0-38-generic
linux-image-4.15.0-38-generic linux-modules-4.15.0-38-generic
linux-modules-extra-4.15.0-38-generic 0 升级,0 新安装,5
删除和 0 未升级。此操作后,336 MB 磁盘空间
将被释放。你要继续吗?[是/否](正在读取数据库...
当前安装的 268454 个文件和目录。)正在删除
linux-headers-4.15.0-38-generic (4.15.0-38.41) ... 删除
linux-headers-4.15.0-38 (4.15.0-38.41) ... 删除
linux-modules-extra-4.15.0-38-generic (4.15.0-38.41) ... 删除
linux-image-4.15.0-38-generic (4.15.0-38.41) ...
/etc/kernel/postrm.d/initramfs-tools: update-initramfs: 删除
/boot/initrd.img-4.15.0-38-generic
/etc/kernel/postrm.d/zz-update-grub:生成grub配置
文件 ... 找到 linux 映像:/boot/vmlinuz-4.15.0-42-generic 找到
initrd 镜像:/boot/initrd.img-4.15.0-42-generic 找到的 linux 镜像:
/boot/vmlinuz-4.15.0-39-generic 找到 initrd 镜像:
/boot/initrd.img-4.15.0-39-generic 为 EFI 添加启动菜单项
固件配置完成删除 linux-modules-4.15.0-38-generic
(4.15.0-38.41) ...
sudo apt-add-repository --remove 'deb http://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Run Code Online (Sandbox Code Playgroud)
没有输出。
sudo apt update
Run Code Online (Sandbox Code Playgroud)
获取:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Ign:2
https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard
./ InRelease Get:3 http://security.ubuntu.com/ubuntu
仿生安全/主要 amd64 DEP-11 元数据 [204 B] Hit:4
https://download.opensuse.org/repositories/Emulators:/Wine:/Debian /Ubuntu_18.10_standard
./ 发布获取:6 http://security.ubuntu.com/ubuntu
仿生安全/宇宙 amd64 DEP-11 元数据 [14.5 kB] Get:7
http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11
48x48 图标 [9,088 B] 获取:8 http://security.ubuntu.com/ubuntu
仿生安全/宇宙 DEP-11 64x64 图标 [36.7 kB] Get:9
http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11
128x128 图标 [65.9 kB] Hit:10 http://cy.archive.ubuntu.com/ubuntu
仿生 InRelease 获取:11
http://cy.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
获取:12 http://cy.archive.ubuntu.com/ubuntu bionic-backports InRelease
[74.6 kB] 获取:13 http://cy.archive.ubuntu.com/ubuntu
仿生更新/主 i386 包 [402 kB] 获取:14
http://cy.archive.ubuntu.com/ubuntu bionic-updates/main amd64 软件包
[459 kB] 命中:15 http://deb.playonlinux.com xenial InRelease
Ign:16 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu
仿生 InRelease 获取:17 http://cy.archive.ubuntu.com/ubuntu
仿生更新/主要 amd64 DEP-11 元数据 [245 kB] Hit:18
http://ppa.launchpad.net/deluge-team/ppa/ubuntu仿生 InRelease
命中:19 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu bionic
InRelease Hit:20 http://ppa.launchpad.net/noobslab/themes/ubuntu
仿生 InRelease 获取:21 http://cy.archive.ubuntu.com/ubuntu
仿生更新/主 DEP-11 48x48 图标 [55.7 kB] Hit:22
http://ppa.launchpad.net/rikmills/latte-dock/ubuntu仿生 InRelease
获取:23 http://cy.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11
64x64 图标 [105 kB] Ign:24 http://ppa.launchpad.net/vcmi/ppa/ubuntu
仿生 InRelease Hit:25
http://ppa.launchpad.net/webupd8team/java/ubuntu仿生 InRelease
获取:26 http://cy.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11
128x128 图标 [266 kB] 错误:27
http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu仿生
未找到版本 404 [IP: 91.189.95.83 80] Err:28
http://ppa.launchpad.net/vcmi/ppa/ubuntu仿生发布
404 未找到 [IP: 91.189.95.83 80] 获取:29
http://cy.archive.ubuntu.com/ubuntu bionic-updates/universe amd64
包 [594 kB] 获取:30 http://cy.archive.ubuntu.com/ubuntu
仿生更新/universe i386 包 [588 kB] Get:31
http://cy.archive.ubuntu.com/ubuntu bionic-updates/universe amd64
DEP-11 元数据 [199 kB] Get:32 http://cy.archive.ubuntu.com/ubuntu
仿生更新/宇宙 DEP-11 48x48 图标 [186 kB] Get:33
http://cy.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11
64x64 图标 [333 kB] Get:34 http://cy.archive.ubuntu.com/ubuntu
仿生更新/宇宙 DEP-11 128x128 图标 [767 kB] Get:35
http://cy.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64
DEP-11 元数据 [2,464 B] Get:36 http://cy.archive.ubuntu.com/ubuntu
仿生反向移植/宇宙 amd64 DEP-11 元数据 [5,812 B] 阅读
包裹清单...完成
E:存储库
' http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu仿生
Release' 没有 Release 文件。N:从这样的更新
存储库无法安全完成,因此被禁用
默认。N:有关存储库创建和用户的信息,请参阅 apt-secure(8) 联机帮助页
配置细节。E:存储库
' http://ppa.launchpad.net/vcmi/ppa/ubuntu仿生版本'没有
有一个发布文件。N:无法从这样的存储库进行更新
安全,因此默认情况下是禁用的。N:参见 apt-secure(8)
用于存储库创建和用户配置详细信息的联机帮助页。
sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)
正在阅读包列表...完成构建依赖树阅读
状态信息...完成计算升级...完成 0 升级,0
新安装,0 删除,0 未升级。
sudo apt-get install winehq-stable
Run Code Online (Sandbox Code Playgroud)
正在阅读包列表...完成构建依赖树阅读
状态信息... 完成 无法安装某些软件包。这个
可能意味着您请求了一个不可能的情况,或者如果您是
使用一些必需的软件包没有的不稳定的发行版
尚未创建或已移出 Incoming。下列
信息可能有助于解决这种情况:
以下软件包具有未满足的依赖项: winehq-stable :
取决于:wine-stable (= 3.0.4~cosmic) E:无法纠正问题,
你拿着破损的包裹。
编辑:
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Run Code Online (Sandbox Code Playgroud)
Hit:1 http://deb.playonlinux.com xenial InRelease Ign:2 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic InRelease Hit:3 http://cy.archive.ubuntu .com/ubuntu bionic InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://cy.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http:/ /ppa.launchpad.net/deluge-team/ppa/ubuntu bionic InRelease Hit:7 http://cy.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:8 http://ppa.launchpad.net/kubuntu -ppa/backports/ubuntu 仿生 InRelease Hit:9https://dl.winehq.org/wine-builds/ubuntu仿生 InRelease Hit:10 http://ppa.launchpad.net/noobslab/themes/ubuntu bionic InRelease Hit:11 http://ppa.launchpad.net/rikmills/latte-dock/ubuntu bionic InRelease Ign:12 http:/ /ppa.launchpad.net/vcmi/ppa/ubuntu bionic InRelease Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease Err:14 http://ppa.launchpad.net/damien-moore /codeblocks-stable/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] Err:15 http://ppa.launchpad.net/vcmi/ppa/ubuntu 仿生版本 404 未找到 [IP: 91.189.95.83 80] 正在读取软件包列表...完成 E:存储库'http://ppa.launchpad.net/damien-moore /codeblocks-stable/ubuntu仿生发布'没有发布文件。N:无法安全地从此类存储库进行更新,因此默认情况下禁用。N:有关存储库创建和用户配置详细信息,请参阅 apt-secure(8) 联机帮助页。E:存储库“ http://ppa.launchpad.net/vcmi/ppa/ubuntu bionic Release”没有发布文件。N:无法安全地从此类存储库进行更新,因此默认情况下禁用。N:有关存储库创建和用户配置详细信息,请参阅 apt-secure(8) 联机帮助页。
小智 34
问题是 Wine 现在依赖于 libfaudio0,但 19.10 之前的 Ubuntu 版本不将它包含在标准存储库中。
包含有关如何安装软件包的说明的 Winehq 论坛页面的链接是:https://forum.winehq.org/viewtopic.php?f=8&t=32192。
对于 Ubuntu 18.04,请执行以下操作:
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/amd64/libfaudio0_19.07-0~bionic_amd64.deb
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/libfaudio0_19.07-0~bionic_i386.deb
sudo dpkg -i libfaudio0_19.07-0~bionic_amd64.deb libfaudio0_19.07-0~bionic_i386.deb
Run Code Online (Sandbox Code Playgroud)
然后,您应该能够像往常一样进行更新和升级。
Est*_*ics 17
迟到的答复
我有一个类似的问题:我做了什么:
我使用 ubuntu / kubuntu 中的“软件和更新”工具删除了所有“葡萄酒”ppa。然后,我按照此处的指南进行操作:安装最新的 wine或 此处。
就我而言,我添加了
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
并且没有其他存储库。然后...
sudo apt update && sudo apt install --install-recommends winehq-stable
Run Code Online (Sandbox Code Playgroud)
此致,埃利亚斯·索利斯
小智 5
做 1:
sudo apt-add-repository --remove 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./'
Run Code Online (Sandbox Code Playgroud)
做2:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Run Code Online (Sandbox Code Playgroud)
3:sudo apt-get 更新
4:然后安装你喜欢的wine
sudo apt-get install --install-recommends winehq-stable
sudo apt-get install --install-recommends winehq-devel
sudo apt-get install --install-recommends winehq-staging
Run Code Online (Sandbox Code Playgroud)
希望它有效!
归档时间: |
|
查看次数: |
93651 次 |
最近记录: |