0

How can I fix these errors I get when running APT?

enter image description here

Running ppa-purge gives error below

Updating packages lists
W: The repository 'http://ppa.launchpad.net/chris-lea/libsodium/ubuntu xenial Release' does not have a Release file.
W: The repository 'http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial Release' does not have a Release file.
W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/chris-lea/libsodium/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning:  apt-get update failed for some reason

marked as duplicate by muru, karel, Zanna, Eric Carvalho, Anwar Apr 16 '17 at 15:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @muru I think you're correct. – Simon Quigley Mar 29 '17 at 3:47
  • @Zanna I am running a Ubuntu server on a VPS – Joyal Apr 1 '17 at 5:19
0

It looks like you added a PPA and this PPA either is no longer active or does not include packages for Xenial. In order to remove this PPA, you should run the following commands:

sudo ppa-purge ppa:chris-lea/libsodium
sudo ppa-purge ppa:mc3man/trusty-media

That removed the two PPAs that are causing that error, according to your screenshot. After you're done, you can run this to update the repository information:

sudo apt update
  • Thanks, does the ppa xenial release file not found matter? – Joyal Mar 29 '17 at 6:40
  • So that didnt seem to work, running it gave me this code listed above – Joyal Apr 1 '17 at 5:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.