libstrongswan-extra-plugins dependency problem with libstrongswan

Bug #1993515 reported by Deadolus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
strongswan (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

libstrongswan-extra-plugins depends on a wrong libstrongswan version.
Or maybe the libstrongswan version in the package repository was wrongly compiled/distributed.
The amd64 version of the packet has the version tag "5.9.5-2ubuntu2.1", all others are "5.9.5-2ubuntu2".
Thus the dependency is not found while installing libstrongswan-extra-plugins.
See following output while trying to install the package:

$ sudo apt install libstrongswan-extra-plugins
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libstrongswan-extra-plugins : Depends: libstrongswan (= 5.9.5-2ubuntu2) but 5.9.5-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Paride Legovini (paride) wrote :

Hello and thanks for this bug report. In Jammy by doing `apt show libstrongswan-extra-plugins` I see:

Depends: libstrongswan (= 5.9.5-2ubuntu2.1), ...

and looks like all the packages built from the strongswan source package have the correct versioned dependencies. Actually it would be quite hard to break them in they way you reported, so I think your local cache of available packages is corrupted or out of date (in a strange way).

Can you please run an `apt update` and check if the problem goes away? Thank you.

Changed in strongswan (Ubuntu):
status: New → Incomplete
Revision history for this message
Deadolus (deadolus) wrote :
Download full text (5.4 KiB)

@paride
The failure did not go away with a apt update.
The official packet repository also highlights the problem:

https://packages.ubuntu.com/jammy/libstrongswan-extra-plugins

says it depends on libstrongswan, but

https://packages.ubuntu.com/jammy/libstrongswan

says it installs 5.9.5-2ubuntu2.1.
This is what my "apt show" command returns for both packages in question:

$ sudo apt show libstrongswan-extra-plugins
Package: libstrongswan-extra-plugins
Version: 5.9.5-2ubuntu2
Priority: optional
Section: universe/net
Source: strongswan
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: strongSwan Maintainers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 864 kB
Depends: libstrongswan (= 5.9.5-2ubuntu2), libc6 (>= 2.34), libcurl4 (>= 7.16.2), libgcrypt20 (>= 1.9.0), libgpg-error0 (>= 1.14), libldap-2.5-0 (>= 2.5.4), libtss2-sys1 (>= 3.0.1)
Breaks: libcharon-extra-plugins (<= 5.5.3-1)
Replaces: libcharon-extra-plugins (<= 5.5.3-1)
Homepage: http://www.strongswan.org
Download-Size: 225 kB
APT-Sources: http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: strongSwan utility and crypto library (extra plugins)
 The strongSwan VPN suite uses the native IPsec stack in the standard
 Linux kernel. It supports both the IKEv1 and IKEv2 protocols.
 .
 This package provides extra plugins for the strongSwan utility and
 cryptographic library.
 .
 Included plugins are:
  - af-alg [linux] (AF_ALG Linux crypto API interface, provides
    ciphers/hashers/hmac/xcbc)
  - ccm (CCM cipher mode wrapper)
  - cmac (CMAC cipher mode wrapper)
  - ctr (CTR cipher mode wrapper)
  - curl (libcurl based HTTP/FTP fetcher)
  - curve25519 (support for Diffie-Hellman group 31 using Curve25519 and
    support for the Ed25519 digital signature algorithm for IKEv2)
  - gcrypt (Crypto backend based on libgcrypt, provides
    RSA/DH/ciphers/hashers/rng)
  - ldap (LDAP fetching plugin based on libldap)
  - ntru (key exchanged based on post-quantum computer NTRU)
  - padlock (VIA padlock crypto backend, provides AES128/SHA1)
  - pkcs11 (PKCS#11 smartcard backend)
  - rdrand (High quality / high performance random source using the Intel
    rdrand instruction found on Ivy Bridge processors)
  - test-vectors (Set of test vectors for various algorithms)
 .
 Also included is the libtpmtss library adding support for TPM plugin
 (https://wiki.strongswan.org/projects/strongswan/wiki/TpmPlugin)

$ sudo apt show libstrongswan
Package: libstrongswan
Version: 5.9.5-2ubuntu2.1
Priority: optional
Section: net
Source: strongswan
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: strongSwan Maintainers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1’500 kB
Depends: libc6 (>= 2.34), libcap2 (>= 1:2.10), libgmp10 (>= 2:6.2.1+dfsg), libsystemd0 (>= 227)
Recommends: libstrongswan-standard-plugins
Suggests: libstrongswan-extra-plugins
Homepage: http://www.strongswan.org
Download-Size: 394 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu....

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for strongswan (Ubuntu) because there has been no activity for 60 days.]

Changed in strongswan (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Paride Legovini (paride) wrote :

Hi, if you are able to reproduce the issue from a clean Ubuntu system please unexpire the bug and comment back providing steps we can follow. LXD containers are very useful in these cases. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.