:: Re: [DNG] Python2.7
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Arnt Karlsen
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Python2.7
On Sun, 8 Jun 2025 13:04:03 -0700, Marc wrote in message
<1e25e3cc-dae7-4e5d-b6d6-7ff6f2a2b506@???>:

> Is there anything in the OS supplied applications that requires
> Python2.7?
>
> I have both Python2.7 and Python3.13 installed.  The link
> /usr/bin/python points to /usr/bin/python3, which points to
> user/bin/python3.13.  So the only time that Python2.7 would be used
> is if it is specifically called for in a script.  I am not calling
> 2.7, so, unless there are OS supplied files that require it, I could
> delete 2.7, keeping only 3.13.
>
> Is there any reason to keep Python2.7?


..I'd say no: Output from my daedalus laptop:
arnt@d45:~$ apt-cache rdepends $(dpkg -l |grep python2 |cut -d" " -f 3 )
E: No packages found
arnt@d45:~$ dpkg -l |grep python2
arnt@d45:~$

..ditto from my chimaera laptop oozes upstream dependency loop bug:
arnt@dvn:~$ apt-cache rdepends $(dpkg -l |grep python2 |cut -d" " -f 3 )
libpython2.7-minimal
Reverse Depends:
  libpython2.7-stdlib
  python2.7-minimal
libpython2.7-stdlib
Reverse Depends:
  libpython2.7-minimal
  python2.7
  libpython2.7-testsuite
  libpython2-stdlib
  libpython2.7-minimal
  libpython2.7-dev
  libpython2.7-dbg
  libpython2.7
python2.7
Reverse Depends:
  python
  python2.7-minimal
  libpython2.7-stdlib
  python2.7-minimal
  python2.7-doc
  python2.7-dev
  python2.7-dev
  python2.7-dbg
  python2
  python-all
  libpython2.7-minimal
  libpython2.7-dev
  idle-python2.7
  libpython2.7
  idle-python2.7
  idle-python2.7
python2.7-minimal
Reverse Depends:
  python2.7
  libpython2.7-minimal
  python2.7
  python2-minimal
  libpython2.7-minimal
  libpython2.7-dev
arnt@dvn:~$ dpkg -l |grep python2 |cut -d" " -f 3-55
libpython2.7-minimal:amd64 2.7.18-8+deb11u1 
libpython2.7-stdlib:amd64  2.7.18-8+deb11u1 
python2.7                  2.7.18-8+deb11u1 
python2.7-minima           2.7.18-8+deb11u1 
arnt@dvn:~$ 



--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.