TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHRIS GREEN
from: MARTIN GREGORIE
date: 2020-12-29 23:29:00
subject: Re: Should it be possible

On Tue, 29 Dec 2020 21:59:18 +0000, Chris Green wrote:

> Python 2.7 went out of support at the beginning of 2020, is it now
> possible to remove it from buster installations?

Check whether you haven't got any Raspbian packages that use Python 2.7
and no other Python programs from 2rd parties or written by yourself.

If you don't have any of these dependencies it can be removed.

To search for them:

- if you write Python, grep your local source files for strings unique to
  Python 2.7 such as library functions used by 2.7 and not by 3.7

- running "apt-get --no-remove autoremove"  should report any packages
  that were installed to satisfy dependencies without removing them.
  **** caution I've not tried this, but its documented in the apt-get
  **** manpage.


--
--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.