Can someone enlighten me on this please? I installed Manjaro on a new hard drive. The machine already ran Manjaro, and this was a just new disc replacement.
As soon as the installation was complete and running successfully, I did the following:
$ sudo pacman -Syyu
:: Synchronising package databases...
error: failed retrieving file 'core.db' from manjaro.barata.pt : Resolving timed out after 10000 milliseconds
core 150.6 KiB 286 KiB/s 00:01 [#########################################] 100%
error: failed retrieving file 'extra.db' from manjaro.barata.pt : Resolving timed out after 10000 milliseconds
extra 1777.7 KiB 845 KiB/s 00:02 [#########################################] 100%
error: failed retrieving file 'community.db' from manjaro.barata.pt : Resolving timed out after 10000 milliseconds
community 5.0 MiB 1082 KiB/s 00:05 [#########################################] 100%
error: failed retrieving file 'multilib.db' from manjaro.barata.pt : Resolving timed out after 10000 milliseconds
multilib 183.5 KiB 524 KiB/s 00:00 [#########################################] 100%
:: Starting full system upgrade...
warning: a52dec: local (0.7.4-10) is newer than extra (0.7.4-9)
warning: aalib: local (1.4rc5-13) is newer than extra (1.4rc5-12)
warning: accounts-qml-module: local (0.7-2) is newer than extra (0.7-1)
.
. etc.
Incidentally I have no idea why it thinks I am in Portugal – my location is Thailand, another continent altogether.
With a bit of research, I looked at the mirror list file and removed Portugal, as below. I was then able to perform the sync. Why should I need to do this?
My location is Thailand, so why is it attempting to use Portugal, and why does it fail anyway?
$sudo vi /etc/pacman.d/mirrorlist
## Country : Portugal
## Server = http://manjaro.barata.pt/stable/$repo/$arch
## Country : Indonesia
Server = http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
## Country : United_Kingdom
Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
Another point to make is that although this installation was carried out with access to the internet (i.e. during the installation process), when I first attempted to do this new installation today, I didn’t enable networking on that first instance, so the installation completed from my flash drive without access to the internet. In that instance, when I rebooted after successful installation and then enabled internet access, it was complaining that it couldn’t access the Poland mirror. Why Poland?
To summarise, if I install Manjaro with no internet access, then enable internet access after booting, then sync, it tries to contact a Poland mirror.
But, if I install Manjaro with internet access available during the install process, and then sync it, it attempts to use a Portugal mirror.
And why should the mirrors fail every time like this anyway? Shouldn’t this be straightforward without having to do all this?
Ironically, when it fails, it says “nothing to do”.
.
.
warning: zsh: local (5.8-1) is newer than extra (5.6.2-1)
warning: zstd: local (1.4.4-1) is newer than core (1.3.6-1)
there is nothing to do