sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:5 https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy InRelease
Err:6 https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy Release
404 Not Found [IP: 185.125.190.52 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/shutter/ppa/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.
请参阅上面的 Err:6。我尝试执行 ppa-purge:
sudo ppa-purge ppa:shutter/ppa
Updating packages lists
E: The repository 'https://ppa.launchpadcontent.net/shutter/ppa/ubuntu jammy Release' does not have a Release file.
Warning: apt-get update failed for some reason
显然我做错了什么,但我不知道是什么。任何建议都值得赞赏。
答案1
您的命令的目标ppa-purge
无效。
有问题的 PPA 是ppa:shutter/ppa
。
要删除它,请使用:
sudo ppa-purge ppa:shutter/ppa
假设没有其他问题,您可以更新系统:
sudo apt update
sudo apt upgrade