Package: tasksel
Version: 3.81
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The "standard system utilities" task fails to install on trixie when
trixie-backports is enabled, as it currently selects openssh-common from
backports:

  # debian:trixie, with trixie-backports added to the APT sources
  # apt-get update
  # apt-get install tasksel
  # apt-get install -s $(tasksel --task-packages standard)
  [...]
  The following packages have unmet dependencies:
   openssh-common : Breaks: openssh-client (< 1:10.3p1-6~)
  E: Unable to correct problems, you have held broken packages.
  E: The following information from --solver 3.0 may provide additional context:
     Unable to satisfy dependencies. Reached two conflicting decisions:
     1. openssh-client:amd64=1:10.0p1-7+deb13u4 is selected for install
     2. openssh-client:amd64=1:10.0p1-7+deb13u4 is not selected for install 
because:
        1. openssh-common:amd64=1:10.6p2-1~bpo13+1 is selected for install
        2. openssh-common:amd64 Breaks openssh-client (< 1:10.3p1-6~)
           [selected openssh-common:amd64]

The same happens in debian-installer when backports is selected in
apt-setup and the standard task is ticked in pkgsel.

openssh-common is a new binary package in openssh 1:10.3p1-6, so in
trixie it only exists in trixie-backports (1:10.6p2-1~bpo13+1, Priority:
standard). The "Packages: standard" special case in tasksel selects
every available package whose candidate version has Priority required,
important or standard. A package that only exists in backports still has
a candidate version (the backports one, at the NotAutomatic priority of
100), so it is selected while openssh-client resolves to the trixie
version which openssh-common Breaks.

I don't think the openssh backport is at fault here: any future backport
that introduces a new binary package of Priority standard will break the
standard task in the same way so I think this is best fixed in tasksel.

Thanks!


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

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

Reply via email to