如何解决 apt-get apdate 后的错误(E/W/N)?

如何解决 apt-get apdate 后的错误(E/W/N)?

我现在正在运行 22.04 LTS。之后sudo apt update,我收到以下错误:

Hit:1 https://mirror.xeonbd.com/ubuntu-archive jammy InRelease
Hit:2 https://mirror.xeonbd.com/ubuntu-archive jammy-updates InRelease         
Hit:3 https://mirror.xeonbd.com/ubuntu-archive jammy-backports InRelease       
Get:4 https://brave-browser-apt-release.s3.brave.com stable InRelease [7,546 B]
Hit:5 https://mirror.xeonbd.com/ubuntu-archive jammy-security InRelease        
Ign:6 https://repo.vivaldi.com/stable/deb stable InRelease                     
Hit:7 https://repo.vivaldi.com/stable/deb stable Release                       
Hit:8 https://pkg.surfacelinux.com/debian release InRelease      
Err:4 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
Hit:10 https://ppa.launchpadcontent.net/ubuntuhandbook1/gdm-settings/ubuntu jammy InRelease
Ign:11 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu jammy InRelease
Err:12 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu jammy Release
  404  Not Found [IP: 185.125.190.80 443]
Reading package lists... Done
W: GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
E: The repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' is not signed.
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 'https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu jammy 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.

sudo apt remove brave-browser我通过和卸载了 brave 浏览器sudo apt purge brave-browser。我还删除了 brave 浏览器的缓存和配置文件。

相关内容