[Bug 1983726] Re: E: Package 'python' has no installation candidate

Brian Warner 1983726 at bugs.launchpad.net
Thu Sep 15 14:11:26 UTC 2022


It appears as though https://packages.ubuntu.com/ does not have a package "python" for Jammy Jellyfish (22.04).
Maybe specifying python2 or python3 instead would resolve your issue.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1983726

Title:
  E: Package 'python' has no installation candidate

Status in casper package in Ubuntu:
  New

Bug description:
  While building a dockerfile image based on ubuntu:22.04, 'python'
  package is attempted to be downloaded as a package. However, this
  error is received during that process:

  E: Package 'python' has no installation candidate
  The command '/bin/sh -c apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get install -y    gcc     flex     bison     gettext     grep     iproute2     iptables     make     pkgconf     python     python3-pip     && apt-get clean -y' returned a non-zero code: 100

  My system's specifications are: 
  Distributor ID:	Ubuntu
  Description:	Ubuntu 20.04.4 LTS
  Release:	20.04
  Codename:	focal

  
  --------------------
  Part of Dockerfile:

  FROM ubuntu:22.04

  RUN apt-get update \
      && DEBIAN_FRONTEND=noninteractive apt-get install -y\
      gcc \
      flex \
      bison \
      gettext \
      grep \
      iproute2 \
      iptables \
      make \
      pkgconf \
      python \
      python3-pip \
      && apt-get clean -y

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1983726/+subscriptions




More information about the foundations-bugs mailing list