# Temporary failure resolving 'mirror.yandex.ru'

**URL:** https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483
**Category:** Troubleshooting
**Created:** [5 April 2023 14:16 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483 "2023-04-05T14:16:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 14:16 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/1 "2023-04-05T14:16:24Z")

</div>

Diet Pi is working fine. Trying to do and update.

Error on update is: “Temporary failure resolving ‘[mirror.yandex.ru](http://mirror.yandex.ru)’”  
I live in Ukraine and ‘[yandex.ru](http://yandex.ru)’ is blocked so thinking I need to remove this as a mirror.

How can I get around this and update?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 15:01 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/2 "2023-04-05T15:01:17Z")

</div>

can you share the whole error message pls. Btw: was there a reason to ignore our trouble shooting template? There is some reason behing 😉

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 15:44 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/3 "2023-04-05T15:44:31Z")

</div>

Sorry, I live in the city of Kherson and the shelling started again and the wife was yelling and I just wanted to ask the question before the power died again.

Anyway, sorry. Should of waited and filed the ticket properly. . I just am struggling with patients at the moment. Again, I am sorry.  
So… Lets try this

#### Details:

- Date | Wed Apr 5 16:33:37 BST 2023
- DietPi version | v7.2.3 (MichaIng/master)
- Image creator | DietPi Core Team
- Pre-image | Armbian
- Hardware | ROCK64 (aarch64) (ID=43)
- Kernel version | Linux DietPi 5.10.35-rockchip64 #21.05.1 SMP PREEMPT Fri May 7 13:53:11 UTC 2021 aarch64 GNU/Linux
- Distro | buster (ID=5)
- Command | apt-get -qq upgrade
- Exit code | 100
- Software title | DietPi-Update

#### Steps to reproduce:

1. Live in Ukraine
2. Run the DietPi update program

#### Expected behaviour:

Update should run

- …

#### Actual behaviour:

fails with error of not finding russian mirror.

- …

#### Extra details:

Ukraine has blocked all Russian web sites. I also tried maybe run apt-get update or try with --fix-missing but the same issue. Did research and found that by removing the russian mirror from some file you can bypass the using the russian mirror web site. Just do not know where that file is.

- …

#### Additional logs:

```auto
E: Failed to fetch http://apt.armbian.com/pool/main/a/armbian-firmware/armbian-firmware_23.02.2_all.deb Temporary failure resolving 'mirror.yandex.ru'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

```

Again, sorry. 😉

---

<div class="post-metadata">

### Author: ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)
#### Post date: [5 April 2023 17:04 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/4 "2023-04-05T17:04:06Z")

</div>

Hang on in there, mate!

Go to `dietpi-config` then `Network Options-MIsc` and select another APT mirror from the first option, or you can input your custom.

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:17 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/5 "2023-04-05T17:17:06Z")

</div>

I already did, sorry should of mentioned that.

---

<div class="post-metadata">

### Author: ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)
#### Post date: [5 April 2023 17:19 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/6 "2023-04-05T17:19:06Z")

</div>

And which one did you use?

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:20 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/7 "2023-04-05T17:20:21Z")

</div>

One in the US and UK. Going to try again now.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 17:21 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/8 "2023-04-05T17:21:10Z")

</div>

> [@jakebullet70](#):
>
> `http://apt.armbian.com/`

It is the global apt package server for Armbian that has a pool of server behind. Something we don’t manage which server is selected. However, we could specify a dedicated mirror.

Let’s check where it is configured exactly as I’m not 100% sure on exact file name 😃

```auto
for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done

```

---

<div class="post-metadata">

### Author: ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)
#### Post date: [5 April 2023 17:24 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/9 "2023-04-05T17:24:06Z")

</div>

There is a [list](https://www.debian.org/mirror/list) which also includes Ukranian servers.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 17:25 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/10 "2023-04-05T17:25:42Z")

</div>

> [@trendy](#):
>
> There is a [list](https://www.debian.org/mirror/list)

But these are Debian. We need Armbian one 😉

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:25 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/11 "2023-04-05T17:25:49Z")

</div>

![image](https://dietpi.com/forum/uploads/default/original/2X/2/23351df133bd22f57553b04e688ec33a742b0add.png)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 17:33 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/12 "2023-04-05T17:33:00Z")

</div>

ok one hint, try to avoid screen prints. Way better to copy /past thinks directly from SSH terminal 😉

Try to adjust following `/etc/apt/sources.list.d/armbian.list` and adjust the package source from `https://apt.armbian.com/` into `http://mirrors.xtom.de/armbian/`

Save the file and run `apt update`

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:35 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/13 "2023-04-05T17:35:35Z")

</div>

I tried the copy - paste, it did not like all the links - complained about new person stuff… 😉

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 17:37 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/14 "2023-04-05T17:37:17Z")

</div>

you can place your feedback from SSH terminal into code fences like this

````sh
```
type or paste code here
```

````

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:46 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/15 "2023-04-05T17:46:07Z")

</div>

```auto
Hit:10 http://ftp.us.debian.org/debian buster-backports InRelease
Fetched 499 kB in 4s (116 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
290 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://mirrors/xtom/de/armbian/dists/buster/InRelease Could not resolve 'mirrors'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@DietPi:~#

```

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 17:57 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/16 "2023-04-05T17:57:18Z")

</div>

Trying an diet pi update again… something is happening. 😉

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [5 April 2023 18:10 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/17 "2023-04-05T18:10:50Z")

</div>

```auto
│ - Command: apt-get -y update
│ - Exit code: 255
│ - DietPi version: v8.15.2 (MichaIng/master) | HW_MODEL: 43 | HW_ARCH: 3 |
│ DISTRO: 5
│ - Image creator: DietPi Core Team
│ - Pre-image: Armbian
│ - Error log:
│ Err:1 http://mirrors/xtom/de/armbian buster InRelease
│ Could not resolve 'mirrors'
│ Hit:2 https://deb.debian.org/debian-security buster/updates InRelease
│ Hit:3 https://download.mono-project.com/repo/debian buster InRelease
│ Hit:4 https://packages.microsoft.com/debian/10/prod buster InRelease
│ Hit:5 http://ftp.us.debian.org/debian buster InRelease
│ Hit:6 https://packages.microsoft.com/repos/microsoft-debian-jessie-prod
│
│ Retry : Re-run the last command that failed ↑
│ DietPi-Config : Edit network, APT/NTP mirror settings etc        

```

So looks like we made it to v8.15.2!  
Thanks all.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 18:50 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/18 "2023-04-05T18:50:37Z")

</div>

> [@jakebullet70](#):
>
> ```auto
> │ Err:1 http://mirrors/xtom/de/armbian buster InRelease
> │ Could not resolve 'mirrors'
> 
> ```

Something got wrong during configuration on your side

This is your config

```auto
http://mirrors/xtom/de/armbian

```

But it should be

```auto
http://mirrors.xtom.de/armbian/

```

Some dots `.` changed into slash `/`. Pls review source file again.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [5 April 2023 18:54 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/19 "2023-04-05T18:54:44Z")

</div>

> [@jakebullet70](#):
>
> ```auto
> Hit:10 http://ftp.us.debian.org/debian buster-backports InRelease
> Fetched 499 kB in 4s (116 kB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 290 packages can be upgraded. Run 'apt list --upgradable' to see them.
> 
> ```

I see you configured backports, this will go to upgrade quite some packages (290) now. Are you sure this is intentional? Better to upgrade to Bullseye instead [DietPi - How to upgrade to "Bullseye" - DietPi blog](https://dietpi.com/blog/?p=811)

---

<div class="post-metadata">

### Author: ![jakebullet70](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/j/da6949/32.png) [@jakebullet70](https://dietpi.com/forum/u/jakebullet70)
#### Post date: [6 April 2023 02:18 UTC](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483/21 "2023-04-06T02:18:39Z")

</div>

Fixed the typo on the mirror and we are good there now. Mirror is found.

I am going to start a fresh install to the new Bullseye image. I am sure I will still need to change the mirror though. Thanks for all the help.

[Next page](https://dietpi.com/forum/t/temporary-failure-resolving-mirror-yandex-ru/16483.md?page=2)
