# Slow updates? Here are new ways to refresh and select mirrors on RebornOS

**URL:** <https://rebornos.discourse.group/t/slow-updates-here-are-new-ways-to-refresh-and-select-mirrors-on-rebornos/473>\
**Category:** Tips & Tricks\
**Tags:** mirrors\
**Created:** [August 6, 2021, 6:09am UTC](https://rebornos.discourse.group/t/slow-updates-here-are-new-ways-to-refresh-and-select-mirrors-on-rebornos/473 "2021-08-06T06:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [August 6, 2021, 6:09am UTC](https://rebornos.discourse.group/t/slow-updates-here-are-new-ways-to-refresh-and-select-mirrors-on-rebornos/473/1 "2021-08-06T06:09:52Z")

</div>

Dear RebornOS Community,

If your updates are slow and you are sure that your internet connection is fine, read on to learn about the different ways you can update your _mirrorlist_ files on RebornOS, such that you have the fastest mirrors to download packages from.

# 1. Through the Desktop Entry

Run the below command first, to install the application:

```bash
sudo pacman -Sy --needed refresh-mirrors

```

Open the _application menu_ or _application grid_, _launcher_, or _runner_, and find **Refresh Mirrors** and launch it by clicking, or hitting `Enter`. The text and icon may look like the below image:

 ![Screenshot from 2021-08-05 23-05-20](https://global.discourse-cdn.com/free1/uploads/rebornos/original/1X/8ba24aa1c698f00d79bf68d521c4979fcb84efa6.png)

Enter your password at the prompt and the [rate-mirrors](https://github.com/westandskif/rate-mirrors) tool will run on a terminal with pre-selected options. In the end, it will refresh your **Arch Linux** and **RebornOS** mirrors to provide you the fastest update/install speed you can get.

# 2. Through RebornOS Welcome

> **Please click here for extra steps if you have not upgraded your system recently...**
>
> Run the below command first, to install the required applications:
> 
> ```bash
> sudo pacman -Sy --needed rebornos-welcome
> 
> ```

Launch the _RebornOS Welcome_ application, Click on the `Utilities` tab on the bottom-left, and click on the `Refresh Pacman Mirrors` button as shown below:

 ![Screenshot from 2021-08-06 00-00-40](https://global.discourse-cdn.com/free1/uploads/rebornos/original/1X/634e1b524e321c3ebe27debee919389319da5c73.png)

Enter your password at the prompt and the [rate-mirrors](https://github.com/westandskif/rate-mirrors) tool will run on a terminal with pre-selected options. In the end, it will refresh your **Arch Linux** and **RebornOS** mirrors to provide you the fastest update/install speed you can get.

# 3. Through the systemd service

> **Please click here for extra steps if you have not upgraded your system recently...**
>
> Run the below command first, to install the application:
> 
> ```bash
> sudo pacman -Sy --needed refresh-mirrors
> 
> ```

Just like how `reflector` does, we offer a `systemd` service if you would like to run `rate-mirrors` every time you boot. Run the below command to enable it:

```bash
sudo systemctl enable refresh-mirrors.service

```

If you would also like to run the tool once now while also enabling it to run at boot, run the below command:

```bash
sudo systemctl enable --now refresh-mirrors.service

```

Enabling the systemd service using the above commands will run the [rate-mirrors](https://github.com/westandskif/rate-mirrors) tool every time you boot, with pre-selected options. In the end, it will refresh your **Arch Linux** and **RebornOS** mirrors to provide you the fastest update/install speed you can get.

# 4. (Advanced) Running rate-mirrors on a terminal

1. Install [rate-mirrors](https://github.com/westandskif/rate-mirrors):

```bash
sudo pacman -Sy --needed rate-mirrors

```

1. Run the `rate-mirrors` command to refresh **RebornOS** mirrors. Below is an example:

```bash
sudo rate-mirrors --concurrency=16 --per-mirror-timeout=3000 --allow-root --save=/etc/pacman.d/reborn-mirrorlist rebornos

```

1. Run the `rate-mirrors` command to refresh **Arch Linux** mirrors. Below is an example:

```bash
sudo rate-mirrors --protocol=https --allow-root --save=/etc/pacman.d/mirrorlist arch

```

# 5. (Advanced) Running reflector on a terminal

> **Note:** This will only refresh **Arch Linux** mirrors and _not_ those of **RebornOS**

1. Install `reflector`:

```bash
sudo pacman -Sy --needed reflector

```

1. Run the reflector command ( **with sudo** ) ([here are some examples](https://man.archlinux.org/man/reflector.1#EXAMPLES)) and save the output to `/etc/pacman.d/mirrorlist`. Here is one example on how to do that:

```bash
sudo reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

```

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [August 6, 2021, 11:34pm UTC](https://rebornos.discourse.group/t/slow-updates-here-are-new-ways-to-refresh-and-select-mirrors-on-rebornos/473/3 "2021-08-06T23:34:27Z")

</div>



---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [August 6, 2021, 11:34pm UTC](https://rebornos.discourse.group/t/slow-updates-here-are-new-ways-to-refresh-and-select-mirrors-on-rebornos/473/4 "2021-08-06T23:34:46Z")

</div>


