[Bug 2100775] Re: python3-minimal wants to install twice when installing amd64 and arm64 packages
Alexandre Bique
2100775 at bugs.launchpad.net
Wed Mar 5 16:34:53 UTC 2025
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
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/2100775
Title:
python3-minimal wants to install twice when installing amd64 and arm64
packages
Status in python3-defaults package in Ubuntu:
New
Bug description:
When adding the ports repository to cross compile from amd64 to arm64,
some arm64 dependencies tries to install python3-minimal:arm64 which
conflicts with the already installed python3-minimal:amd64.
I suspect this is a packaging mistake as 22.04 didn't have this issue
and I've noticed this in 24.04.
I believe some packages should have a virtual dependency on
python3-minimal without specifying which architecture it uses right?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2100775/+subscriptions
More information about the foundations-bugs
mailing list