Cant install Qbittorent in Ubuntu 20.04 focal fossa [duplicate]

When updating, I get the following error message:

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

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

This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.

Is this what I should do?


Solution 1:

The PPA you've added does not support your version of Ubuntu, meaning there aren't any packages for your particular release.

For example, the ppa:mc3man/trusty-media PPA is only for Trusty (Ubuntu 14.04) only (trusty-media). Obviously, it has no files for Xenial (16.04). You can check the PPA's Launchpad page to see which versions of Ubuntu are supported.

I'd suggest the following:

  • Remove the PPA for an older release. For this example: sudo ppa-purge ppa:mc3man/trusty-media
  • If there's a PPA for your curent release, add it. In this case, there's a PPA for Xenial: mc3man/xerus-media. You can add it using sudo add-apt-repository ppa:mc3man/xerus-media

To summarize, you need to remove the added PPA, and use another one that has packages for your particular release.

Solution 2:

Remove the PPA with the line:

sudo add-apt-repository --remove ppa:mc3man/trusty-media

Now run

sudo apt-get update

Solution 3:

Yes, unchecking some tick boxes for Trusty Media and mc3man under

System Settings > Software and Updates > Other Software

did the trick. ppa-purge didn't work for me.

Solution 4:

From my personal experience I can recommend to directly contact the PPA owner (if we talk about PPA) to kindly ask him/her to prepare packages for needed (usually newer, so supported release) with steps below:

  1. Temporarily disable the PPA in your system (see other answer).
  2. Visit PPA page on https://launchpad.net and login to it.
  3. Determine the uploader's name in Uploaded by column, click on the name's hyperlink
  4. Then click on Contact this user

    Contact this user

  5. And fill the form with all necessary information:

    From: your e-mail will be shown in plain here
    Subject: Packaging of AppName for Ubuntu NN.MM release
    Message:

    Dear PPA owner!

    Thank you for your work on the AppName.
    It would be great if you create the package for it for Ubuntu NN.MM release.

    With best regards,
    user.

  6. Wait for an e-mail from PPA owner.

  7. Add PPA again to the system when package get published.
  8. Enjoy!

Solution 5:

In some cases a package meant for an older release of Ubuntu works in a newer release, too. This is currently the case with my ppa-purge PPA; see the website for instructions. Note that the official ppa-purge has had the same version 0.2.8+bzr63 since Ubuntu Xenial (16.04).