When I run the command sudo add-apt-repository ppa:deadsnakes/ppa, I get an issue that this ppa does not have a release file
os information
Ubuntu 23.04 LTS (Lunar)
lsb_release -a
Repository: 'deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ lunar main'
Description:
This PPA contains more recent Python versions packaged for Ubuntu.
Disclaimer: there's no guarantee of timely updates in case of security problems or other issues. If you want to use them in a security-or-otherwise-critical environment (say, on a production server), you do so at your own risk.
Update Note
===========
Please use this repository instead of ppa:fkrull/deadsnakes.
Reporting Issues
================
Issues can be reported in the master issue tracker at:
https://github.com/deadsnakes/issues/issues
Supported Ubuntu and Python Versions
====================================
- Ubuntu 20.04 (focal) Python3.5 - Python3.7, Python3.9 - Python3.13
- Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11 - Python3.13
- Note: Python2.7 (all), Python 3.8 (focal), Python 3.10 (jammy) are not provided by deadsnakes as upstream ubuntu provides those packages.
Why some packages aren't built:
- Note: for focal, older python versions require libssl<1.1 so they are not currently built
- Note: for jammy, older python versions requre libssl<3 so they are not currently built
- If you need these, reach out to asottile to set up a private ppa
The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported.
Packages
========
The packages provided here are loosely based on the debian upstream packages with some modifications to make them more usable as non-default pythons and on ubuntu. As such, the packages follow debian's patterns and often do not include a full python distribution with just `apt install python#.#`. Here is a list of packages that may be useful along with the default install:
- `python#.#-dev`: includes development headers for building C extensions
- `python#.#-venv`: provides the standard library `venv` module
- `python#.#-distutils`: provides the standard library `distutils` module
- `python#.#-lib2to3`: provides the `2to3-#.#` utility as well as the standard library `lib2to3` module
- `python#.#-gdbm`: provides the standard library `dbm.gnu` module
- `python#.#-tk`: provides the standard library `tkinter` module
Third-Party Python Modules
==========================
Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. Accordingly, they generally won't work with the Python interpreters from this PPA. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't.
To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide:
https://packaging.python.org/installing/
Sources
=======
The package sources are available at:
https://github.com/deadsnakes/
Nightly Builds
==============
For nightly builds, see ppa:deadsnakes/nightly https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly
More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-lunar.list
Adding deb entry to /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-lunar.list
Found existing deb-src entry in /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-lunar.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-lunar.list
Adding key to /etc/apt/trusted.gpg.d/deadsnakes-ubuntu-ppa.gpg with fingerprint F23C5A6CF475977595C89F51BA6932366A755776
Hit:1 http://mirror.cse.iitk.ac.in/ubuntu jammy InRelease
Hit:2 https://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu jammy InRelease
Hit:3 https://ubuntu-archive.mirror.net.in jammy InRelease
Hit:4 http://packages.microsoft.com/repos/code stable InRelease
Hit:5 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:6 http://archive.ubuntu.com/ubuntu lunar InRelease
Hit:7 https://repo.teamsforlinux.de/debian stable InRelease
Hit:8 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu lunar-security InRelease
Hit:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:11 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Ign:12 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar InRelease
Hit:13 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy InRelease
Hit:14 https://ppa.launchpadcontent.net/teejee2008/ppa/ubuntu lunar InRelease
Err:15 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release
404 Not Found [IP: 2620:2d:4000:1::3e 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sunil@sunil-HP-Laptop-15q-bu0xx:~$ sudo apt update
Hit:1 http://mirror.cse.iitk.ac.in/ubuntu jammy InRelease
Hit:2 https://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu jammy InRelease
Hit:3 https://ubuntu-archive.mirror.net.in jammy InRelease
Hit:4 http://packages.microsoft.com/repos/code stable InRelease
Hit:5 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:6 https://repo.teamsforlinux.de/debian stable InRelease
Ign:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:9 http://archive.ubuntu.com/ubuntu lunar InRelease
Hit:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:11 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:12 http://archive.ubuntu.com/ubuntu lunar-security InRelease
Hit:13 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy InRelease
Hit:14 https://ppa.launchpadcontent.net/teejee2008/ppa/ubuntu lunar InRelease
Err:15 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release
404 Not Found [IP: 2620:2d:4000:1::3e 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
description
When I run the command
sudo add-apt-repository ppa:deadsnakes/ppa
, I get an issue that this ppa does not have a release fileos information
Ubuntu 23.04 LTS (Lunar)
lsb_release -a
uname -a