Hello,
I have also experienced this bug, with openoffice packages but also other.
For example, say I want to install darcs. So I press + on darcs, and there
are two versions of darcs in the archive. According to my preferences, the
lower one is selected. However, that version is uninstallable on my system,
so resolver pops up and proposes to install the higher version, and upgrade
something else. After pressing !, only the upgrade is marked.
I have debugged this and the problem seems to be in
aptitudeDepCache::apply_solution.
This function marks any package which is not kept or deleted as "auto",
which
means that, in my case, darcs will be marked as auto, and, not having any
rdepends, immediately deselected. This also affects upgrades of non-auto
packages. This is, on my system a case of openoffice.org, because I have
openoffice.org-kde installed. This is an optional package, again no
rdepends.
So instead of upgrading as the resolver promissed, it will be deleted as
unused.
When I commented out the line
MarkAuto(pkg, true);
it no longer deleted packages at will. However, I don't think this is the
correct fix. It should mark new packages which were not selected by the
user only, but I don't know how to do it.
Regards
Jiri Palecek
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]