[Bug 1335006] Re: aptitude: auto-selects wrong packages
Axel Beckert
abe at debian.org
Fri Jun 27 09:01:23 UTC 2014
Hi,
Enrico Weigelt, metux ITS wrote:
> Aptitude automatically selects recommended packages.
>
> Neither --without-recommends nor setting APT::Install-Recommends seem to
> have any influence.
At least on Debian I'm always using aptitude with
APT::Install-Recommends disabled and it works as expected that way.
Additionally, we use aptitude-robot with that setting on Precise and
Trusty and it works as expected, too.
> * kick out packages which are just recommended (using apt-get)
> * start aptitude
> * press "g"
Sounds like wrong usage/expectations to me.
Please kick them out with aptitude instead of apt-get and try again.
I'm quite sure, the behaviour you described will be gone.
Background:
In comparison to apt-get, aptitude has the feature that you can
preselect packages without installing them and then install them
later. By default, this happens on the next aptitude call which does
install, upgrade or remove something.
If you installed the packages in question with aptitude, aptitude may
still remember that you told it that you want them once.
Conclusion:
The only potential issue I see here is that the package states from
apt-get are possibly not synced to aptitude in the most intuitive way.
This may be on purpose, though. At least I'm expecting such behaviour
from aptitude and use it to my advantage.
Daniel, any insight from you?
Recommendation:
Don't mix apt-get and aptitude unless you know what you're doing, i.e.
understood what the differences between aptitude and apt-get are. (And
no, I don't mean the different UIs. And yes, there are cases where you
want to mix it explicitly.)
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
** Changed in: aptitude (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1335006
Title:
aptitude: auto-selects wrong packages
Status in “aptitude” package in Ubuntu:
Incomplete
Bug description:
Aptitude automatically selects recommended packages.
Neither --without-recommends nor setting APT::Install-Recommends seem
to have any influence.
Reproduce:
* kick out packages which are just recommended (using apt-get)
* start aptitude
* press "g"
This behavious is observed since several releases, at least existing in several releases
(at least in saucy and trusty).
It renders aptitude virtually unusable in cases where you do NOT want the recommended
packages installed automatically.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1335006/+subscriptions
More information about the foundations-bugs
mailing list