Another mirror transition - Manual intervention required!

Hi ARM Community!

Today we where lucky and proud to become part of the big Manjaro x64 mirror infrastructure.
Really awesome to have this happen, just before we get shipped as default OS on the Pinebook Pro.

This will help a lot with mirror available to all the new users we will get.

This means, that the old mirror you have will no longer get updated and you need to perform these steps to get onto the new mirrors.

Be aware that it might take all weekend for all mirrors to get the aarch64 packages.

Manual Intervention Required

To get on the new mirrors you simply have to do this.

  1. Edit your /etc/pacman.d/mirrorlist file, so only this line is present:
Server =$repo/$arch
  1. Now run a complete update and database sync with this command:
sudo pacman -Syyu
Old Method
  1. Download the new pacman-mirrors package and a new dependency:
wget && wget
  1. Install it:
sudo pacman -U pacman-mirrors-4.16.5-1-aarch64.pkg.tar.xz python-npyscreen-4.10.5-1-any.pkg.tar.xz
  1. If this file exists /etc/pacman-mirrors-new-$DATE.conf move the file:
sudo mv /etc/pacman-mirrors-new-*.conf /etc/pacman-mirrors.conf
  1. Update your mirrorlist and system:
sudo pacman-mirrors -f5 && sudo pacman -Syyu

Your branch is set to arm-stable by default. If you want to change to arm-testing or arm-unstable to help with testing packages before they reach stable, please edit /etc/pacman-mirrors.conf, uncomment the # Branch = Stable line and change it to the branch you want.

New image releases will follow soon, probably within a week, where this change is already included.

Thank you all for your understanding and gratitude towards this small project, that just got to be part of something bigger.

If you have any issues with the above instructions, please post the issue in this thread and we will help you get through this.

The Manjaro ARM team
@Strit, @Spikerguy, @Darksky, @Dodgejcr, @tsyseu and @Manawyrm

Mirrors for ARM down ?
Manjaro ARM goes world-wide - New mirror infrastructure
All mirrors returns error 404
Setting the Screen Resolution of your Raspberry Pi
[ARM Stable Update] 2020-05-02 - LLVM, LXQT, GCC, KDE Applications, Kernels and LibreOffice
[ARM Stable Update] 2020-04-17 - QT5, Thunderbird, Breath2 and Kernels
Pihole rarely updates
repo issues with pinebook pro
Manjaro ARM 20.06 released!
[ARM Stable Update] 2020-06-28 - KDE Plasma, Plasma Framerwork, Mesa and Kernels
Raspberry Pi 4 Unable To Update
I think I just fried my mirror-list.
[ARM Stable Update] 2020-07-15 - KDE Plasma, Thunderbird, LibreOffice and Kernels
Manjaro ARM goes world-wide - New mirror infrastructure
pinebookpro plasma gcompris-qt Cannot mix incompatible Qt library
Problem with mirrors
Manjaro ARM 20.04 released!
PinebookPro no longer booting after update (KDE and XFCE)
manjaro ARM fail to update
YouTube playback and internet videos doesn't work for me on pi 4 with Manjaro ARM KDE plasma edition
Pamac not showing any AUR packages
Another "no updates" post :), running unstable on ARM
error when trying to update manjaro
libvirtd fails to start with illegal instruction on on latest manjaro arm (4.19.108-1-MANJARO-ARM)
404 error on mirrors with rpi4
Manjaro-i3 20.0 Lysia released
pacman-mirrors is way out of date
[How To] Flash new keyboard/touchpad firmware on Pinebook Pro
Horrible performance with 20.05 on RPi4
[ARM Stable Update] 2020-05-16 - KDE Plasma, Plasma Frameworks, Certbot, Snapd, Thunderbird and Kernels
pacman-mirror ranks mirrors failed on Raspberry Pi 4B
pacman-mirror ranks mirrors failed on Raspberry Pi 4B
Manjaro on Pi 4: Won't update or install files - "Invalid or Corrupt Database"
Unable to upgrade Manjaro?
Docker incompatibility with older 64-bit images
Raspberry Pi 4 MSD boot is here
Docker incompatibility with older 64-bit images
[ARM Stable Update] 2020-04-02 - KDE Plasma 5.18.4, Xorg Server 1.20.8, Plasma Mobile, Uboots and Kernels
[ARM Stable Update] 2020-05-31 - LibreOffice, Plasma Applications, Rpi-Eeprom, CoreApps, Uboots and Kernels
Pacman error - how do I update?
Pacman error - how do I update?
[ARM Stable Update] 2020-06-13 - KDE Plasma, QT5, Mesa, Thunderbird and Kernels

I’m not able to perform the third step

mv: cannot stat ‘etc/pacman-mirrors-new-*.conf’ : No such file or directory

You seem to have forgotten the leading slash before the etc.

In the terminal I used the correct command. I just wrongly wrote it here because I’m using my phone.

Did the packages in step 2 install correctly?

Yes, they did.

Then it will have created a file in /etc called pacman-mirrors-new-$DATE.conf.

What happens if you write sudo mv /etc/pacman-mirrors-new and press TAB?
It should autocomplete the filename.

Also, what device are you running Manjaro ARM on?

Nothing has happened.


I have run these instructions 3-5 times as tests. It has always created that file for me.

When you ran the sudo pacman -U command from step 2, did it say it was installing or upgrading the packages?

I don’t remember but in the beginning I repeated step 2 and then the packages were reinstalled.

Give me the output of:
ls -al /etc/pacman-*

-rw-r--r-- 1 root root 860 Mar 28 14:10 /etc/pacman-mirrors.conf

That seems to be in order.

Try running this for me:
sudo pacman-mirrors -f5 && sudo pacman -Syyu

If it succeeds, that means the install is correct. If it fails it didn't install.

It works.


1 Like





Hi. I have the same problem with step two.
my output is:
-rw-r--r-- 1 root root 794 10-08 16:28 /etc/pacman-mirrors.conf
command: sudo pacman-mirrors -f5 && sudo pacman -Syyu
usage: pacman-mirrors [-h] [-g] [-m {rank,random}]
[-b {stable,testing,unstable}] [-c COUNTRY] [-d PATH]
[-o FILE] [-t SECONDS] [--no-update] [-v]
pacman-mirrors: error: unrecognized arguments: -f5
Its on odroid N2 4GB Manjaro 19.10

That means the packages you downloaded did not get installed.

Please run step 1 and 2 again.

pinephone image has no wget pre-installed.
You can use curl instead to download the required packages:

curl -o  pacman-mirrors-4.16.3-1-aarch64.pkg.tar.xz && curl -o python-npyscreen-4.10.5-1-any.pkg.tar.xz
1 Like

Thats an oversight. It will from the next images. :slight_smile:

Forum kindly sponsored by