我正在尝试安装 WINE。但是出现了一些问题!

我正在尝试安装 WINE。但是出现了一些问题!

我想安装 wine,但安装不了。首先,我在终端上输入:sudo dpkg --add-architecture i386 然后我输入了以下内容: wget -nc dl.winehq.org/wine-builds/winehq.key 然后:sudo apt-key add winehq.key 下一步输入以下sudo add-apt-repository 'deb dl.winehq.org/wine-builds/ubuntu groovy main'内容:输出如下。最后我输入了 sudo apt update更新软件包

>>>>>> uyivzola@BHZD:~$ sudo dpkg --add-architecture i386 
uyivzola@BHZD:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.


>>>>>> uyivzola@BHZD:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.


>>>>>> uyivzola@BHZD:~$ sudo apt-key add winehq.key
OK
>>>>>>uyivzola@BHZD:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease             
Hit:2 http://uz.archive.ubuntu.com/ubuntu focal InRelease                
Get:3 http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Ign:4 http://ppa.launchpad.net/atareao/flameshot/ubuntu focal InRelease  
Err:2 http://uz.archive.ubuntu.com/ubuntu focal InRelease                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:5 http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease           
Hit:7 http://ppa.launchpad.net/atareao/telegram/ubuntu focal InRelease   
Err:3 http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:9 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease [6,259 B]
Ign:10 http://ppa.launchpad.net/noobslab/apps/ubuntu focal InRelease     
Err:5 http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Hit:11 http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease    
Err:11 http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease    
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
Get:12 https://dl.winehq.org/wine-builds/ubuntu groovy/main amd64 Packages [84.0 kB]
Err:8 http://security.ubuntu.com/ubuntu focal-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Err:13 http://ppa.launchpad.net/atareao/flameshot/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Err:14 http://ppa.launchpad.net/noobslab/apps/ubuntu focal Release       
  404  Not Found [IP: 91.189.95.85 80]
Get:15 https://dl.winehq.org/wine-builds/ubuntu groovy/main i386 Packages [84.1 kB]
Reading package lists... Done                                            
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://ppa.launchpad.net/atareao/flameshot/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/noobslab/apps/ubuntu focal 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.
>>>> uyivzola@BHZD:~$ sudo apt update
Hit:1 http://uz.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease             
Err:1 http://uz.archive.ubuntu.com/ubuntu focal InRelease                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Ign:4 http://ppa.launchpad.net/atareao/flameshot/ubuntu focal InRelease  
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:6 http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Err:2 http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Hit:7 https://dl.winehq.org/wine-builds/ubuntu focal InRelease           
Hit:8 http://ppa.launchpad.net/atareao/telegram/ubuntu focal InRelease   
Hit:9 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease          
Ign:10 http://ppa.launchpad.net/noobslab/apps/ubuntu focal InRelease     
Err:5 http://security.ubuntu.com/ubuntu focal-security InRelease         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Hit:11 http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease    
Err:11 http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
Err:6 http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Err:12 http://ppa.launchpad.net/atareao/flameshot/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Err:13 http://ppa.launchpad.net/noobslab/apps/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/persepolis/ppa/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://uz.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://ppa.launchpad.net/atareao/flameshot/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/noobslab/apps/ubuntu focal 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

由于 ppa 是第三方源,因此 Ubuntu 不允许您在其位于 repo 列表中时进行更新。

我建议删除该 ppa 并从 .deb 包中安装 Wine。

选项一

使用以下命令获取 CPU 详细信息:lscpu

在 64 位系统上安装 Wine:`sudo apt-get install wine64

`

选项二

从 Repo 安装 Wine

添加 I386 架构: sudo dpkg --add-architecture i386

添加 repo:wget -qO-https://dl.winehq.org/wine-builds/Release.key| sudo apt-key 添加 -

添加 repo 密钥:sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F987672F

将相关 repo 添加到列表: sudo apt-add-repository 'debhttps://dl.winehq.org/wine-builds/ubuntu/仿生主'

更新软件包列表:sudo apt-get update

安装 Wine:sudo apt-get install --install-recommends winehq-stable

相关内容