Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable yandex mirror for requests from Ukraine

Featured Replies

Requests to yandex blocked by most providers in Ukraine. So, apt failed to pull new updates when roundrobin returns yandex as a mirror

16 hours ago, AZ8 said:

Requests to yandex blocked by most providers in Ukraine.

 

OMG :( We have one mirror in Ukraine. Is that blocked in Russia?

 

16 hours ago, AZ8 said:

when roundrobin returns yandex as a mirror


Here is the code. I have asked author to check what would best to deal with such exceptions that we resolve this problem at server side and users don't need to tackle this. Adding some sort of "international-relations.db " ?

23.09.2022 в 11:06, Igor сказал:

We have one mirror in Ukraine. Is that blocked in Russia?

No! These are some popular services in Russia that are blocked in some other countries for users who try to reach them.
Conversely, I have no problems getting through to anywhere in the world.

23.09.2022 в 13:57, lanefu сказал:

armbian-config to select a mirror

I have the same problem. Its the solution?

Hi, I am facing the same issue. I am from Ukraine and our government blocked russian services for reasonable reason.
I've read, that one of the sources redirecting me to this blocked mirror and I couldn't do anything with it on my side. Is it true?
How can I fix it?

 

user@rockpi-4b:~$ sudo apt update && apt install -yq --no-install-recommends gcc         libgirepository1.0-dev         python3.6 python3-setuptools python3-pip python3-openssl python3.6-dev         python-gi python-gobject-2 python-gi-cairo python3-gi python3-gi-cairo         gir1.2-gtk-3.0 gir1.2-nm-1.0         librsvg2-dev libglib2.0-dev         openssh-server         net-tools         musl-dev         ttf-dejavu         adwaita-icon-theme         dbus-x11         x11-xserver-utils xinit xserver-xorg xserver-xorg-legacy xserver-xorg-input-libinput         xserver-xorg-video-fbdev xterm         libgtk-3-dev libgtk2.0-0 libgles2-mesa-dev libnss3 libxss1 libxtst6 libgconf-2-4 xfonts-base qemu-user-static         network-manager-gnome         alsa-utils         pulseaudio         xvfb         chromium-browser         xdotool         v4l-utils         portaudio19-dev         python3.6-distutils         cmake         xdg-utils         netcat
Hit:1 http://ports.ubuntu.com jammy InRelease
Hit:2 http://ports.ubuntu.com jammy-security InRelease                                                      
Hit:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease                                
Hit:4 http://ports.ubuntu.com jammy-updates InRelease                            
Hit:5 http://ports.ubuntu.com jammy-backports InRelease
Get:6 http://mirror.yandex.ru/mirrors/armbian/apt jammy InRelease [2,294 B]
Err:6 http://mirror.yandex.ru/mirrors/armbian/apt jammy InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done        
E: Failed to fetch http://apt.armbian.com/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://apt.armbian.com jammy InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

Edited by Roman Khudobei
hiding sensitive info; providing more information; improve explanation;

I was able to fix the issue with the help of this topic, in case anyone searching


I am also experiencing problems surfing Armbian website here. I tried to look for Rock Pi 4 B images and also for the archive. It also redirected me to "mirror.yandex.ru". Today I could access these pages, because I was redirected to  another source.

Edited by Roman Khudobei

Temporary solution:

In file /share/python-apt/templates/Ubuntu.mirrors  delete lines after #LOC:RU

Edited by alexondi

my "5 cents"...

correct way, as it was noticed already, to choose region in apt sources file, like in this forum post

and corresponding docs page

https://docs.armbian.com/User-Guide_Fine-Tuning/#choosing-an-apt-mirror

 

 

And about armbian-config... For now, 08 feb 2024, image Armbian_23.11.1_Uefi-x86_bookworm_current_6.1.63_xfce_desktop.img
armbian-config in my case shows only one line in mirrors selection list: "0 - Automated"
This is because for now url http://apt.armbian.com/regions is defunct, and, consequently, in armbian-config code in file /usr/lib/armbian-config/jobs.sh
 part of code for acquiring mirrors can be (temporarily) corrected like this:

.......
        "Mirrors")

                # Default automated mirror
                url="http://apt.armbian.com"
                LIST=( "0" "Automated" )
                mirrors=( "${url}" )

                ## Mirrors for each region
                #for region in $(wget -qO- "${url}/regions" | jq -r '.[]' | sort | grep -v default); do
                #       LIST+=( "${#mirrors[@]}" "Region ${region}" )
                #       mirrors+=( "${url}/region/${region}/" )
                #done

                # Individual mirrors
                for mirror in $(wget -qO- "${url}/mirrors" | jq -r '.[] | .[]' | sort | uniq); do
                        LIST+=( "${#mirrors[@]}" "${mirror}" )
                        mirrors+=( "${mirror}" )
                done
......

this way mirrors extracted from http://apt.armbian.com/mirrors and displayed correctly.

Edited by hex_messer

oh, I figured out, how it should be coded to select regions :

 

               # Mirrors for each region
               for region in $(wget -qO- "${url}/mirrors" | jq -r 'keys' | jq -r '.[]' | sort | grep -v default); do
                       LIST+=( "${#mirrors[@]}" "Region ${region}" )
                       mirrors+=( "${url}/region/${region}/" )
               done

 

And now it looks like this in armbian-config:
 

 Configuration utility, Armbian 23.11.1 stable, 10.0.2.15
 ─────────────────────────────────────────────────────────────────────────────────
         ┌──────────────────── Select APT mirror ──────────────────────┐
         │ Select mirror                                               │  
         │ ┌─────────────────────────────────────────────────────────┐ │  
         │ │   0   Automated                                         │ │  
         │ │   1   Region AS                                         │ │  
         │ │   2   Region EU                                         │ │  
         │ │   3   Region NA                                         │ │  
         │ │   4   Region OC                                         │ │  
         │ │   5   http://armbian.chi.auroradev.org/apt/             │ │  
         │ │   6   http://armbian.hosthatch.com/apt/                 │ │  
         │ │   7   http://armbian.lv.auroradev.org/apt/              │ │  
         │ │   8   http://armbian.systemonachip.net/apt/             │ │  
         │ │   9   http://armbian.tnahosting.net/apt/                │ │  
         │ │   10  http://au.sbcmirror.org/armbian/apt/              │ │  
         │ │   11  http://fastmirror.pp.ua/armbian/                  │ │  
         │ └────↓(+)─────────────────────────────────────────30%─────┘ │  
         ├─────────────────────────────────────────────────────────────┤  
         │                 <  OK  >         <Cancel>                   │  
         └─────────────────────────────────────────────────────────────┘  

 

I hope, this should be posted somewhere to be corrected in mainstream code, how and where to do it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.