Re: Rpm database issue

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

 



Gio wrote:
Hi,
if I do:
[giovanni@badpenguin giovanni]$ rpm -qa|grep postfix
the output is:
postfix-2.0.16-2.rh9
postfix-2.0.14-1.rh9
postfix-2.0.15-1.rh9
postfix-2.0.13-2.rh9
but now I have installed only the first one (working fine); no results by deleting __db00x, rebuilding the rpm database etc...
How can I solve this issue?
TIA
Giovanni Iaboni

Looks like rpm is correctly reporting that you did several installs (rather than updates) of this package. This can happen, especially if you use the --force qualifier. Assuming that the packages are installed on top of each other, you can correct the database "by hand" without uninstalling the files by: rpm -e --justdb --nodeps postfix-2.0.14-1.rh9 and so on for each package. This will remove that entry from the rpm database without erasing the files on disk. After that, you might verify the integrity of the desired postfix install: rpm -V postfix-2.0.16-2.rh9

If it complains about missing files or inconsistencies, you might consider
re-installing it (on top of itself):
  rpm -e --justdb --nodeps postfix-2.0.16-2.rh9
  rpm -Uvh postfix-2.0.16-2.rh9*.rpm

Read the rpm man page for more information.

Hope this helps,
-Bob Arendt


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[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