Bug#727082: apt: dist-upgrade says "no longer required" and "will be installed" for the same packages
Hi,
On Tue, Oct 22, 2013 at 8:08 AM, Ph. Marek <philipp.marek@linbit.com> wrote:
> $ LANG=C apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... The following packages were automatically installed and
> are no longer required:
> gir1.2-gstreamer-1.0 python3-enchant python3-gtkspellcheck
> Use 'apt-get autoremove' to remove them.
> Done
This shows a "display bug" – there shouldn't be code printing stuff between
"Calculating upgrade…" and "Done", but it looks like the recent reshuffling of
code made it happen.
> The following packages have been kept back:
> gaupol
This should be the reported problem itself.
I presume you have 0.19.2-1 installed and apt is trying to upgrade you to
0.24.3-1, but decides against it because of $REASON.
I can construct a testcase here with conflicting packages as $REASON,
but I guess your $REASON is different which would be interesting to know
so that we can cover all bases. Running:
$ apt-get dist-upgrade -s -o Debug::pkgProblemResolver=1 -o
Debug::pkgDepCache::Marker=1 -o Debug::pkgDepCache::AutoInstall=1
should print a bunch of stuff telling us what the $REASON is.
Best regards
David Kalnischkies
Reply to: