Apt repo conflict - qtbase5-dev / rbp2-mesa-osmc

Hello,

It seems that there is a conflict between OSMC & debian repo’s.

When I try to install “qtbase5-dev” package (distributed by debian repo), i cannot because of “rbp2-mesa-osmc”.

Here is the apt install log :

sudo apt install qtbase5-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rbp2-mesa-osmc : Conflicts: libegl1
Conflicts: libgl1
Conflicts: libglx0
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Here is the detailled content of the rpb2-mesa package :

apt show rbp2-mesa-osmc
Package: rbp2-mesa-osmc
Origin: OSMC
Version: 23.2.0-2
Essential: No
Maintainer: Sam G Nazarko email@samnazarko.co.uk
Priority: optional
Section: libs
Filename: pool/main/r/rbp2-mesa-osmc/rbp2-mesa-osmc_23.2.0-2_armhf.deb
Size: 2813184
SHA256: 5133fffa62b4e9756a914194eef225eadf6c68c5c11c8bf2852344de24bb59cb
SHA1: a38a0e5b03c826408e7b813d74c1aa129c855042
MD5sum: 4982d4c28483724ac5bb0bcdf2ce2ae7
Description: MESA graphical libraries for OSMC
Description-md5: 66b7638fc0e5ca807255962445b869ea
Depends: libexpat1, zlib1g
Provides: libegl-mesa0, libegl1, libgl1, libgl1-mesa-dri, libglapi-mesa, libglx-mesa0, libglx0
Replaces: libegl-mesa0, libegl1, libgl1, libgl1-mesa-dri, libglapi-mesa, libglx-mesa0, libglx0
Conflicts: libegl-mesa0, libegl1, libgl1, libgl1-mesa-dri, libglapi-mesa, libglx-mesa0, libglx0
Architecture: armhf
Installed-Size: 10337

And qtbase5-dev one :

sudo apt show qtbase5-dev
Package: qtbase5-dev
Source: qtbase-opensource-src
Version: 5.15.2+dfsg-9
Installed-Size: 14416
Maintainer: Debian Qt/KDE Maintainers debian-qt-kde@lists.debian.org
Architecture: armhf
Replaces: qt5-qmake (<< 5.11.3+dfsg-3~), qtbase5-dev-tools (<< 5.12.5+dfsg-3~), qtbase5-private-dev (<< 5.11.3+dfsg-5~)
Depends: libegl-dev, libgles-dev, libqt5concurrent5 (= 5.15.2+dfsg-9), libqt5core5a (= 5.15.2+dfsg-9), libqt5dbus5 (= 5.15.2+dfsg-9), libqt5gui5 (= 5.15.2+dfsg-9), libqt5network5 (= 5.15.2+dfsg-9), libqt5printsupport5 (= 5.15.2+dfsg-9), libqt5sql5 (= 5.15.2+dfsg-9), libqt5test5 (= 5.15.2+dfsg-9), libqt5widgets5 (= 5.15.2+dfsg-9), libqt5xml5 (= 5.15.2+dfsg-9), libvulkan-dev, libxext-dev, qt5-qmake (= 5.15.2+dfsg-9), qtbase5-dev-tools (= 5.15.2+dfsg-9), qtchooser
Recommends: libqt5opengl5-dev (= 5.15.2+dfsg-9)
Suggests: default-libmysqlclient-dev, firebird-dev, libpq-dev, libsqlite3-dev, unixodbc-dev
Conflicts: qtbase5-gles-dev
Breaks: qt5-default (<< 5.15.1+dfsg-2~), qt5-qmake (<< 5.11.3+dfsg-3~), qtbase5-dev-tools (<< 5.12.5+dfsg-3~), qtbase5-private-dev (<< 5.11.3+dfsg-5~)
Description-en: Qt 5 base development files
Qt is a cross-platform C++ application framework. Qt’s primary feature
is its rich set of widgets that provide standard GUI functionality.
.
This package contains the header development files used for building Qt 5
applications.
.
If you are interested in packaging Qt 5 stuff please take a look at
The Debian KDE maintainers website
Description-md5: eb1a5e244bfc7327cfdf56f6aff9cab9
Multi-Arch: same
Homepage: For developers | Cross-platform development
Tag: devel::lang:c++, devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/q/qtbase-opensource-src/qtbase5-dev_5.15.2+dfsg-9_armhf.deb
Size: 1094908
MD5sum: 89707fe4b629323c2a1a2e8a4a8cb271
SHA256: f859f342306d4a8dcbe45664668c40cb1f065c971bdf15eb90071192d1ce7a74

Do you think you can do something?

Regards

  1. Login via the command line
  2. Run the following command to add the staging repository:
    echo 'deb http://apt.osmc.tv bullseye-devel main' | sudo tee /etc/apt/sources.list.d/osmc-devel.list
  3. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  4. Your system should have have received the update.

Please see if the issue is resolved.

I also recommend you remove /etc/apt/sources.list.d/osmc-devel.list after updating.

This will deactivate the staging repository. You can do so with the following command:
sudo rm /etc/apt/sources.list.d/osmc-devel.list.

Please note that we will automatically disable this update channel after 14 days on your device in case you forget to do so to ensure that your system reverts to the stable update channel.

Hello Sam,

Thanks for your fast answer :slight_smile:
Everything seems to work.

Have a good day!!

Regards