MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 498 forks source link

Installing MATE alongside other WMs during initial setup causes a package conflict #6959

Open anijatsu opened 8 months ago

anijatsu commented 8 months ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Expected behaviour

Actual behaviour

Extra details

MichaIng commented 8 months ago

Thanks for your report. When LXDE is installed, we install an APT config to prevent the installation of packages from the RPi OS desktop. Since LXDE is installed first when you do all in one run, the config should be present already before other desktops can pull some of those packages. So it should be even worse when installing e.g. MATE first and LXDE afterwards. Looks like we missed some package, causing the dependency conflict.

We need to make this in a better way: No pinning individual binary packages, but whole source packages, and do that OOTB on RPi images, not just on LXDE installs.

libgtk-3-0 should be however pinned, so not 100% sure why it wants to install the version from the RPi repo. Probably another RPi repo package, not installed with LXDE but with MATE, causes this.

Can you show:

apt policy libgtk-3-0