[Yum] yum update failing for delta rpms

Mike McIntyre mikemci at ca.ibm.com
Mon Jan 11 20:29:07 UTC 2010


yum-3.2.20-2.1 and yum-metadata-parser-1.1.2-1.1 are installed on a SUSE 
Linux Enterprise Server 10 (x86_64) Patchlevel 2.  yum check-update and 
yum update commands are working for rpms that are NOT delta rpms.  When a 
yum update is run with a delta.rpm selected, it fails as shown below.  Is 
there a resolution to get yum update to work with a delta rpm and not get 
error message "error: unpacking of archive failed: cpio: Bad magic"?

yum update audiofile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package audiofile.x86_64 0:0.2.6-17.6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch            Version              Repository Size
================================================================================
Updating:
 audiofile          x86_64          0.2.6-17.6           updates 41 k

Transaction Summary
================================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Total download size: 41 k
Is this ok [y/N]: y
Downloading Packages:
audiofile-0.2.6-17.2_17.6 100% |=========================|  41 kB    00:00
============================== Entering rpm code 
===============================
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : audiofile  1/2
Error unpacking rpm package audiofile-0.2.6-17.6.x86_64
error: unpacking of archive failed: cpio: Bad magic
=============================== Leaving rpm code 
===============================

Updated:
  audiofile.x86_64 0:0.2.6-17.6

Complete!


access_log on Apache server where yum repository is has message:
$ipaddress - - [11/Jan/2010:15:00:52 +0000] "GET 
//repo/yum/Updates/%24RCE/SLES10-SP2-Updates/sles-10-x86_64/rpm/x86_64/audiofile-0.2.6-17.2_17.6.x86_64.delta.rpm 
HTTP/1.1" 200 42493 "-" "urlgrabber/3.1.0 yum/3.2.20"


Regards,....Mike McIntyre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20100111/f267a450/attachment.htm>


More information about the Yum mailing list