[QUOTE=jayvi;26777]I am trying to use delta RPM’s with zypper and having no success. I have a remote zypper repo called remote-repo that contans v1 for package A and a delta RPM between v1 and v2. On my SLES 11 SP3 system, I have added zypper repo remote-repo with --keep-packages enabled.
After installing v1 of A, I want to do a [FONT=Courier New]zypper up[/FONT] with the expectation that the delta RPM will be downloaded and then applied to the previously installed (and preserved) v1 package. I only get a message stating that the highest version, v1, is already installed.
I used [FONT=Courier New]create-repo --deltas --max-delta-rpm-size=10000000000 --oldpackagedirs …/oldpackages .[/FONT] to generate the remote zypper repo.
Can I do this with zypper?[/QUOTE]
I assume you used the command createrepo not create-repo.
Did you run
$ zypper refresh
on the machine you’re installing your package on after you updated the repo? Maybe sounds obvious, but I’ve got myself briefly confused before by forgetting to refresh.
What happens if you ask zypper to update just your package?
$ zypper up your_package_name_here
The output of
$ zypper packages -r your_repo_name_here | grep your_package_name_here
might also be interesting.
I’ve never messed with delta rpms myself. My repos are on the network as the machines that use them so transfer time is negligible and I find transferring full packages is preferable to transferring delta packages then having zypper thrash spinning metal disk to apply them.
CODE tags are the best way to format stuff like commands rather than specifying a font. Look for the # button in the toolbar when composing the message.