Re: rpm --rebuilddb problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 1 Jul 2003, Gerry Tool wrote:

> There are multiple versions of "httpd" in your system.

This might be true. What does rpm -q httpd say? You might have a duplicate
package, or an imcomplete upgarde of a package.

> To try to correct the problem, I did the following and got the error shown:

The following corrects database jams or corruption. It won't help if the
database is accurately reporting a duplicated package.

> [root@xxxxx root]# ls /var/lib/rpm/__db*
> /var/lib/rpm/__db.001  /var/lib/rpm/__db.002  /var/lib/rpm/__db.003
> [root@xxxxx root]# rm /var/lib/rpm/__db*
> rm: remove regular file `/var/lib/rpm/__db.001'? y
> rm: remove regular file `/var/lib/rpm/__db.002'? y
> rm: remove regular file `/var/lib/rpm/__db.003'? y
> [root@xxxxx root]# rpm --rebuilddb
> error: db4 error(16) from dbenv->remove: Device or resource busy

This is an expected error. The rebuild still worked.

I suspect you really have duplicated packages, or at least partially
upgraded packages, which is effectively the same thing from rpm's point of
view. You can use rpm to upgrade to a later version of a duplicated
package, or if one of the versions is current, remove it and upgrade
again.

	Michael Young




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux