• How to run 'pkg upgrade' as requested by apt?

    From Chris Green@21:1/5 to All on Mon Oct 28 16:00:01 2024
    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.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Mon Oct 28 16:40:01 2024
    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.)

    --
    Michael Kjörling
    🔗 https://michael.kjorling.se

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Brinkhaus@21:1/5 to All on Mon Oct 28 16:20:01 2024
    Hello Chris,
    Am Mon, Oct 28, 2024 at 02:36:55PM +0000 schrieb 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) ...

    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?

    The message looks as if it would be a FreeBSD system. 'pkg' is the
    package manager of FreeBSD, comparable to 'apt*' on Debian.
    On the other hand, as far as I know the actual python version on FreeBSD
    is still 3.11. And should be is nothing as a 'system python'.

    I tried a web search but all I got was lots of unwanted information
    about pip installed packages.

    Kind regards,
    Christoph
    --
    Ist die Katze gesund
    schmeckt sie dem Hund.

    -----BEGIN PGP SIGNATURE-----

    iQGzBAABCAAdFiEEj7zWuLpAjGEt2B3aIXCAe2OOngIFAmcfqtUACgkQIXCAe2OO ngJdEwwAu5dWe+EEy14ZPWlaZXV3uorRPOtYQPzCtUKR0O+4I/KT+CwQgggDWQNM lhh90ic8uh/O6HIK5MOr+V7vEk1ynQebtGOp5qApxRxlqhbORuqdKt2rRCci0Y3h P6ggYMG53XWrYIzSl17CWF46wlHjRXBcPyaIBFGXqkSSgUCpRq0KGr91+kqYeZAh 4Xi0R1F6BJQ/Ck2bh7LtyjkYsyFL+8RqQEHswNkeu3pNkSPCM+tcgyDcRtsTRjxv kMSqmziyaMFpyHZUGRVEuWUoPj8hr8zlheAV1H+tSrRKfsd+Kr9nbx6Du48knTLe enuYd9eXE6tv+RLHtm+Ycekr6mujpXS5kVbys0wepK5EeuvYMOl7WN2uZ4xbC8Ok cPKi5R7LqlPVxeV8c4+OpmEl8k4R5Fgg/G+9aSu9aZiB1ZShm2fagA7+4rYDnvcD 89M17hkcp/uGY1nXVGF6mYacC+wCmTDbq2NUTp0cRyu9bDh3HaPZTpoJOcnfRRQT
    R0EjTiw6
    =LNkk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Green@21:1/5 to c9bc136c6063@ewoof.net on Mon Oct 28 19:30:01 2024
    Michael Kjörling <c9bc136c6063@ewoof.net> wrote:
    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.)

    Ah, sorry, my mistake entirely. I was running 'apt update' and 'apt
    upgrade' on several systems nearly all of which are now running Debian Bookworm. But the message I reported here was on the odd one out, an
    Android mobile phone running Termux.

    I'll quickly disappear back under my stone.....

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)