Bug 1626069
| Summary: | tpm2-tss: File conflict on moved 60-tpm-udev.rules | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vilém Maršík <vmarsik> |
| Component: | tpm2-tss | Assignee: | Jerry Snitselaar <jsnitsel> |
| Status: | CLOSED ERRATA | QA Contact: | Vilém Maršík <vmarsik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.6 | CC: | bhu, tumeya |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tpm2-tss-1.4.0-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 11:20:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1532680 | ||
|
Description
Vilém Maršík
2018-09-06 14:02:25 UTC
Looking at it I think adding
# udev rules moved from tpm2-abrmd package
Conflicts: tpm2-abrmd%{?_isa} <= 1.1.0-8%{?dist}
in tpm2-tss.spec, and updating the tpm2-tss-devel Requires in the tpm2-abrmd.spec
to 1.4.0-1 will get rpm to complain properly.
Looks good: # rpm -qa | grep tpm2 tpm2-tss-1.3.0-2.el7.x86_64 tpm2-tss-devel-1.3.0-2.el7.x86_64 tpm2-abrmd-1.1.0-6.el7.x86_64 (...) Reproduced: =========== # yum upgrade tpm2-tss-1.4.0-1.el7.x86_64.rpm tpm2-tss-devel-1.4.0-1.el7.x86_64.rpm (...) Resolving Dependencies --> Running transaction check ---> Package tpm2-tss.x86_64 0:1.3.0-2.el7 will be updated ---> Package tpm2-tss.x86_64 0:1.4.0-1.el7 will be an update ---> Package tpm2-tss-devel.x86_64 0:1.3.0-2.el7 will be updated ---> Package tpm2-tss-devel.x86_64 0:1.4.0-1.el7 will be an update --> Finished Dependency Resolution (...) Upgrade 2 Packages Total size: 506 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /usr/lib/udev/rules.d/60-tpm-udev.rules from install of tpm2-tss-1.4.0-1.el7.x86_64 conflicts with file from package tpm2-abrmd-1.1.0-6.el7.x86_64 Verified: ========= # yum upgrade tpm2-tss-1.4.0-2.el7.x86_64.rpm tpm2-tss-devel-1.4.0-2.el7.x86_64.rpm (...) Resolving Dependencies --> Running transaction check ---> Package tpm2-tss.x86_64 0:1.3.0-2.el7 will be updated ---> Package tpm2-tss.x86_64 0:1.4.0-2.el7 will be an update ---> Package tpm2-tss-devel.x86_64 0:1.3.0-2.el7 will be updated ---> Package tpm2-tss-devel.x86_64 0:1.4.0-2.el7 will be an update --> Processing Conflict: tpm2-tss-1.4.0-2.el7.x86_64 conflicts tpm2-abrmd(x86-64) <= 1.1.0-8.el7 --> Restarting Dependency Resolution with new changes. --> Running transaction check ---> Package tpm2-abrmd.x86_64 0:1.1.0-6.el7 will be updated ---> Package tpm2-abrmd.x86_64 0:1.1.0-9.el7 will be an update --> Finished Dependency Resolution (...) Upgrade 3 Packages Total size: 591 k Total download size: 84 k Is this ok [y/d/N]: y (...) Updated: tpm2-abrmd.x86_64 0:1.1.0-9.el7 tpm2-tss.x86_64 0:1.4.0-2.el7 tpm2-tss-devel.x86_64 0:1.4.0-2.el7 Complete! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3214 |