swtpm: upgrade to jammy fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swtpm (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Jammy |
Triaged
|
High
|
Unassigned | ||
Kinetic |
New
|
Undecided
|
Unassigned |
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:/
* 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_
Unpacking swtpm (0.6.1-0ubuntu5) over (0.6.1) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
Errors were encountered while processing:
/var/cache/
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
Changed in swtpm (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
tags: | added: rls-jj-incoming |
Changed in swtpm (Ubuntu Jammy): | |
importance: | Undecided → Critical |
status: | New → Triaged |
tags: | added: fr-2549 |
tags: | removed: fr-2549 rls-jj-incoming |
description: | updated |
Can we mark package swtpm as replacing swtpm-libs?