Re: Rpm database issue

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

 



Michael Schwendt wrote :

> On Wed, 1 Oct 2003 15:37:40 +0200, Gio wrote:
> 
> > [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?
> 
> There's only one way out:   rpm --erase --allmatches postfix
> And in case something depends on postfix, add --nodeps.
> 
> Then reinstall a single postfix package.

Only one way!? Well, if postfix is running fine, what I'd do is :

rpm -e --justdb \
 postfix-2.0.13-2.rh9 \
 postfix-2.0.14-1.rh9 \
 postfix-2.0.15-1.rh9

Then (you may want to do this before the above, just for fun) :

rpm -Va 'postfix*'

And if there is nothing unusual about the output, e.g. only config files
changed, you should be safe.

Having multiple occurences of postfix like this either means you were
installing them over each other instead of upgrading (but you should have
been getting errors), or that some late scriplet(s) keep failing, leaving
both packages installed in the rpm database after an attempted upgrade
(more likely).

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Raw Hide 20030930 running Linux kernel 2.6.0-0.test6.1.47
Load : 0.66 0.47 0.34


-- 
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