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
|