When I try to update my server using the yum command I've been seeing the following error / warning message:
yum install aide
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aide.x86_64 0:0.14-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
aide x86_64 0.14-3.el6 rhel-x86_64-server-6 123 k
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package(s)
Total download size: 123 k
Installed size: 0
Is this ok [y/N]:
Downloading Packages:
aide-0.14-3.el6.x86_64.rpm | 123 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : aide-0.14-3.el6.x86_64 1/1
Installed:
aide.x86_64 0:0.14-3.el6
How do I fix this problem?
The message means you either used rpm command to install / remove package or other application made changes to the rpm database without using Yum API. This is just warning. To avoid this warning I recommend only using yum command or API to install, query, delete packages. To remove warning simply run
# yum clean all
Why has yum started to display this warning?
While it's possible that someone has hacked your machine and altered the rpmdb maliciously, it would have to be done poorly to trigger this warning. See this page for more information.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 2 comments… read them below or add one }
Cheers for clearing this up. Was getting a bit worried, think it is probably just something misconfigured with one of the packages in the yum update.
it does not delete the warning “Warning: RPMDB altered outside of yum.”
the right command is:
yum history new