[Yum-devel] [PATCH 5/5] remove the sequence check

Zdenek Pavlas zpavlas at redhat.com
Mon Mar 4 16:16:48 UTC 2013


>  Somewhat related ... how hard is it to add the features:
> 
> 1. Given a dir of .rpms (not installed), download the new .drpms to
> get new .rpms (basically the reposync case)?

This should not be difficult to implement in Yum, basically just
extend the installed() check, and add another variant of applydeltarpm
invocation.

If $repodir/Packages/ is used to look old RPMs up,
maybe reposync would require no patches at all..

> 2. Have "downgrade" use drpms to go backwards?

Should be a one-line "po.state != TS_UPDATE" patch, I assume..
But we don't have downgrade deltas now.. and F17 prestodelta.xml
is about 5MB, doubling or tripling that.. would be noticeable.
Downgrades are IMO much less common than upgrades.


More information about the Yum-devel mailing list