On Wed, Aug 01, 2007 at 10:58:21AM +0200, Jan Tiggy wrote: > > Pls, help me correctly create OpenSuse 10.2 updates repo on the server for > > local network. > > 1. What programs should I use for this? > > 2. And how to sync it in the future with public updates server? > > > 1. Create a rsync cronjob. Something like that: > > I'm using a user rights to do so. > > 40 4 * * * rsync -tvrl --exclude=rpm/ppc/ --exclude=rpm/src/ > --exclude=rpm/x86_64/ --delete ftp.gwdg.de::pub/suse/update/10.2/ > /srv/ftp/repos/10.2/update/ #repo: update > > As u can see I rsync the files into that local folder > /srv/ftp/repos/10.2/update/ > > 2. Then create a createrepo cronjob. Something like this: > > 5 5 * * * createrepo /srv/ftp/repos/10.2/update/ #createrepo > > 3. Add the local folder to Yast. In my case it's /srv/ftp/repos/10.2/update/ > > You need rsync and createrepo installed.
Why is createrepo necessary here? The update directory already has valid repo information. Ciao, Marcus -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
