After some online research, with reference to this page:
https://unix.stackexchange.com/questions/753423/must-apt-behave-in-the-same-way-regardless-of-the-order-of-the-packages
, I managed to solve it by adding the package xterm at the end of the list.
Maybe it forces a dependency to be installed?
While trying to do a live-build and installing lxde-core and xorg, the
build is stopping with the following error:
The following packages have unmet dependencies:
luit: Breaks: x11-utils (< 7.7+6) but 7.7+5 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be