[opensuse-factory] How to add a local mirror as a repositorie
Hi guys Sorry if my question is dumb, but I'm a new user... I have a local mirror (rsynced with opensuse.c3sl.ufpr.br) and I'm trying (without success) to configure it as my main repositorie. If someone could give the "stones path"... Thanks Luiz Alberto Saba -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 30 Jan 2014 17:32, Luiz Alberto Saba
Hi guys
Sorry if my question is dumb, but I'm a new user... I have a local mirror (rsynced with opensuse.c3sl.ufpr.br) and I'm trying (without success) to configure it as my main repositorie. If someone could give the "stones path"...
Thanks
Luiz Alberto Saba
Either do a "zypper ar [options] <Your-Local-URI> <Your-local-main-repo-alias>" "zypper mr -e <Your-local-main-repo-alias>" "zypper ref -r <Your-local-main-repo-alias>" "zypper mr -d <Your-offical-main-repository-alias>" OR: go to /etc/zypp/repos.d/ and edit the *.repo file for your main-repo: the "baseurl=<URI>" line must point to your local mirror. followed by "zypper ref -f -r <Your-offical-main-repository-alias>" - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi,
Mirrorbrain [1] do it automatically for you when you use the official
repositories (and anyone in downlaod.opensuse.org), so no need to
change anything.
As an example:
http://download.opensuse.org/distribution/13.1/repo/oss/README.mirrorlist
As you are in Brazil (like me), it shows that UFPR mirror with a higer
priority (130)
Regards,
Luiz
[1] http://en.opensuse.org/MirrorBrain
2014-01-30 Yamaban
On Thu, 30 Jan 2014 17:32, Luiz Alberto Saba
wrote: Hi guys
Sorry if my question is dumb, but I'm a new user... I have a local mirror (rsynced with opensuse.c3sl.ufpr.br) and I'm trying (without success) to configure it as my main repositorie. If someone could give the "stones path"...
Thanks
Luiz Alberto Saba
Either do a
"zypper ar [options] <Your-Local-URI> <Your-local-main-repo-alias>" "zypper mr -e <Your-local-main-repo-alias>" "zypper ref -r <Your-local-main-repo-alias>" "zypper mr -d <Your-offical-main-repository-alias>"
OR: go to /etc/zypp/repos.d/ and edit the *.repo file for your main-repo: the "baseurl=<URI>" line must point to your local mirror.
followed by "zypper ref -f -r <Your-offical-main-repository-alias>"
- Yamaban.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Yamaban wrote:
On Thu, 30 Jan 2014 17:32, Luiz Alberto Saba
wrote: Hi guys
Sorry if my question is dumb, but I'm a new user... I have a local mirror (rsynced with opensuse.c3sl.ufpr.br) and I'm trying (without success) to configure it as my main repositorie. If someone could give the "stones path"...
Thanks
Luiz Alberto Saba
Either do a
"zypper ar [options] <Your-Local-URI> <Your-local-main-repo-alias>" "zypper mr -e <Your-local-main-repo-alias>" "zypper ref -r <Your-local-main-repo-alias>" "zypper mr -d <Your-offical-main-repository-alias>"
OR: go to /etc/zypp/repos.d/ and edit the *.repo file for your main-repo: the "baseurl=<URI>" line must point to your local mirror.
followed by "zypper ref -f -r <Your-offical-main-repository-alias>"
Or use YaST::Software Repositories -- Per Jessen, Zürich (-0.2°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Luiz Alberto Saba
-
Luiz Fernando Ranghetti
-
Per Jessen
-
Yamaban