apt purge not working when providing pip but works when provide python3-pip contrarily to apt install
sudo apt purge pip
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-pip' instead of 'pip'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt purge python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.11 libpython3.11-dev
python3-dev python3-wheel python3.11-dev zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
python3-pip*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 6838 kB disk space will be freed.
Do you want to continue? [Y/n]
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_US.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_PAPER = "fr_FR.UTF-8",
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
(Reading database ... 32781 files and directories currently installed.)
Removing python3-pip (23.0.1+dfsg-1) ...
Processing triggers for man-db (2.11.2-2) ...
Edited by Benjamin Loison