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 Touch seeded packages, which is subscribed to indicator-datetime in Ubuntu. https://bugs.launchpad.net/bugs/1754872 Title: apt install xubuntu-desktop does not resolve dependencies properly Status in apt package in Ubuntu: Invalid Status in gnome-control-center package in Ubuntu: Invalid Status in indicator-datetime package in Ubuntu: Invalid Status in xubuntu-meta package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1. Install `xubuntu-desktop` meta package on 18.04 LTS 2. Login to session 3a. Click on clock indicator on panel, select "Time & Date Settings" 3b. Click on Gear, select "About this Computer" or "System Settings" 3c. Click on keyboard layout indicator, select "Text Entry Settings" Expected results: xfce-oriented control center is opened Actual results: gnome-control-center is opened, but with empty window. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: xubuntu-desktop 2.223 ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3 Uname: Linux 4.15.0-10-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 CurrentDesktop: XFCE Date: Sat Mar 10 21:10:11 2018 SourcePackage: xubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1754872/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp