$ LANG=C apt-get dist-upgrade -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
emacs : Depends: emacs24 or
emacs24-lucid but it is not going to be installed or
emacs24-nox but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
$ dpkg --get-selections | grep hold
$
LANG=C apt-get dist-upgrade -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
converseen emacs24 libmagick++-6.q16-5v5 libmagick++-6.q16-6v6 libmagickwand-6.q16-2
The following NEW packages will be installed:
libmagickcore-6.q16-3 libmagickwand-6.q16-3 linux-headers-4.9.0-towo.2-siduction-amd64 linux-image-4.9.0-towo.2-siduction-amd64
The following packages will be upgraded:
emacs ▶ emacs24 ▶ libmagickwand-6.q16-2
$ LANG=C apt-get dist-upgrade -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libmagick++-6.q16-5v5 libmagick++-6.q16-6v6 libmagickwand-6.q16-2
The following NEW packages will be installed:
libmagick++-6.q16-7 libmagickcore-6.q16-3 libmagickwand-6.q16-3 linux-headers-4.9.0-towo.2-siduction-amd64 linux-image-4.9.0-towo.2-siduction-amd64
The following packages will be upgraded: