[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: [opensuse] Fetching updates once for two boxes
From: "Carlos E. R." <robin.listas () telefonica ! net>
Date: 2008-10-31 18:11:43
Message-ID: alpine.LSU.2.00.0810311908530.4534 () nimrodel ! valinor
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, 2008-10-31 at 14:10 +0200, Dave Plater wrote:
> 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
Ahhhh! That's it.
And... if i manually copy the files from
/var/cache/zypp/packages/packman/i586 from one computer to another,
will those be picked locally instead of downloaded?
A trick we used time ago was to publish that directory rw via nfs, and use
it on all the computers, but i don't know how willthat work with libzyp
:-?
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkkLSmIACgkQtTMYHG2NR9XglgCfctJUZAdcZG56wmW8VgjLyz2C
FUkAn0wSL3KBvBDzOlPULEfqdjS5cxSb
=ve5x
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic