Mailinglist Archive: opensuse (1956 mails)
| < Previous | Next > |
Re: [opensuse] How to create local updates repo
- From: Кирилл Кириллов <iogurt_forever@xxxxx>
- Date: Thu, 02 Aug 2007 00:30:45 +0400
- Message-id: <E1IGKqD-000I3A-00.iogurt_forever-bk-ru@xxxxxxxxxxx>
В Срд, 01/08/2007 в 10:58 +0200, Jan Tiggy пишет:
> 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
> 2. Then create a createrepo cronjob. Something like this:
>
> 5 5 * * * createrepo /srv/ftp/repos/10.2/update/ #createrepo
First of all, thanks for answers :)
I have added to your command some --exclude options to have only i586
and noarch dirs because it is only arch of computers used. But I have
some questions how to optimize download:
1. is it necessary to download all *.info *.delta.rpm *patch.rpm files,
are any advantages using them?
2. in repo there are several versions of the same program, is it
possible to download only the latest version?
Kirill Kirillov.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> 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
> 2. Then create a createrepo cronjob. Something like this:
>
> 5 5 * * * createrepo /srv/ftp/repos/10.2/update/ #createrepo
First of all, thanks for answers :)
I have added to your command some --exclude options to have only i586
and noarch dirs because it is only arch of computers used. But I have
some questions how to optimize download:
1. is it necessary to download all *.info *.delta.rpm *patch.rpm files,
are any advantages using them?
2. in repo there are several versions of the same program, is it
possible to download only the latest version?
Kirill Kirillov.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |