View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007822 | Rocky-Linux-9 | rpm | public | 2024-09-10 18:35 | 2024-09-10 18:37 |
Reporter | William Laeder | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64/AMD64 | OS | rocky-9.4 | OS Version | 9.4 (Plow) |
Summary | 0007822: Inconsistent behavior between RHEL-9.4 and Rocky-9.4 when installing packages | ||||
Description | The difference in behavior is found between Rocky Linux 9.4 (Blue Onyx) and Redhat Enterprise Linux 9.4 (Plow). Relevant package information | info | RHEL-9.4 | Rocky-9.4 | | :-: | :-: | :-: | | `rpm --version` | `RPM version 4.16.1.3` | `RPM version 4.16.1.3` | `dnf list installed rpm` | `4.16.1.3-29.el9 ` | `4.16.1.3-29.el9` | `dnf --version` | `4.14.0` | `4.14.0` | `sha1 /usr/lib64/librpm.so.9` | `eAeJqH8EEPijHlDC3lDquYLxTcg=` | `xyvGdRN2IEt3eVmxB/uWaQLuXBU=` | | `rpm -qf /usr/lib64/librpm.so.9` | `rpm-libs-4.16.1.3-29.el9.x86_64` | `rpm-libs-4.16.1.3-29.el9.x86_64` | | `rpm -qf /bin/sudo` | `sudo-1.9.5p2-7.el9.x86_64` | `sudo-1.9.5p2-10.el9_3.x86_64` | SHA1 sum's are base64 encoded to save space. This problem occurs in 3 parts, it involves an internal version of openldap (which is tagged older than 2.6. We're providing this RPM). # Problem 1 The follow command succeeds on RHEL-9.4, it fails on Rocky-9.4 with the following error ``` $ sudo rpm -i openldap-2.4.rpm package openldap-2.6.6-3.el9.x86_64 (which is newer than openldap-2.4.0.el9.x86_64) is already installed file /usr/share/doc/openldap/ANNOUNCEMENT from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 file /usr/share/doc/openldap/CHANGES from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 file /usr/share/doc/openldap/README from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 file /usr/share/licenses/openldap/COPYRIGHT from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 file /usr/share/man/man5/ldif.5.gz from install of openldap-2.4.0.el9.x86_64 conflicts with file from package openldap-2.6.6-3.el9.x86_64 ``` We can clear up these conflicts and rebuild. To be clear. RHEL-9.4 does not "_care_" about these conflicts # Problem 2 If we fix the conflicts (by re-naming files & repacking, or removing in the case of `man5` entries). We now see ``` $ sudo rpm -i openldap-2.4.rpm package openldap-2.6.6-3.el9.x86_64 (which is newer than openldap-2.4.0.el9.x86_64) is already installed ``` Which doesn't occur on RHEL-9.4 Installing with ``` $ sudo rpm -i --oldpackage openldap-2.4.rpm ``` Succeeds. As there are no conflicts/overlap with openldap-2.6 it isn't impacted and sudo isn't impacted. I would also highlight that when doing this via `dnf` (instead of `rpm`), Rocky-9.4 only states "_installation would remove protected package sudo_". It gives no details on what the underlying conflict. | ||||
Steps To Reproduce | rpm -i openldap-2.4.rpm | ||||
Additional Information | I'm not sure what modifications the rocky project is making to dnf/rpm but they're behaving different from red hat. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-10 18:35 | William Laeder | New Issue | |
2024-09-10 18:37 | William Laeder | Note Added: 0008317 |