#1109174 libfst-dev: fails to upgrade from bookworm because of libfst26

Package:
libfst-dev
Source:
libfst-dev
Description:
weighted finite-state transducers library (development)
Submitter:
Lucas Nussbaum
Date:
2025-07-21 10:21:02 UTC
Severity:
normal
#1109174#5
Date:
2025-07-13 07:48:48 UTC
From:
To:
While testing upgrades from bookworm to trixie, I ran into the following
problem.
If I:
- install libfst-dev in bookworm
- upgrade to trixie (apt update && apt dist-upgrade)
Then libfst-dev is not upgraded.

MWE:
mmdebstrap --chrooted-customize-hook='apt -y install libfst-dev && sed -e s/bookworm/trixie/ -i /etc/apt/sources.list && apt update && apt dist-upgrade -y && apt dist-upgrade -y -o Debug::pkgProblemResolver=true' bookworm /dev/null

Relevant output:
Investigating (0) libfst-dev:amd64 < 1.7.9-5 -> 1.8.4-2 @ii umU Ib >
Broken libfst-dev:amd64 Depends on libfst26:amd64 < none | 1.8.4-2 @un uH > (= 1.8.4-2)
  Considering libfst26:amd64 0 as a solution to libfst-dev:amd64 0
  Holding Back libfst-dev:amd64 rather than change libfst26:amd64
 Try to Re-Instate (1) libfst-dev:amd64
Done
Entering ResolveByKeep
The following packages were automatically installed and are no longer required:
  libapt-pkg6.0  libargon2-1  libgnutls30  libtasn1-6  libunistring2
Use 'apt autoremove' to remove them.

Not upgrading:
  libfst-dev

What happens is that libfst22 and libfst26 cannot be co-installed,
because libfst22 Conflicts with libfst, which is Provided by libfst26.

I'm not sure of how to untangle this.

This affects upgrades of the following packages:
hfst
libfst-dev
libfst-tools
libhfst-dev
libhfst55
python3-hfst
python3-libhfst

Lucas

#1109174#10
Date:
2025-07-17 11:52:16 UTC
From:
To:
Hi,

On Sun, Jul 13, 2025 at 09:48:48AM +0200, Lucas Nussbaum wrote:

[...]

It seems the provides was introduced in
https://salsa.debian.org/science-team/openfst/-/commit/1de604f36884caa99bb054a125f73ad96d504057
which is in oldstable.

I assume the provides can just be removed. I'm not sure that the provides was
correct in the first place.

Obviously, for that to work, libfst22 and libfst26 need to be co-installable,
so that would need to be tested. It seems the last upload had the intention to
enable that, but the provides was probably missed.

Thanks,

Ivo

#1109174#15
Date:
2025-07-21 10:19:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
openfst, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1109174@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated openfst package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Jul 2025 11:57:04 +0200
Source: openfst
Architecture: source
Version: 1.8.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@alioth-lists.debian.net>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1109174
Changes:
 openfst (1.8.4-3) unstable; urgency=medium
 .
   * Team upload
   * Drop Provides: libfst (Closes: #1109174)
Checksums-Sha1:
 23b8fc844c703147355ca082dd7c7b5d6dd34a97 2038 openfst_1.8.4-3.dsc
 a091f59192673354bbae69e5222cbf3e06fca551 17276 openfst_1.8.4-3.debian.tar.xz
 19cc3aa96b53adc04ed67d122474dcd276b29aaa 5222 openfst_1.8.4-3_source.buildinfo
Checksums-Sha256:
 7353fdc2c186769535fd109e82bcf42dbe276f38c44942cf0596adee7d159186 2038 openfst_1.8.4-3.dsc
 7e20ebda9c473e6848c9fb2efe0783e198e529fb20ad3a1ba57e177e2d2102ad 17276 openfst_1.8.4-3.debian.tar.xz
 1e2f831dba4bc92d6a8d328c43450a9d6d32e7e2818c80b62141e0cc0da8f358 5222 openfst_1.8.4-3_source.buildinfo
Files:
 c264b89ea78912afa38b8e95dc011cf5 2038 libs optional openfst_1.8.4-3.dsc
 09eaf066074887d582a77849404d2cb9 17276 libs optional openfst_1.8.4-3.debian.tar.xz
 8b9c86c03028fbbab04b7df048bced42 5222 libs optional openfst_1.8.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmh+EIEQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFNPoC/44L4+8RigKSF5XP596lp96muPuqZ1xGTlE
MLhSCbqAHWOSPhu7eY+WinaTnvdQ/CwTrVzZjFr+jmUEXg/DIEwBO7IrgTgLq4im
00BYl7KoEtPUG1Zb8SBPf2m4CZfPa/v0QYRUvsybzILMheTK9+jOjl9GimMWJWkR
aggAVF2K/R918q7HQcVhqv6i7496g5GQdocUzl32HkhVe7/YTNLVUx9isKCIWFEd
iQanQJem4c0xzWrtCiJOt2GI5lt6OAB0nIH2ywZzKefL3YX9IHrhtW+28mR7F+Q4
wkEjmEzFdr15s1/7ezU74u2pxmsYRAOJP+vIHCZ5AzbxdoPPClGCbAX+cO8gpifz
zyd2jD6AmA8w6LQ7vPTI02W0yqANVbBwjzLDtjgsIb/2k2GU0oJc3XFvXPLzSYIa
yTXSculpwb6tEUXlx502S3NeIBnJSTh+2k6v1/yxis7ZlQ2NpSoW7IqaslhLII6Y
MY8yiLOjezS1iXBjZEasfuRUW+EdFZQ=
=Hivu
-----END PGP SIGNATURE-----