0

I did what the site says :

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
sudo apt-get update && sudo apt-get install qbittorrent 

Then I get the error message:

The following packages have unmet dependencies:
 qbittorrent : Depends: libqt5xml5 (>= 5.9.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Kulfy
  • 17,416
  • 26
  • 64
  • 103
Manul667
  • 1
  • 1
  • Site? Which site? – Kulfy Sep 15 '21 at 15:28
  • Does this answer your question? [How do I restore the default repositories?](https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories) as I can't reproduce on fresh on 20.04 LTS VM with only qbittorrent PPA added. – N0rbert Sep 15 '21 at 15:31
  • Their site, qbittorrent site. – Manul667 Sep 15 '21 at 15:40
  • libqt5xml5 : Ubuntu 18.04 only https://packages.ubuntu.com/search?mode=exactfilename&suite=bionic&section=all&arch=amd64&keywords=libqt5xml5&searchon=names – Knud Larsen Sep 15 '21 at 17:27
  • I'm on 20.04, thank you. – Manul667 Sep 15 '21 at 18:04
  • 1
    The package is available without adding any PPAs - https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=qbittorrent ; it's a community package so you only need to enable 'universe' - is that your issue? You're not sure how to enable universe? https://help.ubuntu.com/community/Repositories/Ubuntu – guiverc Sep 15 '21 at 22:27
  • 1
    @guiverc Thank you, that was my issue not enabling the options in "downloadable from the internet". – Manul667 Sep 17 '21 at 14:28
  • 1
    See [Are PPAs safe to add to my system and what are some "red flags" to watch out for?](https://askubuntu.com/questions/35629/are-ppas-safe-to-add-to-my-system-and-what-are-some-red-flags-to-watch-out-for). PPA is an avenue of last resort. If a package is already in repos, it's not a good idea to add a PPA unless you need a specific package version provided by the PPA. Even then, conflicting dependencies can break your system. Best to stick with the software in repos when it's available. – Nmath Oct 01 '21 at 23:32

0 Answers0