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.
While trying to upgrade from impish to jammy I get:
Preparing to unpack .../swtpm_ 0.6.1-0ubuntu5_ amd64.deb ... apt/archives/ swtpm_0. 6.1-0ubuntu5_ amd64.deb (--unpack): x86_64- linux-gnu/ swtpm/libswtpm_ libtpms. so.0.0. 0', which is also in package swtpm-libs:amd64 0.6.1 apt/archives/ swtpm_0. 6.1-0ubuntu5_ amd64.deb
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