Here's the Dockerfile that can trigger the issue:

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

COPY ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources

RUN dpkg --add-architecture i386 && \
    dpkg --add-architecture arm64 && \
    apt update && \
    apt upgrade -y && \
    apt install -y gpg wget lsb-release software-properties-common locales

RUN add-apt-repository universe

# Set en_US.UTF-8 as the locale
RUN locale-gen "en_US.UTF-8"
ENV LANG=en_US.UTF-8 \
    LANGUAGE=en_US:en \
    LC_ALL=en_US.UTF-8

# audio libs
RUN apt install -y \
    -o Acquire::BrokenProxy="true" \
    -o Acquire::http::No-Cache="true" \
    -o Acquire::http::Pipeline-Depth="0" \
    libasound2-dev:amd64 \
    libasound2-dev:arm64 \
    libasound2-dev:i386 \
    libpipewire-0.3-dev:amd64 \
    libpipewire-0.3-dev:arm64 \
    libpulse-dev:amd64 \
    libpulse-dev:arm64 \
    libudev-dev:amd64 \
    libudev-dev:arm64
```

Here's the output:
```
[1/2] STEP 1/37: FROM ubuntu:24.04 AS bitwig-build
[1/2] STEP 2/37: ARG DEBIAN_FRONTEND=noninteractive
--> Using cache ca4e8ae6671789706ca8e9ad60b211ad71ea575a0e5b95f1ea486c895fa4b9d1
--> ca4e8ae66717
[1/2] STEP 3/37: ARG ALL_CACHE_DATE=2025-03-02
--> Using cache 40c11950f65a2c47f31d1e7d3156fcd158aa4c6fffbd11ca60e3e709929585ff
--> 40c11950f65a
[1/2] STEP 4/37: COPY ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
--> Using cache db28c252a47d99f8dbf3f90485dcb6543c8f139f4d6ebaaf9185153009b6a47e
--> db28c252a47d
[1/2] STEP 5/37: RUN dpkg --add-architecture i386 &&     dpkg 
--add-architecture arm64 &&     apt update &&     apt upgrade -y &&     apt 
install -y gpg wget lsb-release software-properties-common locales
--> Using cache 9e4bc94cf194b459f3f2e8086ae1271b957132289a12ab18626d5751267ddd89
--> 9e4bc94cf194
[1/2] STEP 6/37: RUN add-apt-repository universe
--> Using cache 059e5290b34a495655a0b64fa1d8d00d3d5d0dac99d86c20948e8a3105c5bfe7
--> 059e5290b34a
[1/2] STEP 7/37: RUN locale-gen "en_US.UTF-8"
--> Using cache b65b100498ea54d930a70254098278e5618ba7db2d55608d22ee934457d53b70
--> b65b100498ea
[1/2] STEP 8/37: ENV LANG=en_US.UTF-8     LANGUAGE=en_US:en     
LC_ALL=en_US.UTF-8
--> Using cache c29291a1e15f49548a5be4ce0884064181076c40a542b58599b0e1b83255167d
--> c29291a1e15f
[1/2] STEP 9/37: RUN apt install -y     -o Acquire::BrokenProxy="true"     -o 
Acquire::http::No-Cache="true"     -o Acquire::http::Pipeline-Depth="0"     
libasound2-dev:amd64     libasound2-dev:arm64     libasound2-dev:i386     
libpipewire-0.3-dev:amd64     libpipewire-0.3-dev:arm64     libpulse-dev:amd64  
   libpulse-dev:arm64     libudev-dev:amd64     libudev-dev:arm64

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3 : PreDepends: python3-minimal (= 3.12.3-0ubuntu2) but it is not going 
to be installed
           Depends: python3.12 (>= 3.12.3-0~) but it is not going to be 
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.
Error: building at STEP "RUN apt install -y     -o Acquire::BrokenProxy="true"  
   -o Acquire::http::No-Cache="true"     -o Acquire::http::Pipeline-Depth="0"   
  libasound2-dev:amd64     libasound2-dev:arm64     libasound2-dev:i386     
libpipewire-0.3-dev:amd64     libpipewire-0.3-dev:arm64     libpulse-dev:amd64  
   libpulse-dev:arm64     libudev-dev:amd64     libudev-dev:arm64": while 
running runtime: exit status 100
Error: short-name "dev1:latest" did not resolve to an alias and no 
unqualified-search registries are defined in "/etc/containers/registries.conf"
```

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Incomplete

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to