Warning: RPMDB altered outside of yum

Problem:

When trying to install packages using yum command, it displays this warning message Warning: RPMDB altered outside of yum.

# yum install zip -y -q
Warning: RPMDB altered outside of yum.

Cause:

You either used rpm command to install / remove package or other application made changes to the rpm database without using Yum API. That is the reason, you are getting this warning.

It is recommended to use yum command or API to install, query, delete packages to avoid this warning.

As this is just warning, it can be safely ignored. Then if you think why have you reported with this warning, the reason is that your system could have been hacked by someone and altered rpmdb maliciously.

Solution:

To remove this warning, just cleanup the yum database by running the below command.

# yum clean all

Post a Comment

1 Comments

  1. Thank you for sharing an amazing & wonderful blog. This content is very useful, informative and valuable in order to enhance knowledge. Keep sharing this type of content with us & keep updating us with new blogs. Apart from this, if anyone who wants to join the Python with data science training institute in Delhi, can contact 9311002620 or visit our website-
    https://www.htsindia.com/Courses/python/python-with-data-science-training-course

    ReplyDelete