Hey, From time to time I catch a yum warning. Last time it was today: # yum update ... Downloading Packages: vsftpd-2.2.2-6.el6_2.1.x86_64.rpm???????????????????????????????? | 149 kB???? 00:01???? Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ? Updating?? : vsftpd-2.2.2-6.el6_2.1.x86_64???????????????????????????????????????? 1/2 ? Cleanup??? : vsftpd-2.2.2-6.el6_0.1.x86_64???????????????????????????????????????? 2/2 Updated: ? vsftpd.x86_64 0:2.2.2-6.el6_2.1?????????????????????????????????????????????????????????????????? Complete! How come a simple update of a a single package from CentOS update would "alter RPMDB outside of yum"...? Could that be a plugin? ? yum-3.2.29-22.el6.centos.noarch ? yum-metadata-parser-1.1.2-16.el6.x86_64 ? yum-plugin-fastestmirror-1.1.30-10.el6.noarch ? yum-plugin-priorities-1.1.30-10.el6.noarch ? yum-utils-1.1.30-10.el6.noarch Anyone else? Thx, JD
On Thu, 5 Jan 2012, John Doe wrote:> How come a simple update of a a single package from CentOS update > > would "alter RPMDB outside of yum"...? > Could that be a plugin? > ? yum-3.2.29-22.el6.centos.noarch > ? yum-metadata-parser-1.1.2-16.el6.x86_64 > ? yum-plugin-fastestmirror-1.1.30-10.el6.noarch > ? yum-plugin-priorities-1.1.30-10.el6.noarch > ? yum-utils-1.1.30-10.el6.noarch > > Anyone else?It's not saying it's just done that, it's saying that someone's added/removed packages using rpm not yum. Is that something you're likely to have done? If so, and you're okay with that, don't worry about the warning too much. jh
On 01/05/12 6:17 AM, John Doe wrote:> How come a simple update of a a single package from CentOS update > > would "alter RPMDB outside of yum"...?I've gotten those messages when I've installed an RPM without using yum. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
On Thursday 05 January 2012 06:17:17 John Doe wrote:> # yum update > ... > Downloading Packages: > vsftpd-2.2.2-6.el6_2.1.x86_64.rpm | 149 > kB 00:01 Running rpm_check_debug > Running Transaction Test > Transaction Test Succeeded > Running Transaction > Warning: RPMDB altered outside of yum. > Updating : > vsftpd-2.2.2-6.el6_2.1.x86_64 1/2 > Cleanup : > vsftpd-2.2.2-6.el6_0.1.x86_64 2/2 > Updated: > vsftpd.x86_64 > 0:2.2.2-6.el6_2.1 > Complete! > > How come a simple update of a a single package from CentOS update > would "alter RPMDB outside of yum"...?The warning is generated by yum, saying that its own database of installed packages does not match the rpm database. This basically means that sometime back you have used rpm directly to install/remove some package, circumventing yum. You are not supposed to install rpm packages behind yum's back. :-) The warning has nothing to do with the vsftpd package which is being updated in this instance. It's rather yum performing the database check when the transaction starts. HTH, :-) Marko