[CentOS] RPM install/upgrade problem

Mon Sep 29 19:07:24 UTC 2014
Tony Molloy <tony.molloy at ul.ie>

On Saturday 27 September 2014 00:20:17 Cliff Pratt wrote:
> It may be that you have a bad bash RPM from somewhere. I believe
>  that the cpio command works directly on the package so you could
>  try with cpio on the command line to see if it will open the RPM.
>  I suspect that it won't be able to.
> 
> Cheers,
> 
> Cliff

No, this was a server which had a copy of the centos repos stored 
locally. i actually wiped and redownloaded the updates from three 
separate sources with the same results. It wasn't just bash the latest 
kernel updates were also affected.

Funny thing was late last week it upgraded the bash rpm but failed on 
the bash-doc rpm.

So in the end I just reinstalled the server and everything went fine.

Thanks,

Tony.

> 
> On Thu, Sep 25, 2014 at 6:52 PM, Tony Molloy <tony.molloy at ul.ie> 
wrote:
> > Hi,
> >
> > For the last few updates I'm having a yum problem.
> >
> > # yum update
> >
> > gives the following error for e.g.
> >
> > Running transaction
> >   Updating   : bash-4.2.45-5.el7_0.2.x86_64              1/10
> > Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
> > error: unpacking of archive failed on file
> > /usr/bin/alias;5423b9bc: cpio: open
> >
> >
> > The same problem happens if I try to use rpm for the update so it
> > appears to be an rpm problem rather than a yum one.
> >
> > I've rebuilt the rpm databases successfully but tthe problem
> > persists.
> >
> > Regards,
> >
> > Tony,

> > --
> > Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep
> > 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 
21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux