Package: qemu-user-static
Version: 1:10.0.3+ds-3
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

What led up to the situation:
I attempted to install `pbuilder` and `qemu-user-static` for cross-build 
environment, but encountered an unresolvable dependency loop between 
qemu-related packages.

What exactly I did:
1. Ran `sudo apt update` to synchronize package lists.
2. Ran `sudo apt install pbuilder qemu-user-static` to install required build 
tools.

What was the outcome of this action:
The installation failed with a dependency conflict error. Key issues:
1. My current installed version of `qemu-user-static` is 1:10.0.3+ds-3, which 
depends on `qemu-user (>= 1:10.0.7+ds-0+deb13u1+b1)` and `qemu-user-binfmt (>= 
1:10.0.7+ds-0+deb13u1+b1)`.
2. The Debian unstable repository provides a newer version of `qemu-user` 
(1:10.2.0+ds-2), whose recommended dependency `qemu-user-binfmt 
(1:10.2.0+ds-2)` breaks the existing `qemu-user-static`.
3. This forms a closed dependency loop: upgrading to satisfy dependencies 
breaks existing packages, while keeping existing packages fails to meet the 
dependency requirements of `qemu-user-static`.
4. The error log shows "Unable to satisfy dependencies. Reached two conflicting 
assignments" (detailed logs are attached).

What outcome I expected instead:
`qemu-user-static` should be installed successfully without dependency 
conflicts, or the package's `Depends`/`Breaks` fields should be configured to 
avoid such a loop.

Additional Notes:
1. The bug exists in Debian forky/sid (unstable) branch.
2. No existing bug reports in the Debian BTS cover this specific dependency 
loop.
3. Attached are the full system information, package version details, and error 
logs for further verification.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.3+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qemu-user-static depends on:
ii  qemu-user         1:10.0.3+ds-3
ii  qemu-user-binfmt  1:10.0.3+ds-3

qemu-user-static recommends no packages.

qemu-user-static suggests no packages.

-- no debconf information

Reply via email to