I am unable to install python version 3.7 from the deadsnakes repository. This was working as of last Friday, 1/14/21, but I noticed the issue when I had a docker build just fail today. Strangely enough when I try other versions, 3.5, 3.9, and 3.10 work, but 3.6, 3.7, and 3.8 do not.
os information
Ubuntu Xenial, running under Docker, AWS Linux AMI
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
uname -a
Linux ecfa0d7bd402 5.10.82-83.359.amzn2.x86_64 #1 SMP Tue Nov 30 20:47:14 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Minimally reproducible Dockerfile:
FROM ubuntu:xenial
RUN apt update
RUN apt install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes
RUN apt-get update
RUN apt-get install -y python3.7
Fails with:
#8 0.222 Reading package lists...
#8 1.138 Building dependency tree...
#8 1.288 Reading state information...
#8 1.341 E: Unable to locate package python3.7
#8 1.341 E: Couldn't find any package by glob 'python3.7'
#8 1.341 E: Couldn't find any package by regex 'python3.7'
description
I am unable to install python version 3.7 from the deadsnakes repository. This was working as of last Friday, 1/14/21, but I noticed the issue when I had a docker build just fail today. Strangely enough when I try other versions, 3.5, 3.9, and 3.10 work, but 3.6, 3.7, and 3.8 do not.
os information
Ubuntu Xenial, running under Docker, AWS Linux AMI
lsb_release -a
uname -a
Minimally reproducible Dockerfile:
Fails with: