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

Zahra P 1983726 at bugs.launchpad.net
Fri Aug 5 16:46:14 UTC 2022


Public bug reported:

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

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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