问题:更换完国内的清华源后,出现如下的问题
命中:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
命中:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
忽略:3 http://ppa.launchpad.net/pwntools/binutils/ubuntu focal InRelease
命中:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
命中:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu focal InRelease
错误:7 http://ppa.launchpad.net/pwntools/binutils/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
正在读取软件包列表... 完成
E: 仓库 “http://ppa.launchpad.net/pwntools/binutils/ubuntu focal Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
解决办法,删除ppa文件,删除命令
sudo add-apt-repository --remove ppa:/pwntools/binutils
sudo apt-get update
说明“–remove ppa:/ ”后面跟提示错误的文件名,需要根据出错的文件名来写命令
参考博文
来源:oschina
链接:https://my.oschina.net/u/4300733/blog/4504880