Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install audit package #1725

Open
tuxfight3r opened this issue Jan 2, 2019 · 1 comment
Open

unable to install audit package #1725

tuxfight3r opened this issue Jan 2, 2019 · 1 comment

Comments

@tuxfight3r
Copy link

tuxfight3r commented Jan 2, 2019

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
Copy link
Member

jlebon commented Jan 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants