-1

When I try to update the system via sudo apt update I get the following error message:

E: The repository 'https://ppa.launchpadcontent.net/micahflee/ppa/ubuntu jammy Release' does not have a Release file.

Does anyone know how to delete this repository which is not needed in my case, I tried sudo ppa-purge but it didn't work? Thank you for your help!

  • what does "didn't work" mean? did you get an error message, or something else? What command did you use, exactly? – Esther Jun 27 '22 at 20:19
  • Does this answer your question ? https://askubuntu.com/questions/866901/what-can-i-do-if-a-repository-ppa-does-not-have-a-release-file – Saxtheowl Jun 27 '22 at 20:21
  • Unfortunately not, I've already tried to delete it with ppa-purge but then I get the error: sudo: ppa-purge: command not found – Bennet Weber Jun 27 '22 at 20:24
  • 1
    "Command not found" in this context means ppa-purge isn't installed. – ChanganAuto Jun 27 '22 at 20:31
  • I just installed ppa-purge and now when I try [sudo ppa-purge https://ppa.launchpadcontent.net/micahflee/ppa/ubuntu jammy Release] I get the following error: E: The repository 'https:// ppa.launchpadcontent.net/micahflee/ppa/ubuntu jammy Release' does not have a Release file. E: The repository 'https://ppa.launchpadcontent.net/system76/pop/ubuntu jammy Release' does not have a Release file. Warning: apt-get update failed for some reason – Bennet Weber Jun 27 '22 at 20:37

1 Answers1

3
$ apt-add-repository --help
...
Options:
  -h, --help            show this help message and exit
  -m, --massive-debug   Print a lot of debug information to the command line
  -r, --remove          remove repository from sources.list.d directory
...

In 20.04; but I expect it to be the same...

Hannu
  • 5,374
  • 1
  • 23
  • 40
  • I've already tried that but always get the following error message: sudo: ppa-purge: command not found – Bennet Weber Jun 27 '22 at 20:32
  • but thanks for the willingness to help – Bennet Weber Jun 27 '22 at 20:33
  • The command is sudo apt-add-repository -r .... – ChanganAuto Jun 27 '22 at 20:36
  • when I use sudo apt-add-repository I get the following back after running the command: E: The repository 'https://ppa.launchpadcontent.net/micahflee/ppa/ubuntu jammy Release' does not have a Release file. E: The repository 'https://ppa.launchpadcontent.net/system76/pop/ubuntu jammy Release' does not have a Release file. – Bennet Weber Jun 27 '22 at 20:42
  • @BennetWeber that's because you need to use ppa:micahflee/ppa or whatever, not the whole link. like sudo apt-add-repository -r ppa:micahflee/ppa – Esther Jun 27 '22 at 20:49
  • @BennetWeber with ppa-purge you do sudo ppa-purge <link> (NO jammy or Release needed) – Esther Jun 27 '22 at 20:51
  • @Esther As you can see, I'm a newbie to Linux and Unix in general, thanks a lot! – Bennet Weber Jun 27 '22 at 20:54