Skip to content

[BUG] python:3.1X-slim E: Unable to locate package libaio1 #1070

Description

@mborovyk

Hi community.
I'm using python:3.10-slim version of python official image on Dockerhub and recently (hour ago) after trying to build image i've got next error:
$ apt-get update && apt-get install -y --no-install-recommends libaio1
E: Unable to locate package libaio1
I hope it's fixable and i've seen that next images were updated in same time range:

last working version for me is
python:3.10-slim@sha256:81f1cdb3770d54ecfdbddcc52c2125fce674c14a1d976dfd8f65dc0734f9c3c5

Image

Activity

  1. changed the title [-]python:3.1X-slim E: Unable to locate package libaio1[/-] [+][BUG] python:3.1X-slim E: Unable to locate package libaio1[/+] on Aug 13, 2025
  2. pomaretta commented on Aug 13, 2025

    @pomaretta
  3. danbarbarito commented on Aug 13, 2025

    @danbarbarito

    What a mess. Seeing a similar issue as well. Completely broke my devops pipeline

  4. aliir74 commented on Aug 13, 2025

    @aliir74

    We're seeing the same error in our pipelines as well :/

    E: Package 'libgl1-mesa-glx' has no installation candidate

    EDIT: Switching to bookworm fixed our problem.

  5. yosifkit commented on Aug 13, 2025

    @yosifkit
    Member

    This is caused by the images moving to the next major Debian release. To migrate, you'll need to find which package in Debian Trixie now provides what you needed from libaio1 (like libaio1t64) or stick with -bookworm images.

    We only support python images on two suites of Debian at a time. As we have in the past (#633, #822) and now (#1042), we move to the newest Debian release and drop the oldest. This also means that image tags without a Debian suite qualifier (e.g., python:3 or python:3.13-slim) move to the newest release.

    I'd recommend not using tags without a Debian suite qualifier (-bookworm and -trixie) since then you can control when a major OS version bump happens for you. The plain tags will change again in a few years when Debian Forky is released. We maintain python images on the two most recent releases of Debian so that users have time to migrate.

  6. yosifkit commented on Aug 13, 2025

    @yosifkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions