# \#apt

**URL:** https://forum.ansible.com/tag/apt/332.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Apt: stop upgrading wildcard packages with state=present](https://forum.ansible.com/t/apt-stop-upgrading-wildcard-packages-with-state-present/39603)

<div class="topic-metadata">

**Author:** [@phemmer](https://forum.ansible.com/u/phemmer)\
**Replies:** 1\
**Last updated:** [January 14, 2025, 10:49pm UTC](https://forum.ansible.com/t/apt-stop-upgrading-wildcard-packages-with-state-present/39603 "2025-01-14T22:49:09Z")

</div>

This is meant to be a discussion around issue #84466, where it was requested I open a topic here to determine whether this change should be implemented. Basically the issue at hand is to stop the apt module from upgradi…

---

## [Ansible.builtin.apt module does not work with installed Python 3.12 on target machine](https://forum.ansible.com/t/ansible-builtin-apt-module-does-not-work-with-installed-python-3-12-on-target-machine/39046)

<div class="topic-metadata">

**Author:** [@a531ac0edd70bcea93ad](https://forum.ansible.com/u/a531ac0edd70bcea93ad)\
**Replies:** 3\
**Last updated:** [December 13, 2024, 12:16pm UTC](https://forum.ansible.com/t/ansible-builtin-apt-module-does-not-work-with-installed-python-3-12-on-target-machine/39046 "2024-12-13T12:16:21Z")

</div>

I have an older Debian machine running Debian 10. This machine has installed Python 3.7.3. I cannot upgrade this machine to a newer version, need to wait for the company to release an upgrade. I upgraded my ansible inst…

---

## [APT and packages with interactive configuraton?](https://forum.ansible.com/t/apt-and-packages-with-interactive-configuraton/8834)

<div class="topic-metadata">

**Author:** [@HiPhish](https://forum.ansible.com/u/HiPhish)\
**Replies:** 3\
**Last updated:** [September 28, 2024, 10:09pm UTC](https://forum.ansible.com/t/apt-and-packages-with-interactive-configuraton/8834 "2024-09-28T22:09:53Z")

</div>

Hello, I am trying to set up Postfix on a Debian 12 web server according to this guide. About halfway through the article the author installs Postfix via sudo apt-get install postfix -y, which opens an interactive confi…

---

## [Apt deb --yes option](https://forum.ansible.com/t/apt-deb-yes-option/8796)

<div class="topic-metadata">

**Author:** [@spontarelliam](https://forum.ansible.com/u/spontarelliam)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 9:24pm UTC](https://forum.ansible.com/t/apt-deb-yes-option/8796 "2024-09-26T21:24:51Z")

</div>

I want to install vscode from a deb file on all of our machines. Installing manually looks like this: apt install --yes ./code\_1.93.1-1726079302\_amd64.deb The --yes is needed because installation prompts a yes/no quest…

---

## [Ansible apt upgraded accidently PHP 8.2 to 8.3](https://forum.ansible.com/t/ansible-apt-upgraded-accidently-php-8-2-to-8-3/3390)

<div class="topic-metadata">

**Author:** [@righter83](https://forum.ansible.com/u/righter83)\
**Replies:** 3\
**Last updated:** [January 22, 2024, 2:24pm UTC](https://forum.ansible.com/t/ansible-apt-upgraded-accidently-php-8-2-to-8-3/3390 "2024-01-22T14:24:24Z")

</div>

Hi I had a strange issue before on a Debian 12 server. I update our Debian server with Ansible: apt: update\_cache=yes force\_apt\_get=yes cache\_valid\_time=3600 apt: upgrade=dist force\_apt\_get=yes This resulted then to …
