Mailinglist Archive: zypp-devel (66 mails)
| < Previous | Next > |
Re: [zypp-devel] How to add multiple baseurl=URIs to zypper repo from command line?
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Thu, 05 Feb 2009 10:12:50 +0100
- Message-id: <498AAD92.3050305@xxxxxxx>
Lukas Ocilka wrote:
support multiple urls. libzypp supports it code-wise, but it is not a
feature, mainly because the behavior is undefined:
from yum man page:
*baseurl*
Must be a URL to the directory where the yum repository's 'repodata'
directory lives. Can be an http://, ftp:// or file:// URL. You can
specify multiple URLs in one baseurl statement. The best way to do
this is like this:
[repositoryid]
name=Some name for this repository
baseurl=url://server1/path/to/repository/
url://server2/path/to/repository/
url://server3/path/to/repository/
If you list more than one baseurl= statement in a repository you
will find yum will ignore the earlier ones and probably act
bizarrely. Don't do this, you've been warned.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
I can't see any possibility for multiple baseurl entries in .repo fileWell, the first guys implementing the "standard" (yum) do actually
(or any other entry) in the documentation:
http://en.opensuse.org/Standards/RepoInfo
support multiple urls. libzypp supports it code-wise, but it is not a
feature, mainly because the behavior is undefined:
from yum man page:
*baseurl*
Must be a URL to the directory where the yum repository's 'repodata'
directory lives. Can be an http://, ftp:// or file:// URL. You can
specify multiple URLs in one baseurl statement. The best way to do
this is like this:
[repositoryid]
name=Some name for this repository
baseurl=url://server1/path/to/repository/
url://server2/path/to/repository/
url://server3/path/to/repository/
If you list more than one baseurl= statement in a repository you
will find yum will ignore the earlier ones and probably act
bizarrely. Don't do this, you've been warned.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |