[CentOS] duplicate packages on connection reset

Mon Dec 16 16:17:40 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Mon, Dec 16, 2013 at 12:55 AM, Adrian Sevcenco
<Adrian.Sevcenco at cern.ch> wrote:
>
>> Running 'yum-complete-transaction' will usually fix things up.   If
>> you don't have it you should be able to 'yum install yum-utils'
>> without affecting the old incomplete transaction.
> both
> 1. yum-complete-transaction and
> 2. yum-complete-transaction --skip-broken
>
> fails with :
> 1.
> Error: Package: mesa-dri-drivers-9.2-0.5.el6_5.2.x86_64 (updates)
>            Requires: mesa-dri1-drivers >= 7.11-6
>            Removing: mesa-dri1-drivers-7.11-8.el6.x86_64 (@base)
>                mesa-dri1-drivers = 7.11-8.el6
> Error: Package: dracut-004-336.el6_5.2.noarch (updates)
>            Requires: plymouth >= 0.8.0-0.2009.29.09.19.1
>            Removing: plymouth-0.8.3-27.el6.centos.x86_64 (@base)
>                plymouth = 0.8.3-27.el6.centos
> Error: Package: xorg-x11-server-Xorg-1.13.0-23.el6.centos.x86_64 (base)
>            Requires: fedora-setup-keyboard
>            Removing: system-setup-keyboard-0.7-4.el6.x86_64
> (@anaconda-base-201211270324.x86_64/6.1.0)
>                fedora-setup-keyboard = 0.7-4.el6
>  You could try using --skip-broken to work around the problem
>
> 2. Error: Trying to remove "yum", which is protected
> ** Found 159 pre-existing rpmdb problem(s), 'yum check' output follows:
>

Try a 'yum update yum' to make sure you have the newest, then 'rpm -e'
 the older duplicate package using the full package name.  Repeat for
other specific errors until the yum-complete transaction works.

-- 
   Les Mikesell
     lesmikesell at gmail.com