Skip to content

Failed to exec method /usr/lib/apt/methods/http #1

Description

@spmaniato

Hi @moul , were you able to figure out this error that's mentioned in a comment of your Dockerfile?

# RUN apt-get install -y cowsay # -> failing with: Failed to exec method /usr/lib/apt/methods/http

I'm using a similar QEMU hack (Building ARM containers on any x86 machine, even DockerHub) and I'm running into the same error. The context is slightly different though. Using the hack I mentioned, I can run RUN apt-get install commands, but it fails when such a command is invoked by a Python script creating a child process that runs apt-get install.

Any pointers are very welcome. I will also follow up with the authors of the QEMU hack above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions