Re: yum update failing for delta rpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike McIntyre <mikemci@xxxxxxxxxx> 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 -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux