hirsute ppa: Missing build dependencies: qtbase5-dev
we have an issue that the PPA build complains:
Missing build dependencies: qtbase5-dev
See:
https:/
The following packages have unmet dependencies:
libqt5opengl5 : Depends: libqt5gui5 (>= 5.1.0) but it is not installable
libqt5opengl5-dev : Depends: qtbase5-dev (= 5.15.2+dfsg-2) but it is not installable
libqt5x11extra
However, the packages should be available:
https:/
How can we solve this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Daniel Schürmann
- Solved:
- 2021-01-21
- Last query:
- 2021-01-21
- Last reply:
- 2021-01-21
This question was originally filed as bug #1912620.
Colin Watson (cjwatson) said : | #1 |
This isn't a bug in the Launchpad software, so I'm turning it into a support request.
Colin Watson (cjwatson) said : | #2 |
"... but it is not installable" is apt's (confusing) way of saying that the package exists but can't be installed, perhaps because it has unsatisfied dependencies in and of itself or perhaps because its dependencies can't be installed simultaneously with your other build-dependencies.
To find out what the real problem is, you typically have to ask apt some more questions manually. The "chdist" tool is a good way to set up a suitable scratch environment - you won't be able to actually install packages that way, but it's good for checking whether packages are installable and if not why. In this case:
$ chdist create mixxx
$ cat >~/.chdist/
deb http://
deb-src http://
deb-src [allow-
$ chdist apt mixxx update
$ chdist apt mixxx build-dep mixxx
[...]
The following packages have unmet dependencies.
builddeps:mixxx : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Now you can dig into why apt is upset by listing out all your build-dependencies, and progressively adding packages from the error message until it tells you the actual reason:
$ chdist apt mixxx install debhelper pkg-config docbook-to-man markdown libglu1-mesa-dev qt5-default qt5keychain-dev qtdeclarative5-dev qtscript5-dev libqt5opengl5-dev libqt5svg5-dev libqt5sql5-sqlite libqt5x11extras
[...]
The following packages have unmet dependencies.
libqt5opengl
libqt5x11ext
$ chdist apt mixxx install debhelper pkg-config docbook-to-man markdown libglu1-mesa-dev qt5-default qt5keychain-dev qtdeclarative5-dev qtscript5-dev libqt5opengl5-dev libqt5svg5-dev libqt5sql5-sqlite libqt5x11extras
[...]
The following packages have unmet dependencies.
libqt5opengl5 : Depends: libqt5gui5 (>= 5.1.0) but it is not going to be installed
qt5-default : Depends: qtbase5-dev (= 5.14.2+dfsg-6) but 5.15.2+dfsg-2 is to be installed or
qtbase5-dev : Depends: libqt5gui5 (= 5.15.2+dfsg-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Here's the key line:
qt5-default : Depends: qtbase5-dev (= 5.14.2+dfsg-6) but 5.15.2+dfsg-2 is to be installed or
Looking at the package description for qt5-default, it says:
This package should not be used for building Debian packages. Take a
look at https:/
more information.
... and in any case in https:/
* Remove qt5-default. Nowadays it's not needed as Qt 5 is the only Qt version
in Debian and it brought more problems than solutions.
The qt5-default binary package is still in hirsute, but it's due for removal once a few more build-dependencies have been sorted out, and as you can see from all this it's uninstallable.
So, while I'm not a Qt packaging expert, it looks as though you need to remove qt5-default from your Build-Depends.
Daniel Schürmann (daschuer) said : | #3 |
Thank you for all the efforts to look into this case.
I will give it a try.
Daniel Schürmann (daschuer) said : | #4 |
Dada ... it works:
https:/