[CentOS] RPMDB problem

Sat Sep 14 22:01:06 UTC 2019
charlie hawkins <umke at hotmail.com>

i had to reinstall last night and early this mornin i got a message that there was 2 yums runniong around and one was locked up .
i waited about 15 minutes and no problem but for some reason openvpn has vanished and can't be found anywhere even though i can look right at it .. I'm not sure what bugs are running wild in there because of friday the 13th . but there are a few things really going sideways..
i was burning 31g in one folder that shouldn't have used more than 3 dogged my system down almost to a stop, could only di 1 thing at a time .  i have a quad core prossor its fast but the memory being bottled up kills it . almost acted like a meltdown attack but i have that protected ..
good luck guys i just had to reinstall my whole system.
charlie (nightcrawler)
From: CentOS <centos-bounces at centos.org> on behalf of Pete Biggs <pete at biggs.org.uk>
Sent: Saturday, September 14, 2019 2:50 PM
To: centos at centos.org <centos at centos.org>
Subject: Re: [CentOS] RPMDB problem

On Sat, 2019-09-14 at 14:09 -0400, Fred Smith wrote:
> When doing yum operations I get this message at the end of whatever
> yum was doing:
> ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
> brscan4-0.4.8-1.x86_64 is a duplicate with brscan4-0.4.3-1.x86_64
> It is true, if I do "rpm -qa | grep brscan" it shows two of them.
> what's the best/proper way to deal with this?
> -remove both, reinstall one?
> -remove one? which one? I don't see a feature in rpm (or yum) for
> removing a single one of duplicate packages. How?
In general I try and remove the older one - you can remove specific
versions of duplicates by specifying their full name including the
version. i.e.

   yum remove brscan4-0.4.3-1

but you need to pay particular attention to any warnings or examine
which other packages yum might want to remove.  There will be a reason
why two versions ended up being installed (usually there's a bug or an
install got interrupted half way through). It might be easier to remove
the more recent one first, then do another update.  Bottom line is,
don't use '-y' or automatically press 'y' when doing this!


CentOS mailing list
CentOS at centos.org