Details
Description
On a system its quite easy to have x86 and x86_64 package installed.
$ dnf info libsepol
|
Last metadata expiration check: 3:52:47 ago on Thu 30 Dec 2021 12:38:03.
|
Installed Packages
|
Name : libsepol
|
Version : 3.3
|
Release : 2.fc35
|
Architecture : i686
|
Size : 802 k
|
...
|
|
Name : libsepol
|
Version : 3.3
|
Release : 2.fc35
|
Architecture : x86_64
|
Size : 738 k
|
Source : libsepol-3.3-2.fc35.src.rpm
|
Repository : @
|
RPM -qf used to determine the installed version dillegenly appends the two:
$ rpm -q --qf "%{VERSION}" libsepol
|
3.33.3
|
Resulting in a rather unobtainable version number.
A more accurate representation is:
$ rpm -q --qf "%{VERSION}" libsepol.x86_64
|
3.3
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.2.42 [ 26803 ] | |
Fix Version/s | 10.3.33 [ 26805 ] | |
Fix Version/s | 10.4.23 [ 26807 ] | |
Fix Version/s | 10.5.14 [ 26809 ] | |
Fix Version/s | 10.6.6 [ 26811 ] | |
Fix Version/s | 10.7.2 [ 26813 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Summary | cpack rpm with much arch libsepol installed detects verison incorrectly | cpack rpm with multiple archs of libsepol installed detects verison incorrectly |