There is no correct behavior here.

xubuntu-desktop depends on lightdm, lightdm-gtk-greeter; so apt will
install lightdm which Recommends unity-greeter | lightdm-greeter |
lightdm-kde-greeter. Hence apt installs unity-greeter. Then it installs
lightdm-gtk-greeter.

Telling apt to install xubuntu-desktop and lightdm-gtk-greeter means you
made the choice to use that, and thus don't need unity-greeter.

Just not installing unity-greeter is (a) not possible in a greedy
algorithm and (b) leads to wrong results in other cases (like installing
an sqlite backend for something instead of an mysql one because it has
fewer packages). The EDSP solvers and the kalel solver can do that.

That said, for the future solver generation, my goal is to behave
similar to now, but more strict. If something depends on A|B,  the
solver will inject a Recommends: A, unless B is already installed or
manually marked for install. This will cause even more packages to be
installed than now in some situations, but it's the best compromise we
can offer.

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1754872

Title:
  apt install xubuntu-desktop does not resolve dependencies properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1754872/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to