#1143944 wireless-tools: libiw30t64 fails to install, conflicts with libiw30 on upgrade

Package:
wireless-tools
Source:
wireless-tools
Description:
Tools for manipulating Linux Wireless Extensions
Submitter:
Ahmed Alaoui
Date:
2026-08-10 15:39:01 UTC
Severity:
normal
#1143944#5
Date:
2026-08-08 18:14:52 UTC
From:
To:
libiw30t64 fails to install when libiw30 is present, because the
Conflicts field hardcodes a version bound that the installed
libiw30 (e.g. 30~pre9-16+b1) does not satisfy:

  Conflicts: libiw30 (<< 30~pre9)

dpkg --compare-versions "30~pre9-16+b1" ge "30~pre9" is true, so the
conflict never triggers and libiw30t64 tries to overwrite a file still
owned by libiw30:

  dpkg: error processing archive .../libiw30t64_30~pre9-22_amd64.deb
(--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libiw.so.30', which is
   also in package libiw30:amd64 (30~pre9-16+b1)

Fix: use unconditional Conflicts/Replaces, since libiw30t64 and libiw30
can never coexist regardless of version:

  Conflicts: libiw30
  Replaces: libiw30

Reported by a user via email after upgrading from testing.

#1143944#10
Date:
2026-08-10 08:26:15 UTC
From:
To:
This seems overly broad, especially when we know the last version
that was available before the migration.

Chris

#1143944#15
Date:
2026-08-10 15:27:53 UTC
From:
To:
Hi Chris,

Fair point. My reasoning: libiw30 and libiw30t64 ship the identical
file (/usr/lib/x86_64-linux-gnu/libiw.so.30) and can never coexist
under any circumstance, so I don't think there's a future libiw30
version this should ever need to tolerate, unlike a typical soname
bump where reuse of the old name is conceivable.

Simon has already sponsored and uploaded -23 to unstable with the
unversioned form, and it's verified to fix the reported upgrade
failure. If you think bounding it to a specific pre-t64 version is
still the better convention here, I'm glad to prepare a follow-up,
just let me know which version you'd use as the ceiling.

Best regards,
Ahmed Alaoui

#1143944#20
Date:
2026-08-10 15:37:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
wireless-tools, 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 1143944@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ahmed Alaoui <ahmedalaoui.debian@gmail.com> (supplier of updated wireless-tools 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, 10 Aug 2026 01:43:37 +0100
Source: wireless-tools
Architecture: source
Version: 30~pre9-23
Distribution: unstable
Urgency: medium
Maintainer: Ahmed Alaoui <ahmedalaoui.debian@gmail.com>
Changed-By: Ahmed Alaoui <ahmedalaoui.debian@gmail.com>
Closes: 1143944
Changes:
 wireless-tools (30~pre9-23) unstable; urgency=medium
 .
   * debian/control: Fix libiw30t64 Conflicts/Replaces against libiw30.
     Hardcoded version bound in Conflicts prevented upgrade from
     installed 30~pre9-16+b1, causing file overwrite failure on
     /usr/lib/x86_64-linux-gnu/libiw.so.30. Use unconditional
     Conflicts/Replaces instead, verified in clean container test.
     (Closes: #1143944)
Checksums-Sha1:
 94ce7018cd5e90fe5ef11f0f97bb2e7213e4d9a3 2253 wireless-tools_30~pre9-23.dsc
 7c8ec3f0e29dcf9d32fd3b59c4b6dc50ac138006 14580 wireless-tools_30~pre9-23.debian.tar.xz
 d481fab336c2ae30348ff3431d465b22a2ca042d 6847 wireless-tools_30~pre9-23_source.buildinfo
Checksums-Sha256:
 c721b07d225cc76fb11261b78480a0fb046be723e07b5d471df75eebf55d53e3 2253 wireless-tools_30~pre9-23.dsc
 a674d82466457e5b135aef412a2fb88d9d0f7fdb3b96f168252f0ed396fc669e 14580 wireless-tools_30~pre9-23.debian.tar.xz
 e9cef8c14880b46eb2bb45f5d98ad0c57277c57c90283f8edcb6e9645fb608df 6847 wireless-tools_30~pre9-23_source.buildinfo
Files:
 af093e633f1c9bd704af7f1f1280f197 2253 net optional wireless-tools_30~pre9-23.dsc
 239842821a5e46df2a3d8e22a22550c6 14580 net optional wireless-tools_30~pre9-23.debian.tar.xz
 51e597b8255525ce7ec19a8ef78ea488 6847 net optional wireless-tools_30~pre9-23_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmp56qgACgkQ4n8s+EWM
L6RfvxAAgBCR0vRmGDAm8r/rNLyGf1+UsAfmbodDYxNGFIsSE7JWgtr4kKw5WCla
FtyG4W6Hf1nSmxxAZhp2CpkbNe90V27DxVHNSk0gYBEkozgWfO3+Sv1zixBd5Xiy
bv06QSVMGVB5TM7PoCFDFsQNF3GtHwQ614bkLb2RfDi6k1zHDTNHsWY9Lo0U/5ZJ
FwS5ndeTARb828utt4QRuWw/NNEuLyAPJOiLN5js2CmcCtglygyk2F09G4e8PG0P
uk6Y/LFx+emrIgtz28GbND9Cp4FiUQyGsHbe3XyszKsLsiR866EtXIy1vEG066U4
LUDwqKpBIqo+OvLY5NGVGbV483sJIKs0pHmnAe8ADxcddbm/ngRJFuGGFgeA4o24
xUqwPNsiYNgIWmu2HJx4weKmKkodtrIOaCgfLwDc818jh0DY1+9LHAm1XP+NRZQ+
mVlpj/jHYmGkSFLiDs4q5zVZkUSHgdJWKaU3Ie0nmRxDSuMlGxegTS5CbXBuTua3
xBejfXaiEqy/K/kfgmXx6+9nWa0G+f0wMir2gkGBRruT6JKFkj1Etu6w1vYJDaoV
WH+YRBav1OBEmWOruiIiqPuwvNm2X6fSwRrclLCps7T1dS5xiPOE6z7Gyr4aZXL/
ImVsi6KKE1vZW8O1AqgDhqtn+Ldp7rqDnkoKngEdycOfhbyxXlU=
=xiDB
-----END PGP SIGNATURE-----