[BlueOnyx:21450] Re: Multilib version problems found

Michael Stauber mstauber at blueonyx.it
Fri Sep 29 16:38:44 -05 2017


Hi Maurice,

>> rpm -e --justdb systemd-libs-219-42.el7_4.1.x86_64
>> yum update
> 
> That makes sense.
> 
> However, the yum update now spits out error:
> 
> ** Found 381 pre-existing rpmdb problem(s)
> 
> Error: Package: systemd-219-30.el7_3.9.x86_64 (@updates)
>            Requires: systemd-libs = 219-30.el7_3.9
>            Removing: systemd-libs-219-30.el7_3.9.x86_64 (@updates)
>                systemd-libs = 219-30.el7_3.9
>            Updated By: systemd-libs-219-42.el7_4.1.x86_64 (updates)
>                systemd-libs = 219-42.el7_4.1
>            Available: systemd-libs-219-42.el7.i686 (base)
>                systemd-libs = 219-42.el7

Outch. So it's not an isolated problem with just one RPM, but there are
more that are also present in the RPM database more than once.

> Yum suggest::
> You could try using --skip-broken to work around the problem
> 
> Would that be ok?

No, that will make matters worse. Please run this script instead:

/usr/sausalito/sbin/rpm-clean-duplicates.pl

The script itself will *not* peform any corrective actions. It just
evaluates the RPM database and presents you a list of "rpm -e justdb
..." commands that ought to cover almost all doublettes in the RPM
database. Run the suggested commands.

You can copy and paste multiple of the suggested "rpm -e --justdb ..."
commands in one go, so you don't have to do them one by one.

Once you're through, check with
/usr/sausalito/sbin/rpm-clean-duplicates.pl again and if it has no
further complains, run a "yum update".

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list