When updating I get the error

W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.

I found a similar issue here: The maas/stable/ubuntu xenial repository does not have a Release file

But that solution didn't fix my problem. Here's the contents of my etc/apt/sources.list file.

# deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

I saw on another website someone had a similar issue and for whatever reason replacing "True" with "xenial" in this file fixed his issue. Clearly for me that's not my issue.

Here I find another statement on this error: How can I fix a 404 Error when using a PPA or updating my package lists?

But this recommends removing certain ppas and I'm not sure if I should do that since it might mean not getting the updates I need. Is this what I should do?

share|improve this question
up vote 6 down vote accepted

The PPA you've added is for Trusty only (trusty-media). Obviously, it has no files for 16.04.

The PPA for Xenial is here: https://launchpad.net/~mc3man/+archive/ubuntu/xerus-media.

I'd suggest the following:

  • Remove the 14.04 PPA - sudo ppa-purge ppa:mc3man/trusty-media

  • Add the 16.04 PPA - sudo add-apt-repository ppa:mc3man/xerus-media

share|improve this answer
3  
So first thing: I didn't have ppa-purge so as a note if anyone in the future reads this answer: You may first need to get it by running sudo apt-get install ppa-purge. – Addem Jan 1 '17 at 23:02
    
Second, I tried the first bullet point and I got the warning Warning: apt-get update failed for some reason after some other error messages that usually come with sudo apt-get update. – Addem Jan 1 '17 at 23:03
    
Also after doing the second bullet point and then running sudo apt-get update I get the usual error messages. I'm guessing at this point I should disable the associated Trust Media thing. – Addem Jan 1 '17 at 23:05
    
Yep, after un-checking some check boxes for Trusty Media and mc3man under System Settings > Software and Updates > Other software, then I ran update again and get no error messages. I have about 90% confidence I didn't remove anything that I need. – Addem Jan 1 '17 at 23:09
1  
If you don't have ppa-purge just use sudo add-apt-repository -r ppa:… instead. – dessert Oct 1 '17 at 21:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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