The correct metadata here is Breaks, and it is already present, see
https://salsa.debian.org/qt-kde-team/qt/qtbase/commit/78c0aa9db8684a1a.
Apt didn't remove Qt 4 because you had some packages depending on it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Shouldn’t the metadata (Conflicts, Replaces, …) reflect that, so apt can
find an upgrade path?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887959
Title:
Unable to upgrade several qt5 packages (li
That is correct behavior. You had many Qt 4 packages installed, however
Qt 4 was removed from Ubuntu, and it conflicts with the latest version
of Qt 5. So you need to remove Qt 4 in order to upgrade Qt 5.
** Changed in: qtbase-opensource-src (Ubuntu)
Status: New => Invalid
--
You received
Thank you for the quick response.
Yes, with that apt seems to be able to resolve the conflicts.
```
$ sudo apt install libqt5core5a
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libqt5dbus5 libqt5gui
What happens when you try to "apt install libqt5core5a"?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887959
Title:
Unable to upgrade several qt5 packages (libqt5gui5, …)
To manage notifications
```
$ apt list --upgradable
Listing... Done
libboost-date-time-dev/focal 1.71.0.0ubuntu2 ppc64el [upgradable from: 1.67.0.2]
libboost-dev/focal 1.71.0.0ubuntu2 ppc64el [upgradable from: 1.67.0.2]
libboost-filesystem-dev/focal 1.71.0.0ubuntu2 ppc64el [upgradable from:
1.67.0.2]
libqt5core5a/focal 5