Package: strongswan
Version: 6.0.1-5
Severity: serious

Hi,

The following fails:
- In bookworm, install strongswan
- dist-upgrade to trixie
I would expect strongswan to be upgraded, but it is not. It remains at the 
bookworm version.
'apt install'ing manually in trixie works fine.

There might be some missing Replaces/Provides somewhere to hint apt at 
upgrading the package.

MWE:
PKG=strongswan; mmdebstrap --chrooted-customize-hook="set -x ; apt -y install 
$PKG  && sed -e s/bookworm/trixie/ -i /etc/apt/sources.list && apt update && 
apt dist-upgrade -y -o Debug::pkgProblemResolver=true && apt -y install $PKG" 
bookworm /dev/null

Relevant part:
Investigating (0) strongswan-charon:amd64 < 5.9.8-5+deb12u1 -> 6.0.1-5 @ii umU 
Ib >
Broken strongswan-charon:amd64 Conflicts on charon-systemd:amd64 < none -> 
6.0.1-5 @un uN Ib >
  Considering charon-systemd:amd64 -1 as a solution to strongswan-charon:amd64 1
  Added charon-systemd:amd64 to the remove list
  Fixing strongswan-charon:amd64 via keep of charon-systemd:amd64
Investigating (0) libgdbm-compat4t64:amd64 < none -> 1.24-2 @un uN Ib >
Broken libgdbm-compat4t64:amd64 Breaks on libgdbm-compat4:amd64 < 1.23-3 @ii mK 
> (< 1.24-2)
  Considering libgdbm-compat4:amd64 -2 as a solution to 
libgdbm-compat4t64:amd64 1
  Added libgdbm-compat4:amd64 to the remove list
  Fixing libgdbm-compat4t64:amd64 via remove of libgdbm-compat4:amd64
Investigating (0) strongswan:amd64 < 5.9.8-5+deb12u1 -> 6.0.1-5 @ii umU Ib >
Broken strongswan:amd64 Depends on charon-systemd:amd64 < none | 6.0.1-5 @un uH 
>
  Considering charon-systemd:amd64 -1 as a solution to strongswan:amd64 0
  Holding Back strongswan:amd64 rather than change charon-systemd:amd64
 Try to Re-Instate (1) strongswan:amd64

 [...]

+ apt -y install strongswan
The following packages were automatically installed and are no longer required:
  libapt-pkg6.0  libargon2-1  libgnutls30  libtasn1-6  libunistring2  
strongswan-starter
Use 'apt autoremove' to remove them.

Upgrading:
  strongswan

Installing dependencies:
  charon-systemd  strongswan-swanctl

REMOVING:
  strongswan-charon

Reply via email to