[Bug 1955114] Re: swtpm: upgrade to jammy fails

Brian Murray 1955114 at bugs.launchpad.net
Thu Jul 25 22:15:09 UTC 2024


Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: swtpm (Ubuntu Kinetic)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to swtpm in Ubuntu.
https://bugs.launchpad.net/bugs/1955114

Title:
  swtpm: upgrade to jammy fails

Status in swtpm package in Ubuntu:
  New
Status in swtpm source package in Jammy:
  Triaged
Status in swtpm source package in Kinetic:
  Won't Fix

Bug description:
  [Impact]

   * swtpm did not use to exist in ubuntu
   * prior to packaging in ubuntu, it was common to compile and use swtpm debian packaging as provided by upstream
   * ubuntu packaging is incompatible with upstream provided one, and upgrades to ubuntu package do not work automatically, despite same naming for some of the packaging

  [Test Plan]

   * build and install swtpm & swtpm-libs deb packages from
  https://github.com/stefanberger/swtpm

   * Attempt to upgrade to ubuntu's provided swtpm

   * The upgrade should automatically break/replace and remove swtpm-
  libs package that is not used in Ubuntu, and conflicts with swtpm
  package.

  
  [Where problems could occur]

   * Inverse change may be required in upstream packaging, if they wish
  to support upgrading from Ubuntu packages to Upstream provided ones.

  [Other Info]
   
   * Original bug report

  
  While trying to upgrade from impish to jammy I get:

  Preparing to unpack .../swtpm_0.6.1-0ubuntu5_amd64.deb ...
  Unpacking swtpm (0.6.1-0ubuntu5) over (0.6.1) ...
  dpkg: error processing archive /var/cache/apt/archives/swtpm_0.6.1-0ubuntu5_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/swtpm/libswtpm_libtpms.so.0.0.0', which is also in package swtpm-libs:amd64 0.6.1
  Errors were encountered while processing:
   /var/cache/apt/archives/swtpm_0.6.1-0ubuntu5_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  I had previously installed the swtpm package using the upstream source
  as the package was not available for Impish.

  Best regards

  Heinrich

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swtpm/+bug/1955114/+subscriptions




More information about the foundations-bugs mailing list