[Bug 1335006] Re: aptitude: auto-selects wrong packages
Daniel Hartwig
mandyke at gmail.com
Fri Jun 27 15:43:32 UTC 2014
On 27 June 2014 17:01, Axel Beckert <abe at debian.org> wrote:
> 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.
>
Right, that should at least correct things for now.
> 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.
>
Yes (even if you did not directly ask for those packages). In this
case I think aptitude is confused and some extended state is being
persisted that should not be. I believe there is a similar report on
bugs.d.o.
> 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.
>
A lot of guess work is involved, and it could never be a perfect match
for what every user expects. But, yes, some improvement could be
made.
> 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?
>
I agree with your recommendation not to mix apt-get and aptitude, even
if there were not a bug here.
--
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