I usually use "dist" which does "dist-upgrade" which works for me without aptitude.
I think dist-upgrade makes more sense anyway. I found this online describing the difference: >From the man-page: "upgrade is used to install the newest versions of all packages currently installed on the system ... dist-upgrade, in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages" On Fri, Oct 24, 2014 at 1:46 PM, Michael DeHaan <[email protected]> wrote: > I came from running Debian a long time ago, and have been an apt-get user > for a long time. > > Aptitude support came in with a patch for upgrade modes, as is noted > below. If these can be done without aptitude cleanly, > I am quite open to it, unless other longtime Ubuntu/Debian folks have > suggestions as to why we should not. > > - Three of the upgrade modes (C(full), C(safe) and its alias C(yes)) > require C(aptitude), otherwise C(apt-get) suffices. > > On Fri, Oct 24, 2014 at 1:12 PM, Serge van Ginderachter < > [email protected]> wrote: > >> >> On 24 October 2014 16:29, Goran Jurić <[email protected]> wrote: >> >>> I am running multiple services on lean (minimal) containers on Debian >>> and aptitude package needs to be installed on the target system if you want >>> to run: >>> >>> "apt: upgrade=full" command >>> >>> Is there a command that does the same but uses apt-get instead? >>> >> >> Right now, the ansible apt module doesn't give you that choice, no. >> >> >>> >>> Installing aptitude pulls in a bunch of dependencies and I would like to >>> avoid that if possible. >>> >> >> >> This is actually a good question. Even as a longtime Debian/Ubuntu user, >> I still find it confusing to choose between apt-get and aptitude. >> So far, the ansible module doesn't give an admin the choice here, which >> he would have been accustomed (or not) to have when doing things manually. >> >> Perhaps this should be revisited, and let the module e.g. use at-get by >> default, and aptitude as an option? >> Also, keep in mind that some functionalities (updating sources I believe) >> are not done by cli directly, but by a python library. >> >> >> Thoughts, fellow more-expert-Debian users? >> >> >> Serge >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CAEhzMJAFPwPtze%2BfGEPZW7d_DxxHD_j5jLu4ap6XGhB4fTNnVA%40mail.gmail.com >> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAFPwPtze%2BfGEPZW7d_DxxHD_j5jLu4ap6XGhB4fTNnVA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwHvw16LDCWMocg7RoRmJ_XJXZb5%2BJ084iYgqjXAGp2Ew%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwHvw16LDCWMocg7RoRmJ_XJXZb5%2BJ084iYgqjXAGp2Ew%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALGZhhs%2BFjuSJW2YjW%2B8QgYd2auDNNAKSq1SRfUyh7foHaPuJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
