Re: [CentOS] RPMDB problem

2019-09-14 Thread charlie hawkins
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  on behalf of Pete Biggs 

Sent: Saturday, September 14, 2019 2:50 PM
To: centos@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!

P.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPMDB problem

2019-09-14 Thread Pete Biggs
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!

P.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] RPMDB problem

2019-09-14 Thread Fred Smith
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?

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos