【Error】 apt-get update failed : repo xxx does not have a Release file.

apt-get update 出錯,問題在於pwntools

$ apt-get update && apt-get upgrade
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Ign:3 http://ppa.launchpad.net/pwntools/binutils/ubuntu bionic InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:7 http://ppa.launchpad.net/pwntools/binutils/ubuntu bionic Release
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/pwntools/binutils/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.

 

暫時不需要pwntools,刪掉apt中 pwntools相關的文件就可以繼續更新了

$ ls /etc/apt/sources.list.d/*
pwntools-ubuntu-binutils-bionic.list  pwntools-ubuntu-binutils-bionic.list.save


$ rm -rf /etc/apt/sources.list.d/*

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章