Apt 업데이트가 Wireguard에 오류를 제공함

Oct 12 2020

적절한 업데이트를 실행하려고 할 때 다음 오류가 발생합니다.

sudo apt update
Hit:1 http://ro-mirrors.evowise.com/ubuntu focal InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://ro-mirrors.evowise.com/ubuntu focal-backports InRelease           
Hit:4 http://ro-mirrors.evowise.com/ubuntu focal-updates InRelease             
Hit:5 http://ppa.launchpad.net/bashtop-monitor/bashtop/ubuntu focal InRelease  
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease               
Hit:7 http://archive.canonical.com/ubuntu focal InRelease                
Hit:8 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease     
Err:9 http://ppa.launchpad.net/wireguard/wireguard/ubuntu focal InRelease
  403  Forbidden [IP: 91.189.95.83 80]
Reading package lists... Done                      
E: Failed to fetch http://ppa.launchpad.net/wireguard/wireguard/ubuntu/dists/focal/InRelease  403  Forbidden [IP: 91.189.95.83 80]
E: The repository 'http://ppa.launchpad.net/wireguard/wireguard/ubuntu focal InRelease' is no longer 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.

포인터가 있습니까? 명령을 실행했을 때 지난주와 변경된 사항이 없습니다 (작업 기계이므로 주말 동안 사용하지 않았습니다).

일반 정보 : XPS13 | Ubuntu 20.04 | 5.7.1 커널 | 그놈 3.36.3

답변

10 N0rbert Oct 12 2020 at 20:25

언급 된 https://launchpad.net/%7Ewireguard 더 이상 패키지를 제공하지 않습니다.

당신은 그것을 제거해야합니다

sudo apt-add-repository -r ppa:wireguard/wireguard

대신 유니버스 포켓 을 추가 하고https://packages.ubuntu.com/search?keywords=wireguard&searchon=names&suite=focal&section=all 그것에서:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install wireguard
5 maxis Oct 12 2020 at 20:27

링크에서 https://launchpad.net/%7Ewireguard 그것은 말한다 :

이전에는 Ubuntu에서 WireGuard 용 PPA를 생성했습니다. 이 기능은 이제 Ubuntu 자체로 접혀 졌으므로 이전 PPA는 제거되었습니다. apt install wireguard16.04 이상의 모든 Ubuntu에서 실행하기 만하면 됩니다.

각 apt-get update 명령은 패키지 정보를 가져 오려고하지만 제거 되었기 때문에 실패합니다. 다음 명령을 사용하여 시스템에서 ppa를 제거하면 오류가 사라집니다.

sudo add-apt-repository --remove ppa:wireguard/wireguard

또한 다른 버전이 필요하지 않는 한 우분투의 공식 아카이브 미러에서 패키지를 사용할 수있는 경우 PPA를 사용하지 않는 것이 좋습니다.