rpm --rebuilddb problem

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

 



I just installed apt and synaptic from freshrpms.net. I got a host of messages about duplicate packages on the system. This is a fresh RHL9 install, completely uptodate. At initial setup, the initial up2date sessions stalled and had to be restarted. Perhaps the problem started then.

The system seems fine and I was unaware of any problems until the apt install messages. They look like:



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

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^httpd$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

This occurs for many packages.



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

[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
[root@xxxxx root]#

Same thing after a fresh reboot.

If I open synaptic, I get the "multiple versions" messages again.

Does anyone know what this means and what I should do to get back to a clean situation?

Thanks.

Gerry Tool




[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