(still) on Ubuntu 20.04.6 LTS
when I try to install flake8, it makes me question, which implies I do something very risky, however I can not find, is it actually risk or it's just outdated warning for presence of minimal Python 2.x on platform
If I want to have system-wide flake8 in /usr/bin - what risks I face if python-minimal is removed, provided there is also installed python3-minimal and it's not about to be removed?
$ sudo apt install flake8
Reading package lists... Done
Building dependency tree
Reading state information... DoneThe following additional packages will be installed:
libpython2-stdlib pyflakes pyflakes3 python-pkg-resources python-pyflakes python2 python2-minimal python3-flake8 python3-pyflakes
Suggested packages:
python-setuptools python2-doc python-tk
The following packages will be REMOVED: python-minimal
The following NEW packages will be installed:
flake8 libpython2-stdlib pyflakes pyflakes3 python-pkg-resources python-pyflakes python2 python2-minimal python3-flake8 python3-pyflakes
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
python-minimal
0 upgraded, 10 newly installed, 1 to remove and 0 not upgraded. Need to get 352 kB of archives. After this operation, 1,700 kB of additional disk space will be used.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
updated on request:
$ apt list python3-minimal
Listing... Done
python3-minimal/focal,now 3.8.2-0ubuntu2 amd64 [installed]
python3-minimal/focal 3.8.2-0ubuntu2 i386
(update - more info on request)
$ apt policy flake8
flake8:
Installed: (none)
Candidate: 3.7.9-2
Version table:
3.7.9-2 500 500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 500 http://fi.archive.ubuntu.com/ubuntu focal/universe i386 Packages