There is no strict alternative in apt. The closest would be `apt-get upgrade` which does not install or remove dependencies. See https://askubuntu.com/questions/117088/aptitude-safe-upgrade-equivalence-with-apt-get.
But there is also this bug which may be annoying https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=146207 (see also http://www.boxever.com/controlling-os-upgrades-with-ansible). I am not sure what the correct and expected behaviour would be. I think it not obvious that an apt module requires aptitude (and I did not see it in the documentation, but this may be my fault) but on the other hand, I am not sure what the expected default behaviour of upgrade should be. -- Phyks Le 26/06/2015 18:40, Brian Coca a écrit : > I would be open to a patch for the module to use an alternative if it > is not present. > > > -- > Brian Coca > > -- > 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/CAJ5XC8nM8%3Dh_qjvSwcxtF0xMfPyjQKyWatHa2n3DK1hEN7ZS0w%40mail.gmail.com. > 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/558F0661.4050909%40phyks.me. For more options, visit https://groups.google.com/d/optout.
