Re: yum update failing for delta rpms

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Mike McIntyre <[email protected]> writes:

> 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"?
[...]
> Downloading Packages:
> audiofile-0.2.6-17.2_17.6 100% |=========================|  41 kB    00:00
> ============================== Entering rpm code 
> ===============================
> Running Transaction Test

 Something is wrong with the repo. data here, maybe some mismatch
between how zypp can work and how yum does atm.
 Currently yum _only_ understands .rpm files, and expects anything it
sees as the href for a package to be .rpm files. There is a yum-presto
plugin, which goes through the "to be downloaded" packages, and tries
to find the .drpm files from the deltainfo MD ... it then converts the
.drpm into a local .rpm. So that when it's finished yum goes "oh, look
the .rpm is actually on disk already so I don't need to download it".

 However if the presto plugin were running above, you'd see more
output ... so I'm guessing that the href for the "package" audiofile
is actually the .drpm file, but as I said yum will assume it's the rpm
file and thus. fail.

-- 
James Antill -- [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.