Question why multiarch is considered by apt 3.1.16, investigation of a problem in mkosi
Wagner Andre <[email protected]> Thu, 26 Mar 2026 10:04:42 +0000
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <DBBPR03MB10462F200185DD622A84B86D4B756A@DBBPR03MB10462.eurprd03.prod.outlook.com> |
Hi @all,
I am investigating a problem in mkosi (on ubuntu 26.04 daily build from 24.3.2026). As soon as i add an extra packages source for a different architecture, e.g. from ports.ubuntu.com it fails with:
base-files :...
Conflicts: base-files:armhf
Conflicts: base-files:arm64
base-files:armhf :...
Conflicts: base-files but 13ubuntu10.4 is to be installed
Conflicts: base-files:arm64
base-files:arm64 : ...
Conflicts: base-files but 13ubuntu10.4 is to be installed
Conflicts: base-files:armhf
And same for all other packages to be selected (full log is in the attachments).
Apt is called like this:
apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Acquire::AllowReleaseInfoChange=true -o Acquire::Check-Valid-Until=false -o Dir::Cache=/var/cache/apt -o Dir::State=/buildroot/var/lib/apt -o Dir::State::lists=/var/lib/apt/lists/ -o Dir::Log=/var/log/apt -o Dir::State::Status=/buildroot/var/lib/dpkg/status -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/buildroot -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, install -oDebug::pkgDPkgPm=1 '-oDPkg::Pre-Install-Pkgs::=cat >/work/var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim' '?essential' base-files
>From my understanding that says that the only architecture configured in apt is "amd64" (-o APT::Architecture=amd64 -o APT::Architectures=amd64) so only packages for amd64 should be considered, but also somehow all packages of other architectures are considered.
For solving this problem I replaced '?essential' by '?essential ?architecture(amd64)', now only "amd64" packages are considered and the install works.
Can someone explain to me why this happens and if the workaround i did is a good idea or are there better and more reliable solutions?
Thank you very much in advance for your help!
Greetings,
André
[https://www.richard-wolf.com/mam/data/Typo3/banner/SteriTreff26-e-mail-banner-600x82.png]<https://steritreff.com/>
Richard Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen
Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register: Mannheim HRB 510031
Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
Data Protection Policy<https://www.richard-wolf.com/en/data-protection-policy> | Legal Information<https://www.richard-wolf.com/en/legal-information/> | Terms & Conditions<https://www.richard-wolf.com/en/terms-conditions/>
bug.log
(text/x-log, 40.4 KB)
sudo mkosi build --debug --distribution ubuntu --release noble
‣ Could not provision user namespace via systemd-nsresourced ([Errno 2] No such file or directory), falling back to unprivileged user namespace via unshare(CLONE_NEWUSER) and writing /proc/self/uid_map directly
‣ Validating certificates and keys
‣ 0.0s for step "Validating certificates and keys"
‣ + /usr/bin/systemd-repart --version
‣ Version reported by /usr/bin/systemd-repart is 259.5-0ubuntu1
‣ Copying in sandbox trees…
‣ + cp --version
‣ + cp --recursive --no-dereference --preserve=mode,links --reflink=auto --copy-contents /work/home/es/bug/mkosi.sandbox /work/var/tmp/mkosi-workspace-zge6c_mq/sandbox --keep-directory-symlink --no-target-directory
‣ 0.1s for step "Copying in sandbox trees…"
‣ Syncing package manager metadata
‣ + apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Acquire::AllowReleaseInfoChange=true -o Acquire::Check-Valid-Until=false -o Dir::Cache=/var/cache/apt -o Dir::State=/buildroot/var/lib/apt -o Dir::State::lists=/var/lib/apt/lists/ -o Dir::Log=/var/log/apt -o Dir::State::Status=/buildroot/var/lib/dpkg/status -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/buildroot -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, update
Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble/main Sources [1384 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports noble/main armhf Packages [1302 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble/restricted Sources [18.7 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble/multiverse Sources [299 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble/universe Sources [19.8 MB]
Get:12 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages [1377 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports noble/main Translation-en [513 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports noble/restricted armhf Packages [3536 B]
Get:15 http://ports.ubuntu.com/ubuntu-ports noble/restricted arm64 Packages [91.9 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports noble/restricted Translation-en [18.7 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports noble/universe armhf Packages [14.2 MB]
Get:18 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1401 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:22 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
Get:23 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 Packages [15.3 MB]
Get:24 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]
Get:25 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
Get:26 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble-updates/universe Sources [520 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports noble/universe Translation-en [5982 kB]
Get:29 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Sources [27.5 kB]
Get:30 http://archive.ubuntu.com/ubuntu noble-updates/main Sources [529 kB]
Get:31 http://archive.ubuntu.com/ubuntu noble-updates/restricted Sources [70.0 kB]
Get:32 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1847 kB]
Get:33 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [339 kB]
Get:34 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2837 kB]
Get:35 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [656 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports noble/multiverse arm64 Packages [223 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports noble/multiverse armhf Packages [173 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports noble/multiverse Translation-en [118 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages [1963 kB]
Get:40 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1619 kB]
Get:41 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [322 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/main armhf Packages [763 kB]
Get:43 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [32.2 kB]
Get:44 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [7520 B]
Get:45 http://archive.ubuntu.com/ubuntu noble-security/main Sources [242 kB]
Get:46 http://ports.ubuntu.com/ubuntu-ports noble-updates/main Translation-en [339 kB]
Get:47 http://archive.ubuntu.com/ubuntu noble-security/multiverse Sources [20.9 kB]
Get:48 http://archive.ubuntu.com/ubuntu noble-security/universe Sources [352 kB]
Get:49 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted armhf Packages [9744 B]
Get:50 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted arm64 Packages [4040 kB]
Get:51 http://archive.ubuntu.com/ubuntu noble-security/restricted Sources [65.4 kB]
Get:52 http://archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [1546 kB]
Get:53 http://archive.ubuntu.com/ubuntu noble-security/main Translation-en [249 kB]
Get:54 http://archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2689 kB]
Get:55 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted Translation-en [656 kB]
Get:56 http://archive.ubuntu.com/ubuntu noble-security/restricted Translation-en [625 kB]
Get:57 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe armhf Packages [1185 kB]
Get:58 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1166 kB]
Get:59 http://archive.ubuntu.com/ubuntu noble-security/universe Translation-en [225 kB]
Get:60 http://archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [28.8 kB]
Get:61 http://archive.ubuntu.com/ubuntu noble-security/multiverse Translation-en [6980 B]
Get:62 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 Packages [1592 kB]
Get:63 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe Translation-en [322 kB]
Get:64 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse armhf Packages [4396 B]
Get:65 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse arm64 Packages [38.4 kB]
Get:66 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse Translation-en [7520 B]
Get:67 http://ports.ubuntu.com/ubuntu-ports noble-security/main armhf Packages [509 kB]
Get:68 http://ports.ubuntu.com/ubuntu-ports noble-security/main arm64 Packages [1678 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/main Translation-en [249 kB]
Get:70 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted arm64 Packages [3885 kB]
Get:71 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted armhf Packages [7552 B]
Get:72 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted Translation-en [625 kB]
Get:73 http://ports.ubuntu.com/ubuntu-ports noble-security/universe armhf Packages [839 kB]
Get:74 http://ports.ubuntu.com/ubuntu-ports noble-security/universe arm64 Packages [1167 kB]
Get:75 http://ports.ubuntu.com/ubuntu-ports noble-security/universe Translation-en [225 kB]
Get:76 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse armhf Packages [3192 B]
Get:77 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse arm64 Packages [36.5 kB]
Get:78 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse Translation-en [6980 B]
Fetched 121 MB in 13s (9588 kB/s)
Reading package lists... Done
‣ 14.9s for step "Syncing package manager metadata"
‣ + rm -rf -- /work/var/tmp/mkosi-workspace-zge6c_mq /work/var/tmp/mkosi-workspace-zge6c_mq/root
‣ Building main image
‣ [main] Copying in sandbox trees…
‣ [main] + cp --version
‣ [main] + cp --recursive --no-dereference --preserve=mode,links --reflink=auto --copy-contents /work/home/es/bug/mkosi.sandbox /work/var/tmp/mkosi-workspace-9debstet/sandbox --keep-directory-symlink --no-target-directory
‣ [main] 0.2s for step "Copying in sandbox trees…"
‣ [main] Installing Ubuntu
‣ [main] + apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Acquire::AllowReleaseInfoChange=true -o Acquire::Check-Valid-Until=false -o Dir::Cache=/var/cache/apt -o Dir::State=/buildroot/var/lib/apt -o Dir::State::lists=/var/lib/apt/lists/ -o Dir::Log=/var/log/apt -o Dir::State::Status=/buildroot/var/lib/dpkg/status -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/buildroot -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, install -oDebug::pkgDPkgPm=1 '-oDPkg::Pre-Install-Pkgs::=cat >/work/var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim' '?essential' base-files
Reading package lists... Done
Building dependency tree... Done
Solving dependencies... Error!
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:
base-files : PreDepends: awk
Depends: libc6 (>= 2.34) but it is not going to be installed
Depends: libcrypt1 (>= 1:4.4.10-10ubuntu3) but it is not going to be installed
Conflicts: base-files:armhf
Conflicts: base-files:arm64
base-files:armhf : PreDepends: awk:armhf
Depends: libc6:armhf (>= 2.34) but it is not going to be installed
Depends: libcrypt1:armhf (>= 1:4.4.10-10ubuntu3) but it is not going to be installed
Conflicts: base-files but 13ubuntu10.4 is to be installed
Conflicts: base-files:arm64
base-files:arm64 : PreDepends: awk:arm64
Depends: libc6:arm64 (>= 2.34) but it is not going to be installed
Depends: libcrypt1:arm64 (>= 1:4.4.10-10ubuntu3) but it is not going to be installed
Conflicts: base-files but 13ubuntu10.4 is to be installed
Conflicts: base-files:armhf
base-passwd : Depends: libc6 (>= 2.34) but it is not going to be installed
Depends: libdebconfclient0 (>= 0.145) but it is not going to be installed
Depends: libselinux1 (>= 3.1~) but it is not going to be installed
Conflicts: base-passwd:armhf
Conflicts: base-passwd:arm64
base-passwd:armhf : Depends: libc6:armhf (>= 2.34) but it is not going to be installed
Depends: libdebconfclient0:armhf (>= 0.145) but it is not going to be installed
Depends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
Conflicts: base-passwd but 3.6.3build1 is to be installed
Conflicts: base-passwd:arm64
base-passwd:arm64 : Depends: libc6:arm64 (>= 2.34) but it is not going to be installed
Depends: libdebconfclient0:arm64 (>= 0.145) but it is not going to be installed
Depends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
Conflicts: base-passwd but 3.6.3build1 is to be installed
Conflicts: base-passwd:armhf
bash : PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libtinfo6 (>= 6) but it is not going to be installed
Conflicts: bash:armhf
Conflicts: bash:arm64
bash:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libtinfo6:armhf (>= 6) but it is not going to be installed
Conflicts: bash but 5.2.21-2ubuntu4 is to be installed
Conflicts: bash:arm64
bash:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libtinfo6:arm64 (>= 6) but it is not going to be installed
Conflicts: bash but 5.2.21-2ubuntu4 is to be installed
Conflicts: bash:armhf
bsdutils : PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0 but it is not going to be installed
Conflicts: bsdutils:armhf
Conflicts: bsdutils:arm64
bsdutils:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0:armhf but it is not going to be installed
Conflicts: bsdutils but 1:2.39.3-9ubuntu6.5 is to be installed
Conflicts: bsdutils:arm64
bsdutils:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0:arm64 but it is not going to be installed
Conflicts: bsdutils but 1:2.39.3-9ubuntu6.5 is to be installed
Conflicts: bsdutils:armhf
coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
PreDepends: libattr1 (>= 1:2.4.48) but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libgmp10 (>= 2:6.3.0+dfsg) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
PreDepends: libssl3t64 (>= 3.0.0) but it is not going to be installed
Conflicts: coreutils:armhf
Conflicts: coreutils:arm64
coreutils:armhf : PreDepends: libacl1:armhf (>= 2.2.23) but it is not going to be installed
PreDepends: libattr1:armhf (>= 1:2.4.48) but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libgmp10:armhf (>= 2:6.3.0+dfsg) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
PreDepends: libssl3t64:armhf (>= 3.0.0) but it is not going to be installed
Conflicts: coreutils but 9.4-3ubuntu6.2 is to be installed
Conflicts: coreutils:arm64
coreutils:arm64 : PreDepends: libacl1:arm64 (>= 2.2.23) but it is not going to be installed
PreDepends: libattr1:arm64 (>= 1:2.4.48) but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libgmp10:arm64 (>= 2:6.3.0+dfsg) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
PreDepends: libssl3t64:arm64 (>= 3.0.0) but it is not going to be installed
Conflicts: coreutils but 9.4-3ubuntu6.2 is to be installed
Conflicts: coreutils:armhf
dash : PreDepends: libc6 (>= 2.38) but it is not going to be installed
Conflicts: dash:armhf
Conflicts: dash:arm64
dash:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
Conflicts: dash but 0.5.12-6ubuntu5 is to be installed
Conflicts: dash:arm64
dash:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
Conflicts: dash but 0.5.12-6ubuntu5 is to be installed
Conflicts: dash:armhf
debianutils : PreDepends: libc6 (>= 2.38) but it is not going to be installed
Conflicts: debianutils:armhf
Conflicts: debianutils:arm64
debianutils:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
Conflicts: debianutils but 5.17build1 is to be installed
Conflicts: debianutils:arm64
debianutils:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
Conflicts: debianutils but 5.17build1 is to be installed
Conflicts: debianutils:armhf
diffutils : PreDepends: libc6 (>= 2.38) but it is not going to be installed
Conflicts: diffutils:armhf but 1:3.10-1build1 is to be installed
Conflicts: diffutils:arm64 but 1:3.10-1build1 is to be installed
diffutils:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
Conflicts: diffutils but 1:3.10-1build1 is to be installed
Conflicts: diffutils:arm64 but 1:3.10-1build1 is to be installed
diffutils:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
Conflicts: diffutils but 1:3.10-1build1 is to be installed
Conflicts: diffutils:armhf but 1:3.10-1build1 is to be installed
dpkg : PreDepends: libbz2-1.0 but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: liblzma5 (>= 5.4.0) but it is not going to be installed
PreDepends: libmd0 (>= 0.0.0) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
PreDepends: libzstd1 (>= 1.5.5) but it is not going to be installed
PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Conflicts: dpkg:armhf
Conflicts: dpkg:arm64
dpkg:armhf : PreDepends: libbz2-1.0:armhf but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: liblzma5:armhf (>= 5.4.0) but it is not going to be installed
PreDepends: libmd0:armhf (>= 0.0.0) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
PreDepends: libzstd1:armhf (>= 1.5.5) but it is not going to be installed
PreDepends: zlib1g:armhf (>= 1:1.1.4) but it is not going to be installed
Conflicts: dpkg but 1.22.6ubuntu6.5 is to be installed
Conflicts: dpkg:arm64
dpkg:arm64 : PreDepends: libbz2-1.0:arm64 but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: liblzma5:arm64 (>= 5.4.0) but it is not going to be installed
PreDepends: libmd0:arm64 (>= 0.0.0) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
PreDepends: libzstd1:arm64 (>= 1.5.5) but it is not going to be installed
PreDepends: zlib1g:arm64 (>= 1:1.1.4) but it is not going to be installed
Conflicts: dpkg but 1.22.6ubuntu6.5 is to be installed
Conflicts: dpkg:armhf
findutils : PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
Conflicts: findutils:armhf
Conflicts: findutils:arm64
findutils:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
Conflicts: findutils but 4.9.0-5build1 is to be installed
Conflicts: findutils:arm64
findutils:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
Conflicts: findutils but 4.9.0-5build1 is to be installed
Conflicts: findutils:armhf
grep : PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libpcre2-8-0 (>= 10.32) but it is not going to be installed
Conflicts: grep:armhf
Conflicts: grep:arm64
grep:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libpcre2-8-0:armhf (>= 10.32) but it is not going to be installed
Conflicts: grep but 3.11-4build1 is to be installed
Conflicts: grep:arm64
grep:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libpcre2-8-0:arm64 (>= 10.32) but it is not going to be installed
Conflicts: grep but 3.11-4build1 is to be installed
Conflicts: grep:armhf
gzip : PreDepends: libc6 (>= 2.38) but it is not going to be installed
Conflicts: gzip:armhf but 1.12-1ubuntu3.1 is to be installed
Conflicts: gzip:arm64 but 1.12-1ubuntu3.1 is to be installed
gzip:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
Conflicts: gzip but 1.12-1ubuntu3.1 is to be installed
Conflicts: gzip:arm64 but 1.12-1ubuntu3.1 is to be installed
gzip:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
Conflicts: gzip but 1.12-1ubuntu3.1 is to be installed
Conflicts: gzip:armhf but 1.12-1ubuntu3.1 is to be installed
hostname : PreDepends: libc6 (>= 2.34) but it is not going to be installed
Conflicts: hostname:armhf but 3.23+nmu2ubuntu2 is to be installed
Conflicts: hostname:arm64 but 3.23+nmu2ubuntu2 is to be installed
hostname:armhf : PreDepends: libc6:armhf (>= 2.34) but it is not going to be installed
Conflicts: hostname but 3.23+nmu2ubuntu2 is to be installed
Conflicts: hostname:arm64 but 3.23+nmu2ubuntu2 is to be installed
hostname:arm64 : PreDepends: libc6:arm64 (>= 2.34) but it is not going to be installed
Conflicts: hostname but 3.23+nmu2ubuntu2 is to be installed
Conflicts: hostname:armhf but 3.23+nmu2ubuntu2 is to be installed
libc-bin : Depends: libc6 (> 2.39) but it is not going to be installed
Depends: libc6 (< 2.40) but it is not going to be installed
Conflicts: libc-bin:armhf
Conflicts: libc-bin:arm64
libc-bin:armhf : Depends: libc6:armhf (> 2.39) but it is not going to be installed
Depends: libc6:armhf (< 2.40) but it is not going to be installed
Conflicts: libc-bin but 2.39-0ubuntu8.7 is to be installed
Conflicts: libc-bin:arm64
libc-bin:arm64 : Depends: libc6:arm64 (> 2.39) but it is not going to be installed
Depends: libc6:arm64 (< 2.40) but it is not going to be installed
Conflicts: libc-bin but 2.39-0ubuntu8.7 is to be installed
Conflicts: libc-bin:armhf
login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
PreDepends: libpam-runtime but it is not going to be installed
PreDepends: libpam-modules but it is not going to be installed
Conflicts: login:armhf
Conflicts: login:arm64
login:armhf : PreDepends: libaudit1:armhf (>= 1:2.2.1) but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1:armhf (>= 1:4.1.0) but it is not going to be installed
PreDepends: libpam0g:armhf (>= 0.99.7.1) but it is not going to be installed
PreDepends: libpam-runtime:armhf
PreDepends: libpam-modules:armhf but it is not going to be installed
Conflicts: login but 1:4.13+dfsg1-4ubuntu3.2 is to be installed
Conflicts: login:arm64
login:arm64 : PreDepends: libaudit1:arm64 (>= 1:2.2.1) but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1:arm64 (>= 1:4.1.0) but it is not going to be installed
PreDepends: libpam0g:arm64 (>= 0.99.7.1) but it is not going to be installed
PreDepends: libpam-runtime:arm64
PreDepends: libpam-modules:arm64 but it is not going to be installed
Conflicts: login but 1:4.13+dfsg1-4ubuntu3.2 is to be installed
Conflicts: login:armhf
ncurses-bin : PreDepends: libc6 (>= 2.34) but it is not going to be installed
PreDepends: libtinfo6 (>= 6.4+20230603) but it is not going to be installed
Conflicts: ncurses-bin:armhf
Conflicts: ncurses-bin:arm64
ncurses-bin:armhf : PreDepends: libc6:armhf (>= 2.34) but it is not going to be installed
PreDepends: libtinfo6:armhf (>= 6.4+20230603) but it is not going to be installed
Conflicts: ncurses-bin but 6.4+20240113-1ubuntu2 is to be installed
Conflicts: ncurses-bin:arm64
ncurses-bin:arm64 : PreDepends: libc6:arm64 (>= 2.34) but it is not going to be installed
PreDepends: libtinfo6:arm64 (>= 6.4+20230603) but it is not going to be installed
Conflicts: ncurses-bin but 6.4+20240113-1ubuntu2 is to be installed
Conflicts: ncurses-bin:armhf
perl-base : PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
Conflicts: perl-base:armhf but 5.38.2-3.2ubuntu0.2 is to be installed
Conflicts: perl-base:arm64 but 5.38.2-3.2ubuntu0.2 is to be installed
perl-base:armhf : PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1:armhf (>= 1:4.1.0) but it is not going to be installed
Conflicts: perl-base but 5.38.2-3.2ubuntu0.2 is to be installed
Conflicts: perl-base:arm64 but 5.38.2-3.2ubuntu0.2 is to be installed
perl-base:arm64 : PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libcrypt1:arm64 (>= 1:4.1.0) but it is not going to be installed
Conflicts: perl-base but 5.38.2-3.2ubuntu0.2 is to be installed
Conflicts: perl-base:armhf but 5.38.2-3.2ubuntu0.2 is to be installed
sed : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
Conflicts: sed:armhf
Conflicts: sed:arm64
sed:armhf : PreDepends: libacl1:armhf (>= 2.2.23) but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
Conflicts: sed but 4.9-2build1 is to be installed
Conflicts: sed:arm64
sed:arm64 : PreDepends: libacl1:arm64 (>= 2.2.23) but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
Conflicts: sed but 4.9-2build1 is to be installed
Conflicts: sed:armhf
sysvinit-utils : Depends: libc6 (>= 2.38) but it is not going to be installed
Conflicts: sysvinit-utils:armhf
Conflicts: sysvinit-utils:arm64
sysvinit-utils:armhf : Depends: libc6:armhf (>= 2.38) but it is not going to be installed
Conflicts: sysvinit-utils but 3.08-6ubuntu3 is to be installed
Conflicts: sysvinit-utils:arm64
sysvinit-utils:arm64 : Depends: libc6:arm64 (>= 2.38) but it is not going to be installed
Conflicts: sysvinit-utils but 3.08-6ubuntu3 is to be installed
Conflicts: sysvinit-utils:armhf
tar : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
Conflicts: tar:armhf
Conflicts: tar:arm64
tar:armhf : PreDepends: libacl1:armhf (>= 2.2.23) but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
Conflicts: tar but 1.35+dfsg-3build1 is to be installed
Conflicts: tar:arm64
tar:arm64 : PreDepends: libacl1:arm64 (>= 2.2.23) but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
Conflicts: tar but 1.35+dfsg-3build1 is to be installed
Conflicts: tar:armhf
util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not going to be installed
PreDepends: libc6 (>= 2.38) but it is not going to be installed
PreDepends: libcap-ng0 (>= 0.7.9) but it is not going to be installed
PreDepends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
PreDepends: libmount1 (>= 2.39.1) but it is not going to be installed
PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
PreDepends: libsmartcols1 (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0 but it is not going to be installed
PreDepends: libtinfo6 (>= 6) but it is not going to be installed
PreDepends: libudev1 (>= 183) but it is not going to be installed
PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Conflicts: util-linux:armhf
Conflicts: util-linux:arm64
util-linux:armhf : PreDepends: libblkid1:armhf (>= 2.37.2) but it is not going to be installed
PreDepends: libc6:armhf (>= 2.38) but it is not going to be installed
PreDepends: libcap-ng0:armhf (>= 0.7.9) but it is not going to be installed
PreDepends: libcrypt1:armhf (>= 1:4.1.0) but it is not going to be installed
PreDepends: libmount1:armhf (>= 2.39.1) but it is not going to be installed
PreDepends: libpam0g:armhf (>= 0.99.7.1) but it is not going to be installed
PreDepends: libselinux1:armhf (>= 3.1~) but it is not going to be installed
PreDepends: libsmartcols1:armhf (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0:armhf but it is not going to be installed
PreDepends: libtinfo6:armhf (>= 6) but it is not going to be installed
PreDepends: libudev1:armhf (>= 183) but it is not going to be installed
PreDepends: libuuid1:armhf (>= 2.16) but it is not going to be installed
PreDepends: zlib1g:armhf (>= 1:1.1.4) but it is not going to be installed
Conflicts: util-linux but 2.39.3-9ubuntu6.5 is to be installed
Conflicts: util-linux:arm64
util-linux:arm64 : PreDepends: libblkid1:arm64 (>= 2.37.2) but it is not going to be installed
PreDepends: libc6:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libcap-ng0:arm64 (>= 0.7.9) but it is not going to be installed
PreDepends: libcrypt1:arm64 (>= 1:4.1.0) but it is not going to be installed
PreDepends: libmount1:arm64 (>= 2.39.1) but it is not going to be installed
PreDepends: libpam0g:arm64 (>= 0.99.7.1) but it is not going to be installed
PreDepends: libselinux1:arm64 (>= 3.1~) but it is not going to be installed
PreDepends: libsmartcols1:arm64 (>= 2.38) but it is not going to be installed
PreDepends: libsystemd0:arm64 but it is not going to be installed
PreDepends: libtinfo6:arm64 (>= 6) but it is not going to be installed
PreDepends: libudev1:arm64 (>= 183) but it is not going to be installed
PreDepends: libuuid1:arm64 (>= 2.16) but it is not going to be installed
PreDepends: zlib1g:arm64 (>= 1:1.1.4) but it is not going to be installed
Conflicts: util-linux but 2.39.3-9ubuntu6.5 is to be installed
Conflicts: util-linux:armhf
E: Unable to satisfy dependencies. Reached two conflicting assignments:
1. dpkg:amd64=1.22.6ubuntu6.5 is selected for install
2. dpkg:amd64 is not selected for install because:
1. dpkg:armhf=1.22.6ubuntu6.5 is selected for install
2. dpkg:amd64 Conflicts dpkg:armhf
[selected dpkg:armhf=1.22.6ubuntu6.5]
‣ [main] "apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Acquire::AllowReleaseInfoChange=true -o Acquire::Check-Valid-Until=false -o Dir::Cache=/var/cache/apt -o Dir::State=/buildroot/var/lib/apt -o Dir::State::lists=/var/lib/apt/lists/ -o Dir::Log=/var/log/apt -o Dir::State::Status=/buildroot/var/lib/dpkg/status -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/buildroot -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, install -oDebug::pkgDPkgPm=1 '-oDPkg::Pre-Install-Pkgs::=cat >/work/var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim' '?essential' base-files" returned non-zero exit code 100.
‣ [main] Sandbox command: mkosi-sandbox --bind /proc /proc --unsetenv TMPDIR --setenv SYSTEMD_OFFLINE 1 --ro-bind /usr /usr --ro-bind /opt /opt --symlink usr/bin /bin --symlink usr/sbin /sbin --symlink usr/lib /lib --symlink usr/lib64 /lib64 --dir /var/tmp --dir /var/log --unshare-ipc --ro-bind /var/tmp/mkosi-workspace-9debstet/tmp/tmpxobiwvva/mkosi/sandbox.py /sandbox.py --dev /dev --ro-bind /etc/alternatives /etc/alternatives --ro-bind /etc/ld.so.cache /etc/ld.so.cache --ro-bind /run/systemd/resolve /run/systemd/resolve --ro-bind /etc/resolv.conf /etc/resolv.conf --setenv PATH /usr/bin:/usr/sbin --ro-bind /var/tmp/mkosi-workspace-9debstet/sandbox/etc /etc --bind /var/tmp/mkosi-workspace-9debstet/tmp/mkosi-var-tmp-17cda58f446940c0 /srv --bind /var/tmp/mkosi-workspace-9debstet/tmp/mkosi-var-tmp-c141e1e273104aac /media --bind /var/tmp/mkosi-workspace-9debstet/tmp/mkosi-var-tmp-120867b1bf024526 /mnt --bind /var/tmp/mkosi-workspace-9debstet/tmp/mkosi-var-tmp-a302bab21d8d47e9 /var --dir /run --dir /tmp --bind /var/tmp/mkosi-workspace-9debstet/tmp/mkosi-var-tmp-042faac300ba4418 /var/tmp --bind /var/tmp/mkosi-workspace-9debstet/root /buildroot --ro-bind /etc/ssl /etc/ssl --bind /var/tmp/mkosi-workspace-9debstet/repository /repository --bind /var/tmp/mkosi-metadata-yxesgdbu/lib/apt/lists /var/lib/apt/lists --bind /var/tmp/mkosi-metadata-yxesgdbu/cache/apt /var/cache/apt --bind '/var/cache/mkosi/ubuntu~noble~x86-64/cache/apt/archives' /var/cache/apt/archives --become-root --suppress-chown --suppress-sync --ro-bind-try /var/tmp/mkosi-workspace-9debstet/root/etc/machine-id /buildroot/etc/machine-id --dir /run/user/0 --dir /var/lib/apt/lists/partial --bind /var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim /work/var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim --ro-bind /etc/ssl/certs/ca-certificates.crt /proxy.cacert
‣ [main] + rm -rf -- /work/var/tmp/mkosi-workspace-9debstet /work/var/tmp/mkosi-workspace-9debstet/root
‣ [main] + tput cnorm
‣ [main] + tput smam
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 104, in uncaught_exception_handler
yield
File "/usr/lib/python3.14/contextlib.py", line 85, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/mkosi/__main__.py", line 44, in main
run_verb(args, tools, images, resources=resources)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkosi/__init__.py", line 5244, in run_verb
build_image(
~~~~~~~~~~~^
Context(
^^^^^^^^
...<7 lines>...
)
^
)
^
File "/usr/lib/python3/dist-packages/mkosi/__init__.py", line 4020, in build_image
install_distribution(context)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkosi/__init__.py", line 272, in install_distribution
context.config.distribution.installer.install(context)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkosi/distribution/debian.py", line 164, in install
Apt.invoke(
~~~~~~~~~~^
context,
^^^^^^^^
...<7 lines>...
options=["--bind", f.name, workdir(Path(f.name))],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/mkosi/installer/apt.py", line 238, in invoke
return run(
cls.cmd(context) + [operation, *arguments],
...<2 lines>...
stdout=stdout,
)
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 243, in run
with spawn(
~~~~~^
cmdline,
^^^^^^^^
...<8 lines>...
sandbox=sandbox,
^^^^^^^^^^^^^^^^
) as process:
^
File "/usr/lib/python3.14/contextlib.py", line 148, in __exit__
next(self.gen)
~~~~^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkosi/run.py", line 414, in spawn
raise subprocess.CalledProcessError(returncode, cmdline)
subprocess.CalledProcessError: Command '['apt-get', '-o', 'APT::Architecture=amd64', '-o', 'APT::Architectures=amd64', '-o', 'APT::Install-Recommends=false', '-o', 'APT::Immediate-Configure=off', '-o', 'APT::Get::Assume-Yes=true', '-o', 'APT::Get::AutomaticRemove=true', '-o', 'APT::Get::Allow-Change-Held-Packages=true', '-o', 'APT::Get::Allow-Remove-Essential=true', '-o', 'APT::Sandbox::User=root', '-o', 'Acquire::AllowReleaseInfoChange=true', '-o', 'Acquire::Check-Valid-Until=false', '-o', 'Dir::Cache=/var/cache/apt', '-o', 'Dir::State=/buildroot/var/lib/apt', '-o', 'Dir::State::lists=/var/lib/apt/lists/', '-o', 'Dir::Log=/var/log/apt', '-o', 'Dir::State::Status=/buildroot/var/lib/dpkg/status', '-o', 'Dir::Bin::DPkg=/usr/bin/dpkg', '-o', 'Debug::NoLocking=true', '-o', 'DPkg::Options::=--root=/buildroot', '-o', 'DPkg::Options::=--force-unsafe-io', '-o', 'DPkg::Options::=--force-architecture', '-o', 'DPkg::Options::=--force-depends', '-o', 'DPkg::Options::=--no-debsig', '-o', 'DPkg::Use-Pty=false', '-o', 'DPkg::Install::Recursive::Minimum=1000', '-o', 'pkgCacheGen::ForceEssential=,', 'install', '-oDebug::pkgDPkgPm=1', '-oDPkg::Pre-Install-Pkgs::=cat >/work/var/tmp/mkosi-workspace-9debstet/tmp/tmp_lxyneim', '?essential', 'base-files']' returned non-zero exit status 100.