I recently did an 'apt update' and 'apt upgrade' on my bookworm system.
In the 'apt upgrade' output there is the following:-
Setting up python (3.12.7-1) ...
I recently did an 'apt update' and 'apt upgrade' on my bookworm system.
In the 'apt upgrade' output there is the following:-
Setting up python (3.12.7-1) ...
NOTE: The system python package has been updated to 3.12.
NOTE: Run 'pkg upgrade' to update system python packages.
NOTE: Packages installed using pip needs to be re-installed.
Where/how do I run 'pkg upgrade'? It's not directly from the command
line (no 'pkg'), is it from a Python prompt? ... or in pip?
I tried a web search but all I got was lots of unwanted information
about pip installed packages.
On 28 Oct 2024 14:36 +0000, from cl@isbd.net (Chris Green):
I recently did an 'apt update' and 'apt upgrade' on my bookworm system.
In the 'apt upgrade' output there is the following:-
Setting up python (3.12.7-1) ...
Please double-check that it's really Bookworm.
If you believe it is, then show us the full and unmangled output of:
$ lsb_release -a
$ sudo grep -rvh '^#' /etc/apt/sources.list* | grep -v '^$'
It looks like the Python versions shipped in various current Debian
releases are:
- Bookworm: Python 3.11 (3.11.2-6+deb12u3) https://packages.debian.org/bookworm/python3.11
- Trixie: Python 3.12 (3.12.6-1) https://packages.debian.org/trixie/python3.12
- Sid: Python 3.12 (3.12.7-1 on all but ia64, mips64el, sparc64) https://packages.debian.org/sid/python3.12
So short of pulling such a package from elsewhere, the only way I can
see that you'd get a 3.12.7-1 package version of Python is by running
Sid. And even then I would expect the package name to be "python3.12",
not just "python". (The "python3" package in Sid is, somewhat
curiously, at 3.12.6-1, same as Trixie but different from Sid's
"python3.12" package.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 153:30:14 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,840 |