deadsnakes / issues

Issues for https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
86 stars 6 forks source link

Package `python3.11-venv` no longer available #252

Closed lanzz closed 1 year ago

lanzz commented 1 year ago

description

Trying to install python#.#-venv no longer works for Python versions newer than 3.8 (python3.8-venv is the latest one that works). This used to work for python3.11-venv, which we have already installed previously and have Docker build caches where that package is already installed from deadsnakes. On https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa the only packages listed are the base python#.# packages, none of the *-dev, *-venv, *-distutils, *-lib2to3, *-gdbm, *-tk packages are listed in the published packages, even though they are still listed in the PPA description.

I have reproduced this in a ubuntu:18.04 container:

$ docker run --rm -ti ubuntu:18.04

Inside the container:

root@543adf2e6ca0:/# apt-get update
...skip...
Fetched 28.1 MB in 5s (6116 kB/s)                            
Reading package lists... Done
root@543adf2e6ca0:/# apt-get -y install software-properties-common
...skip...
done.
Processing triggers for dbus (1.12.2-1ubuntu1.4) ...
root@543adf2e6ca0:/# add-apt-repository ppa:deadsnakes/ppa -y
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease         
Hit:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                       
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                       
Get:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB]      
Get:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main amd64 Packages [447 B]
Fetched 16.3 kB in 1s (19.7 kB/s)
Reading package lists... Done
root@543adf2e6ca0:/# apt-get update
Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                    
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease            
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                     
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease                                     
Reading package lists... Done
root@543adf2e6ca0:/# apt-get install python3.11-venv -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3.11-venv
E: Couldn't find any package by glob 'python3.11-venv'
E: Couldn't find any package by regex 'python3.11-venv'

os information

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic

uname -a

Linux 030f9a0fe3de 5.15.49-linuxkit #1 SMP Tue Sep 13 07:51:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
rkm commented 1 year ago

See https://github.com/deadsnakes/issues/issues/251#issuecomment-1577489107