# PR #2642: apt module: update to the upgrade logic

**URL:** <https://forum.ansible.com/t/pr-2642-apt-module-update-to-the-upgrade-logic/12668>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 11, 2013, 9:21pm UTC](https://forum.ansible.com/t/pr-2642-apt-module-update-to-the-upgrade-logic/12668 "2013-04-11T21:21:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [April 11, 2013, 9:21pm UTC](https://forum.ansible.com/t/pr-2642-apt-module-update-to-the-upgrade-logic/12668/1 "2013-04-11T21:21:55Z")

</div>

Hi,

A notice to my fellow Debian/Ubuntu users: I rewrote my initial “check if aptitude exists” patch to the apt module, and rewrote a better part of the upgrade function for more consistency and added support for aptitude full-upgrade. This needs extra testing.

More details at [https://github.com/ansible/ansible/pull/2642](https://github.com/ansible/ansible/pull/2642)

Serge
