apt-get/aptitude bustage with gnucash
On Sun, Jul 20, 2008 at 09:36:15PM -0000, Cameron Hutchison <email@example.com> was heard to say:
> I have just attempted a dist-upgrade with bost apt-get and aptitude,
> and both of them want to remove gnucash from my system (sid). This seems
> to be busted.
> At the moment there is a new gnucash-common (2.2.4-2) but no new gnucash
> package to match.*Normally that's ok and apt will not upgrade
> gnucash-common, but for some reason, this time it wants to upgrade
> gnucash-common and remove gnucash to resolve the conflict.
The basic problem is that you have a brain and apt* don't. Sometimes
it's necessary to remove some packages in order to get an upgrade to go
through for one reason or another. When you run a dist-upgrade or
full-upgrade, apt will aggressively try to upgrade as many packages as
possible, even if it has to remove a few in order to do so. This is
where the brain comes in: you know the informal, contextual fact that
gnucash-common makes no sense without gnucash, but apt doesn't have
access to this information. So it figures that it can get another
upgrade to go through by throwing away gnucash.
There are weights against generally removing packages, but because apt
lacks a brain they sometimes fail to prevent it from being stupid (or
they just cause it to be stupid in a more conservative way). I don't
know for sure what your situation is -- but I know that aptitude tries
hard to avoid doing nothing on a full-upgrade, so if the gnucash-common
upgrade is the only thing available it'll pull out all the stops trying
to find a way to include it.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org