Wine 3.x 存储库 404 错误

Wine 3.x 存储库 404 错误

我一直在尝试安装 wine,但存储库未添加。我已添加发布密钥,但它似乎也无法识别。请帮忙... >.<

$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease                                    
Hit:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease                 
Ign:3 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                                       
Err:4 https://dl.winehq.org/wine-builds/ubuntu bionic Release                              
  404  Not Found [IP: 151.101.40.69 443]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [83.2 kB]
Hit:6 http://ppa.launchpad.net/forkotov02/ppa/ubuntu bionic InRelease
Hit:7 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu bionic InRelease                                                                                                                                                                                                     
Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                                                                                           
Hit:9 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic InRelease                                                                                                                                                                                                      
 Get:10 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]                         
Hit:11 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu bionic InRelease                                                                                                                                                                               
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [6,132 B]                                                                                                                                                                                 
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [5,364 B]                                                                                                                                                                             
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [12.8 kB]                                                                                                                                                                                
 Get:15 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]                                                                                                                                                                                  
Get:16 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2,456 B]                                                                                                                                                                            
Reading package lists... Done                                                                                                                                                                                                                                               
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic 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

今天早上我使用了以下博客来修复从 17.10 升级后出现故障的所有 wine 程序。
https://linuxconfig.org/install-wine-on-ubuntu-18-04-bionic-beaver-linux
他们列出了以下对我有用的方法。

wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -
sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ artful main'

相关内容