coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
871 stars 195 forks source link

unable to install audit package #1725

Open tuxfight3r opened 5 years ago

tuxfight3r commented 5 years ago

Host system details

[root@ip-10-140-253-222 audit]# rpm-ostree status
State: idle; auto updates disabled
Deployments:
* ostree://rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
                   Version: 7.5.2 (2018-06-21 19:45:26)
                    Commit: 7eae04224d894f6f0b57bf3c77f78c749d64813bd1543290f4b0276c81082617

  ostree://rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
                   Version: 7.4.4 (2018-01-19 17:43:39)
                    Commit: 91b59e14c4eef641f388cbc5b2cbbdd4653a89f4053d684217d9c1c9394c3dd3

Expected vs actual behavior

[root@ip-10-140-253-222 audit]# rpm-ostree install audit
Checking out tree 7eae042... done
Enabled rpm-md repositories: rhel-7-server-extras-rpms rhel-7-server-ose-3.6-rpms rhel-7-server-rpms rhel-7-fast-datapath-rpms
Updating metadata for 'rhel-7-server-extras-rpms': [=============] 100%
rpm-md repo 'rhel-7-server-extras-rpms'; generated: 2018-12-06 19:47:57
Updating metadata for 'rhel-7-server-ose-3.6-rpms': [=============] 100%
rpm-md repo 'rhel-7-server-ose-3.6-rpms'; generated: 2018-12-04 03:24:45
Updating metadata for 'rhel-7-server-rpms': [=============] 100%
rpm-md repo 'rhel-7-server-rpms'; generated: 2018-12-17 19:21:12
Updating metadata for 'rhel-7-fast-datapath-rpms': [=============] 100%
rpm-md repo 'rhel-7-fast-datapath-rpms'; generated: 2018-11-13 15:41:01
Importing metadata [=============] 100%
Resolving dependencies... Forbidden base package replacements:
  audit-libs-python 2.8.1-3.el7 -> 2.8.4-4.el7 (rhel-7-server-rpms)
  audit-libs 2.8.1-3.el7 -> 2.8.4-4.el7 (rhel-7-server-rpms)
failed
error: Some base packages would be replaced

Expected:

# rpm-ostree install foo
...
Success!

Steps to reproduce it

Standard rhel-atomic-host vm in AWS upgraded to 7.5.2 and I'm trying to install audit daemon and it fails with the error some base packages would be replaced.

Would you like to work on the issue?

Please let us know if you can work on it or the issue should be assigned to someone else.

If it can be assigned to someone that would be great. thanks.

jlebon commented 5 years ago

Right, this is a dupe of #415 though for RHELAH. It's trying to overlay 7.6 RPMs on top of 7.5. Upgrading to 7.6 first should work. Or if you need to stay on 7.5 for now, you can try rpm-ostree install audit-2.8.1-3.el7 though this will have to be undone once you finally upgrade to 7.6.