Re: [opensuse] Fetching updates once for two boxes
- From: Dave Plater <dave.plater@xxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 14:10:31 +0200
Carlos E. R. wrote:
Libzypp (yast and zypper) can keep packages in /var/cache/zypp/packages/
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.
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Fetching updates once for two boxes
- From: Carlos E. R.
- Re: [opensuse] Fetching updates once for two boxes
- References:
- [opensuse] Fetching updates once for two boxes
- From: j debert
- Re: [opensuse] Fetching updates once for two boxes
- From: Carlos E. R.
- [opensuse] Fetching updates once for two boxes
- Prev by Date: Re: [opensuse] KDE accessibility. was Bye bye SuSE?
- Next by Date: Re: [opensuse] KDE accessibility. was Bye bye SuSE?
- Previous by thread: Re: [opensuse] Fetching updates once for two boxes
- Next by thread: Re: [opensuse] Fetching updates once for two boxes
- Index(es):
Relevant Pages
|