![](https://seccdn.libravatar.org/avatar/2f96cd98141ec1c2952c38316b3b63b5.jpg?s=120&d=mm&r=g)
So, as I wrote on the other thread, here is something new that came up. I am trying to install a limited version of 42.3 in a virtual machine, and there was a problem with one of the repositories. It was the OSS repository at this location: http://download.opensuse.org/distribution/leap/42.3/repo/oss/ Specifically, whenever it would get to this file, it would time out: http://download.opensuse.org/distribution/leap/42.3/repo/oss/suse/setup/desc... I couldn't get it to get past this. So I followed Carlos' suggestion from my other thread, and in the repos.d file for this, I changed it to the following mirror: http://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/leap/42.3/repo/oss/ Then I ran zypper ref and it all updated. I have since changed it back to the original, and zypper ref works now. Is there anything wrong with what I did here? On 07/26/2017 01:59 AM, Carlos E. R. wrote:
You can write a mirror in the config. The easiest manner (IMO) is editing the file:
/etc/zypp/repos.d/download.opensuse.org-oss.repo:
[download.opensuse.org-oss] name=Main Repository (OSS) enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/distribution/leap/42.2/repo/oss/ path=/ type=yast2 keeppackages=0
Just comment out the "baseurl" line and write your own. This is not detected as a repo change by yast/zypper.
I knew of a way to alter that and use your own local redirector, using a local apache server - but I don't recall how, I used that two years ago, I think, for packman. I may be able to find that out another day if you are interested.
-- George Box: 42.2 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: 42.2 | KDE Plasma 5.8 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 42.2 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org