python3-asn1crypto/xenial,now 0.22.0-2+ubuntu16.04.1+certbot+1 all [installed,automatic]
python3-cffi-backend/xenial,now 1.5.2-1ubuntu1 amd64 [installed,upgradable to: 1.10.0-0.1+ubuntu16.04.1+certbot+1]
python3-chardet/xenial,now 2.3.0-2 all [installed,upgradable to: 3.0.4-1+ubuntu16.04.1+certbot+2]
python3-configobj/xenial,now 5.0.6-2 all [installed,upgradable to: 5.0.6-2+ubuntu16.04.1+certbot+1]
python3-cryptography/xenial,now 1.9-1+ubuntu16.04.1+certbot+2 amd64 [installed]
python3-idna/xenial,now 2.5-1+ubuntu16.04.1+certbot+1 all [installed]
python3-ndg-httpsclient/xenial,now 0.4.2-1+certbot~xenial+1 all [installed,automatic]
python3-openssl/xenial,now 17.3.0-1~0+ubuntu16.04.1+certbot+1 all [installed,automatic]
python3-pkg-resources/xenial,now 20.7.0-1 all [installed,upgradable to: 33.1.1-1+certbot~xenial+1]
python3-pyasn1/xenial,now 0.1.9-1 all [installed,upgradable to: 0.1.9-2+certbot~xenial+1]
python3-requests/xenial-updates,xenial-security,now 2.9.1-3ubuntu0.1 all [installed,upgradable to: 2.18.1-1+ubuntu16.04.1+certbot+1]
python3-six/xenial,now 1.10.0-3 all [installed,upgradable to: 1.11.0-1+ubuntu16.04.1+certbot+1]
python3-urllib3/xenial-updates,xenial-security,now 1.13.1-2ubuntu0.16.04.4 all [installed,upgradable to: 1.21.1-1+ubuntu16.04.1+certbot+1]
They seem to be just standalone packs but what really +certbot+ means.
Please how to tell who depends on these and ensure that all certbpt deps are completely removed?
sudo apt-get purge python3-certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'python3-certbot' is not installed, so not removed
I suppose that Ubuntu 16 is so old that not only can you no longer install anything from apt, you can no longer fully uninstall anything from apt.
But that is just my guess.
Can you do?: apt install certbot
If so, then do: apt remove certbot
If not, then that is an indication of apt no longer knowing exactly what to do.
thx for your reply
The install doesn't suggest this libs as well
sudo apt install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-acme python3-certbot python3-configargparse python3-funcsigs python3-future python3-icu python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt
python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface
Suggested packages:
python3-certbot-apache python3-certbot-nginx python-certbot-doc python-acme-doc python-funcsigs-doc python-future-doc python-mock-doc
The following NEW packages will be installed:
certbot python3-acme python3-certbot python3-configargparse python3-funcsigs python3-future python3-icu python3-josepy python3-mock python3-parsedatetime python3-pbr
python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface
0 upgraded, 18 newly installed, 0 to remove and 99 not upgraded.
Need to get 1,177 kB of archives.
After this operation, 6,393 kB of additional disk space will be used.
Do you want to continue? [Y/n]
But what these +certbot+ could mean. Does this really (in theory / by some conventions) show a a dependency of certbot on these?
I added certbot [to Ubuntu 16.04.7]: apt install certbot
Then I did your steps and everything that was added was removed.
So, I think more than just certbot has been added.
I would not remove anything manually.
Try adding/removing these other packages:
apt list | grep certbot
certbot/xenial-updates,xenial-updates 0.27.0-1~ubuntu16.04.1 all
python-certbot/xenial-updates,xenial-updates 0.27.0-1~ubuntu16.04.1 all
python-certbot-apache/xenial-updates,xenial-updates 0.23.0-1~ubuntu16.04.1 all
python-certbot-apache-doc/xenial-updates,xenial-updates 0.23.0-1~ubuntu16.04.1 all
python-certbot-doc/xenial-updates,xenial-updates 0.27.0-1~ubuntu16.04.1 all
I've checked another twin. instance and it has. additionally python3-certbot.
What I've tried is to force install python3-certbot and it actually logged a lot of such +certbot+ while install
Some of them are going to be version upgrades to packages that are in the base Xenial repositories.
For example, in most cases python3-requests is relied upon by other packages on your system, so removing it is not an option. But you can upgrade it to a package newer than both the PPA and Xenial (such as from Ubuntu Bionic .... boy you really have a long way to upgrade).