From 71dfe32ab664b1932d0fac051b2859d5b4fc2b95 Mon Sep 17 00:00:00 2001 From: Aine Riordan <44700011+ariordan-redhat@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:29:06 +0000 Subject: [PATCH] 76134 DOCS:Uninstall all packages before Ubuntu reinstall (#77137) --- .../rst/installation_guide/intro_installation.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst index cc056546e82..52c2c19445d 100644 --- a/docs/docsite/rst/installation_guide/intro_installation.rst +++ b/docs/docsite/rst/installation_guide/intro_installation.rst @@ -264,6 +264,15 @@ To configure the PPA on your machine and install Ansible run these commands: .. note:: On older Ubuntu distributions, "software-properties-common" is called "python-software-properties". You may want to use ``apt-get`` instead of ``apt`` in older versions. Also, be aware that only newer distributions (in other words, 18.04, 18.10, and so on) have a ``-u`` or ``--update`` flag, so adjust your script accordingly. +If you are reinstalling Ansible, you must first fully uninstall all Ansible packages. +The following command uninstalls ``ansible-package`` and the other packages that were installed with Ansible: + +.. code-block:: bash + + $ sudo apt autoremove ansible + +The ``sudo apt remove ansible`` command only removes ``ansible-package``. + Installing Ansible on Debian ----------------------------