Ubuntu 19.10 上的 WineHQ

Ubuntu 19.10 上的 WineHQ

我一直按照 wine 的步驟來安裝winehq,但是儘管我似乎已經盡力了,但我仍然收到此錯誤:

The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan Release' does not have a Release file.
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

如果有人能告訴我該從這裡去哪裡,我將不勝感激。謝謝。

這是我嘗試以下建議後的更新輸出:

antonio@mclinux:~$ sudo dpkg --add-architecture i386 
antonio@mclinux:~$ wget -nc -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
OK
antonio@mclinux:~$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
Hit:1 http://br.archive.ubuntu.com/ubuntu eoan InRelease
Hit:2 http://ppa.launchpad.net/ricotz/unstable/ubuntu eoan InRelease
Hit:3 http://br.archive.ubuntu.com/ubuntu eoan-updates InRelease    
Hit:4 http://security.ubuntu.com/ubuntu eoan-security InRelease                                
Hit:5 http://br.archive.ubuntu.com/ubuntu eoan-backports InRelease                             
Ign:6 http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan InRelease                          
Hit:7 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease            
Err:8 http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan Release      
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu eoan 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.

你能幫我看看發生了什麼事嗎?

乾杯,

答案1

does not have a release file表示儲存庫不支援您的 Ubuntu 版本,在本例中為 Ubuntu Eoan → 19.10。

您新增了已棄用/過時的儲存庫,開發人員已在 WineHQ 郵件清單上發布了有關此問題的公告https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html

您必須遵循新的 Wine 安裝指南,幸運的是 Wine 團隊透過在他們的網站上發布了完整的指南,使這一切變得簡單。地點— 您可以將其與 19.10 一起使用。

sudo dpkg --add-architecture i386 
wget -nc -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

然後安裝軟體包。

sudo apt install --install-recommends winehq-staging

根據https://dl.winehq.org/wine-builds/ubuntu/dists/eoan/main/binary-amd64/,唯一可用的版本是:stagingdevel


更新

新的儲存庫運作正常,只是您沒有刪除先前新增的舊的過時的儲存庫。

sudo add-apt-repository --remove ppa:wine/wine-builds
sudo apt update

現在應該不會有任何錯誤了。

答案2

我的19.10解決方案; (它在 Ubuntu 19.10 上對我有用)

不要使用此存儲庫:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

使用此存儲庫:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/bionic main'

winehq官網推薦了“eoan main”,但不起作用。如果您嘗試在 19.10 上使用 19.04 儲存庫,它可以正常工作:)

如果您想使用 WineHQ 19.10,請輸入以下命令;

(切換到“root”用戶。)

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
rm -rf winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
sudo apt update
sudo apt install --install-recommends winehq-stable

若要進行測試,請輸入以下命令:

winecfg

相關內容