Can't remove phyton3.6 and leave only phyton3.8 - aftects to many other packages
According to https:/
Phyton python3.6 has vulnerabilities, so I install phyton3.8:
#python3 --version
Python 3.6.9
#sudo apt update
#sudo apt install python3.8
#sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
#sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
#sudo update-alternatives --config python3
There are 2 choices for the alternative python3 (providing /usr/bin/python3).
Selection Path Priority Status
-------
* 0 /usr/bin/python3.6 1 auto mode
1 /usr/bin/python3.6 1 manual mode
2 /usr/bin/python3.8 2 manual mode
#python3 --version
Python 3.8.0
But now I can't remove the 3.6 because it is marked as dependency by too many packages
is there a way to remove it without affecting the dependencies?
# apt-get remove python3.6-minimal python3.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
distro-info-data ldap-utils libbasicobjects0 libcollection4 libdhash1 libini-config5 libipa-hbac0 libnetplan0 libnl-route-3-200 libnspr4 libnss3 libpath-utils1
libref-array1 libsmbclient libsss-certmap0 libsss-idmap0 libsss-nss-idmap0 libsss-sudo libxmlsec1 libxmlsec1-openssl libxslt1.1 python-sss zerofree
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
apparmor apt-listchanges byobu command-not-found dh-python fail2ban iotop landscape-client landscape-common language-
netplan.io networkd-dispatcher nplan open-vm-tools pastebinit plymouth-
python3-automat python3-certifi python3-
python3-
python3-hyperlink python3-idna python3-incremental python3-lib2to3 python3-minimal python3-netifaces python3-newt python3-openssl python3-pam python3-
python3-
python3-
python3-urllib3 python3-yaml python3-
sssd-dbus sssd-ipa sssd-krb5 sssd-krb5-common sssd-ldap sssd-proxy sssd-tools ubuntu-minimal ubuntu-
update-
0 upgraded, 0 newly installed, 92 to remove and 23 not upgraded.
After this operation, 60.3 MB disk space will be freed.
Do you want to continue? [Y/n]
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu sssd Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: