I'm running it with the following minimal Dockerfile and with your
minimal sources.list:

```
FROM ubuntu:24.04 AS bitwig-build
ARG DEBIAN_FRONTEND=noninteractive
ARG ALL_CACHE_DATE=2025-03-02

COPY ubuntu-sources.list /etc/apt/sources.list
RUN chmod 644 /etc/apt/sources.list
RUN rm /etc/apt/sources.list.d/ubuntu.sources

RUN dpkg --add-architecture i386 && \
    dpkg --add-architecture arm64 && \
    apt update && \
    apt full-upgrade -y

RUN apt install -y libpulse-dev:amd64 libpulse-dev:arm64
```

And this fails, because it uninstalls the amd64 python and then installs the 
arm64 python which I can't run on my machine because it is a amd64 computer.
Then as apt uses python to install packages or to run some hooks, it fails 
because of architecture mismatch.

So the issue is definitely coming from a package depending on python and
forcing the installation of python3-minimal:arm64 instead of using the
version of python that matches the host's architecture.

See the attached logs.

By the way, I wonder how you couldn't reproduce my issue. Have you run
it inside docker? Here it is 100% reproducible.

Could it be that the official ubuntu 24.04 image differs from what
you've used?

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

Title:
  python3-minimal wants to install twice when installing amd64 and arm64
  packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2100775/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to