Carlos E. R. wrote:
On Thursday, 2008-10-30 at 19:01 -0700, j debert wrote:
How can I fetch all the updates required for both boxes once without having to become a repository and download everything--which would far exceed isp's limits. This would probably be some sort of proxy agent that can read the installed database for each box then fetch each package once and only once for both boxes. Is there yet a utility to do that?
This was a feature of Yast some versions back, but it has been lost. I believe that zypper can store permanently downloaded packages somewhere, but I don't recall how. I think this could be used to to the update first in one computer, copy over the downloaded rpms to the other machine, then run zypper again on that.
The zypper manual doesn't mention this :-?
-- Cheers, Carlos E. R.
Libzypp (yast and zypper) can keep packages in /var/cache/zypp/packages/ in a directory that matches the repository the rpms were downloaded from. For example if the file /etc/zypp/repos.d/packman.repo was the repository description file for http://ftp.skynet.be/pub/packman/suse/11.0/ and the section in the file keeppackages was set to keeppackages=1 then the directory /var/cache/zypp/packages/packman/i586 wil contain all rpms that libzypp downloads from http://ftp.skynet.be/pub/packman/suse/11.0/i586/ . These packages can be moved to another directory and that directory turned into a local repository with the createrepo command. zypper has a -k option used with zypper ar to add repos with keeppackages set to 1 Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org