On 27 June 2014 17:01, Axel Beckert <a...@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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1335006 Title: aptitude: auto-selects wrong packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1335006/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs