# Updates via terminal

**URL:** <https://rebornos.discourse.group/t/updates-via-terminal/1072>\
**Category:** ARM\
**Created:** [June 19, 2023, 8:37pm UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072 "2023-06-19T20:37:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mangled](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@Mangled](https://rebornos.discourse.group/u/Mangled)\
**Post date:** [June 19, 2023, 8:37pm UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072/1 "2023-06-19T20:37:14Z")

</div>

Hi,  
When i run sudo pacman -Syyu, i run into synchronisation issues. None of the mirrors work. Can someone please remind me how to fix the mirrors.

---

<div class="post-metadata">

**Author:** ![SoulHarsh0071](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/soulharsh0071/32/700_2.png) [@SoulHarsh0071](https://rebornos.discourse.group/u/SoulHarsh0071)\
**Post date:** [June 19, 2023, 8:41pm UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072/2 "2023-06-19T20:41:56Z")

</div>

Hello, could you post pacman output? You can try refreshing mirrors using the refresh mirrors tool. If that doesn’t work, you can edit the mirrorlist file (/etc/pacman.d/mirrorlist) to use Geo mirrors or mirrors selected for locations near you. For manually picking mirrors, you can use Arch Linux ARM mirrorlisting page at: [https://archlinuxarm.org/about/mirrors](https://archlinuxarm.org/about/mirrors)

---

<div class="post-metadata">

**Author:** ![Pandaa](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/pandaa/32/649_2.png) [@Pandaa](https://rebornos.discourse.group/u/Pandaa)\
**Post date:** [June 19, 2023, 9:39pm UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072/3 "2023-06-19T21:39:00Z")

</div>

`sudo pacman -S rate-mirrors`  
rate-mirrors app allows you to automatically get the newest mirrors and sort them  
`sudo rate-mirrors archarm --allow-root --save=/etc/pacman.d/mirrorlist`

---

<div class="post-metadata">

**Author:** ![Pandaa](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/pandaa/32/649_2.png) [@Pandaa](https://rebornos.discourse.group/u/Pandaa)\
**Post date:** [June 19, 2023, 9:42pm UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072/4 "2023-06-19T21:42:19Z")

</div>

Also take a look at this. this could also be the issue you are experiencing

> [@Problem with database during update](https://rebornos.discourse.group/t/problem-with-database-during-update/1071/1):
>
> Konnte Datei ‘community.db’ nicht von [za.mirror.archlinuxarm.org](http://za.mirror.archlinuxarm.org) übertragen : Could not resolve host: [za.mirror.archlinuxarm.org](http://za.mirror.archlinuxarm.org) All mirrors show the same result regards Uli

---

<div class="post-metadata">

**Author:** ![Mangled](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@Mangled](https://rebornos.discourse.group/u/Mangled)\
**Post date:** [June 20, 2023, 12:29am UTC](https://rebornos.discourse.group/t/updates-via-terminal/1072/5 "2023-06-20T00:29:59Z")

</div>

Thank you for the quick reply. I followed the steps to edit the config file and it worked. Thanks again!
