But first.....
I found a pile of directories from the attempts to install python-urllib3. I 
deleted them all
rm -fr /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname*
(dangerous, I know)
and the rpm then installed OK.

Hopefully, that is the end of that problem. Now for the other one.
Cheers
Bill
 
-----Original message-----
> From:Bill Maidment <b...@maidment.me>
> Sent: Saturday 26th May 2018 16:52
> To: Akemi Yagi <amy...@gmail.com>; SCIENTIFIC-LINUX-USERS@FNAL.GOV 
> <SCIENTIFIC-LINUX-USERS@fnal.gov>
> Subject: RE: Python-urllib3 package is corrupt on rsync
> 
> Thanks Akemi
> I am getting the same hash value as you, so it doesn't appear to be the rpm 
> that is at fault.
> I have tried yum reinstall of yum* and rpm* without solving the issue.
> As this is on another KVM guest on the machine on which I had an unrelated 
> unsolved error, I think I may have a hardware problem.
> Time for the memory test.
> Cheers
> Bill
>  
> -----Original message-----
> > From:Akemi Yagi <amy...@gmail.com>
> > Sent: Saturday 26th May 2018 15:03
> > To: SCIENTIFIC-LINUX-USERS@FNAL.GOV <SCIENTIFIC-LINUX-USERS@fnal.gov>
> > Subject: Re: Python-urllib3 package is corrupt on rsync
> > 
> > On Fri, May 25, 2018 at 8:53 PM, Bill Maidment <b...@maidment.me> wrote:
> > > In SL7x I tried to install python-urllib3 and got this error, even after 
> > > deleting it from my repository and rsyncing again.
> > >
> > >   Installing : python-urllib3-1.10.2-5.el7.noarch                         
> > >  1/1
> > > Error unpacking rpm package python-urllib3-1.10.2-5.el7.noarch
> > > error: unpacking of archive failed on file 
> > > /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: 
> > > cpio: rename
> > >   Verifying  : python-urllib3-1.10.2-5.el7.noarch                         
> > >  1/1
> > >
> > > Failed:
> > >   python-urllib3.noarch 0:1.10.2-5.el7
> > >
> > > Cheers
> > > Bill Maidment
> > 
> > I just tried and was able to install
> > python-urllib3-1.10.2-5.el7.noarch without any issue.
> > 
> > You may want to check the file you have rsynced by comparing it
> > against the original file. For example:
> > 
> > $ sha256sum python-urllib3-1.10.2-5.el7.noarch.rpm
> > ef4067425a59ec50a9a201a94e408f13dc7b021ca8950249eaf047f084b1e606
> > python-urllib3-1.10.2-5.el7.noarch.rpm
> > 
> > Checking the hash value is one way to verify the file's integrity.
> > 
> > Akemi
> > 
> > 
> 
> 

Reply via email to