Bug 1796385 - Dnf update fails: Error unpacking rpm package tpm2-abrmd-2.2.0-4.fc31.x86_64
Summary: Dnf update fails: Error unpacking rpm package tpm2-abrmd-2.2.0-4.fc31.x86_64
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-abrmd
Version: 31
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-30 10:14 UTC by pekka.tallqvist
Modified: 2020-09-16 09:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-16 09:02:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description pekka.tallqvist 2020-01-30 10:14:46 UTC
Description of problem:
dnf update fails


Version-Release number of selected component (if applicable):
tpm2-abrmd-2.2.0-2.fc31.x86_64 

How reproducible:
Happens every time

Steps to Reproduce:
1. sudo dnf update
2.
3.

Actual results:
Downloading Packages:
tpm2-abrmd-2.2.0-4.fc31.x86_64.rpm              1.2 MB/s | 109 kB     00:00    
--------------------------------------------------------------------------------
Total                                           348 kB/s | 109 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/1 
  Running scriptlet: tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
  Upgrading        : tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
error: lsetfilecon: (/usr/sbin/tpm2-abrmd;5e2d51c8, system_u:object_r:tabrmd_exec_t:s0) Invalid argument
error: Plugin selinux: hook fsm_file_prepare failed

Error unpacking rpm package tpm2-abrmd-2.2.0-4.fc31.x86_64
  Verifying        : tpm2-abrmd-2.2.0-4.fc31.x86_64                         1/2 
  Verifying        : tpm2-abrmd-2.2.0-2.fc31.x86_64                         2/2 

Failed:
  tpm2-abrmd-2.2.0-2.fc31.x86_64         tpm2-abrmd-2.2.0-4.fc31.x86_64        

Error: Transaction failed


Expected results:
Succesful update

Additional info:
https://ask.fedoraproject.org/t/dnf-update-fails-failed-tpm2-abrmd-2-2-0-2-fc31-x86-64-tpm2-abrmd-2-2-0-4-fc31-x86-64/5158

Comment 1 Javier Martinez Canillas 2020-02-12 13:35:56 UTC
The tpm2-abrmd package has been updated to 2.3.1 that contained SELinux fixes, could you please test the tpm2-abrmd and tpm2-abrmd-selinux packages and check if the issue is still present with those?

https://bodhi.fedoraproject.org/updates/FEDORA-2020-cd8116488d
https://bodhi.fedoraproject.org/updates/FEDORA-2020-e7e0b32381

Comment 2 Yunying Sun 2020-07-27 08:56:24 UTC
Does this issue still exist with tpm2-abrmd-2.3.1-1.fc31?

Comment 3 pekka.tallqvist 2020-07-28 10:53:30 UTC
Can’t test this, I’m on f32. No errors there.

Comment 4 Fedora Admin user for bugzilla script actions 2020-09-16 03:01:08 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.