Hello Holger, lists,

On 22/01/2023 18:27, Roland Clobus wrote:
On 22/01/2023 16:48, Holger Wansing wrote:
Your proposal


   Depends: ${misc:Depends},
            task-desktop,
+ # Mention the preferred theme before sddm, otherwise another theme will be used
+          sddm-theme-debian-elarun | sddm-theme,
            sddm,
-          sddm-theme-debian-elarun | sddm-theme-debian-elarun,
            lxqt,


will not work.

I've done some additional tests: installing 'lxqt' and 'task-desktop-lxqt' both without and with the command line switch '--no-install-recommends'.

The package 'lxqt' pulls in 'sddm-theme-debian-elarun' and 'sddm'.
The next bigger package 'task-desktop-lxqt' additionally pulls in 'kde-config-sddm', 'sddm-theme-breeze' and 'sddm-theme-debian-breeze'

When the switch '--no-install-recommends' is used, 'lxqt' does not pull in 'sddm' any more. 'task-desktop-lxqt' has the same sddm-releated packages as 'lxqt' without the command line switch.

So the test case of 'task-desktop-lxqt' without '--no-install-recommends' is the failing case.

Could the dependency chain in the 'task-desktop-lxqt' package instead be changed to mention 'lxqt' before the 'sddm*' dependencies?
I've tested that with live-build, and I get a correct ISO image.

With kind regards,
Roland Clobus

--- Commands to reproduce the test cases
--- Note: I work on /dev/shm and use my apt-cacher-ng proxy on 192.168.0.15

mount /dev/shm -odev,exec,remount,size=24G
mkdir /dev/shm/task
cd /dev/shm/task
debootstrap testing chroot http://deb.debian.org/debian/
cp -a chroot chroot.orig
chroot chroot /bin/bash -c "http_proxy=http://192.168.0.15:3142 DEBIAN_FRONTEND=noninteractive apt --yes install lxqt"
chroot chroot dpkg-query -l | grep sddm
-> sddm, sddm-theme-debian-elarun

rm -fr chroot
cp -a chroot.orig chroot
chroot chroot /bin/bash -c "http_proxy=http://192.168.0.15:3142 DEBIAN_FRONTEND=noninteractive apt --yes install task-lxqt-desktop"
chroot chroot dpkg-query -l | grep sddm
-> kde-config-sddm, sddm, sddm-theme-breeze, sddm-theme-debian-breeze, sddm-theme-debian-elarun

rm -fr chroot
cp -a chroot.orig chroot
chroot chroot /bin/bash -c "http_proxy=http://192.168.0.15:3142 DEBIAN_FRONTEND=noninteractive apt --yes --no-install-recommends install lxqt"
chroot chroot dpkg-query -l | grep sddm
-> sddm-theme-debian-elarun

rm -fr chroot
cp -a chroot.orig chroot
chroot chroot /bin/bash -c "http_proxy=http://192.168.0.15:3142 DEBIAN_FRONTEND=noninteractive apt --yes --no-install-recommends install task-lxqt-desktop"
chroot chroot dpkg-query -l | grep sddm
-> sddm, sddm-theme-debian-elarun

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to