Comments (3)
For this specific problem you can add ?AVOID_COUNTRY=ru
to urls in /etc/zypp/repos.d/*.repo files.
So corresponding line in .repo file will look something like:
baseurl=https://download.opensuse.org/repositories/server:/monitoring/15.4/?AVOID_COUNTRY=ru
Unfortunately I don't have easier solution at the moment, but let me know if such workaround is possible for you.
from mirrorcache.
Thx, I will try it. :-)
Is this a documented parameter?
Are there multiple values allowed? (separator?)
But as you said this is only a workaround.
I would prefer a positive logic like PREFER_COUNTRY or PREFER_REGION to avoid the maintenance of a blacklist...
from mirrorcache.
Unfortunately no much documentation atm besides unit tests, e.g.
MirrorCache/t/environ/03-geo.sh
Line 71 in 863fb70
Separator is coma (see example below)
COUNTRY and REGION are detected automatically, and they are preffered when possible, you can check that such detection works properly using route /rest/myip , e.g.:
curl download.opensuse.org/rest/myip
If that info in output of that command is incorrect - you can add REGION and COUNTRY the same way to url. So it will try to find the closest mirror. You might try combining these variables like
?REGION=eu&COUNTRY=be&AVOID_COUNTRY=de,ru
from mirrorcache.
Related Issues (20)
- Not able to do yum install cri-o -y due to network issue but My network would be stable more than 150MBPs Speed HOT 5
- ISO download site repo.ugm.ac.id not accessible HOT 2
- outdated cache opensuse.mirror.ac.za HOT 3
- Something doubles the file extension (*.zsync => *.zsync.zsync) HOT 5
- chave invalida [ AJUDA SOU NOVATO DEBIAN12]
- cdn.opensuse.org returning 503 Backend is unhealthy HOT 2
- Debian_Testing Release' does not have a Release file. HOT 5
- If download from a given mirror fails try from another one and finally download from suse HOT 2
- Download not working snapd-2.61-1.1.x86_64.rpm HOT 3
- mirror.aardsoft.fi not up to date? HOT 3
- knot-resolver_5.7.0-cznic.1_amd64.deb and Packages, md5sum mismatch
- Slowroll repository is unpurged HOT 1
- Checksum error for repositories/Emulators/15.5 HOT 2
- openSUSE mirrors infrastructure outdated ? HOT 3
- The version 4.14.6 (xen-libs and xen-tools-domU) cannot be found in the openSUSE 15.3 repositories HOT 1
- Incorrect error handling running the Debian 11 version in Debian 12 HOT 2
- Missing http://download.opensuse.org/repositories/multimedia:/apps/15.4
- redirect to untrusted mirror.yandex.ru HOT 2
- Signature keys mismatch for php builds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirrorcache.