如何在Ubuntu19.04上安装winehq-staging,考虑到winehq在拥有迪斯科迪斯科的存储库时已经晚了两天?
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
Get:1 http://fr.archive.ubuntu.com/ubuntu disco InRelease [257 kB]
Hit:2 http://security.ubuntu.com/ubuntu disco-security InRelease
Hit:3 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease
Hit:4 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu disco InRelease
Ign:5 https://dl.winehq.org/wine-builds/ubuntu disco InRelease
Err:6 https://dl.winehq.org/wine-builds/ubuntu disco Release
404 Not Found [IP: 151.101.122.217 443]
Hit:7 http://fr.archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:8 http://fr.archive.ubuntu.com/ubuntu disco-backports InRelease
Reading package lists... Done
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.发布于 2019-08-17 09:15:07
https://wiki.winehq.org/Ubuntu
稳定的版本将如预期的那样工作,但如果需要分阶段工作,这就是我所发现的,否则,我就会得到未解决的依赖。
名称和版本在存储库表中不匹配,因此对于
Ubuntu19.04迪斯科-> sudo apt-add-存储库'deb https://dl.winehq.org/wine-builds/ubuntu/宇宙主‘
Ubuntu18.04仿生-> sudo添加存储库'deb https://dl.winehq.org/wine-builds/ubuntu/异种主‘
发布于 2019-04-20 09:15:02
您可以很容易地使用版本的仿生(18.04.2)的时间,直到他们有一个版本。为此,您需要相应地更改源列表文件。
我假设您遵循了winehq页上提到的每一个其他步骤,您可以执行以下操作:
sudo sed -i.bak 's/disco/bionic/g' /etc/apt/sources.list.d/wine-staging.list这将更改葡萄酒暂存的源文件,并创建一个以.bak结尾的原始文件的副本。这应该是您能够
sudo apt update
sudo apt install wine-staging在你的电脑上。当他们在19.04 (迪斯科舞厅)上发布了葡萄酒版本后,您可以简单地删除更改的文件,将旧的文件重命名,然后对包进行升级:
sudo rm /etc/apt/sources.list.d/wine-staging.list
sudo mv /etc/apt/sources.list.d/wine-staging.list.bak /etc/apt/sources.list.d/wine-staging.list
sudo apt update
sudo apt upgrade wine-staginghttps://askubuntu.com/questions/1135335
复制相似问题