(09-24-2021, 10:31 AM)tophneal Wrote: have you tried running 'sudo pacman-mirrors --fasttrack' or 'sudo pacman -Syy'?Thanks, I'll give it a try:
[alarm@danctnix ~]$ sudo pacman-mirrors --fasttrack
[sudo] password for alarm:
sudo: pacman-mirrors: command not found
[alarm@danctnix ~]$
I tried 'sudo pacman -Syy' but I get the same error message as before. "failed to synchronize all databases (download library error)"
I wonder if anyone here is using Arch on their Pinephone and can confirm that mirror.archlinuxarm.org is working normally for them, like they can download apps and do software updates without doing any workarounds. I haven't found anyone else talking about having this problem, which suggests to me that maybe something went wrong somewhere in the install process. I'm using ZorinOS 15, Jumpdrive for Pinephone and the stock disk repair utility. I think I might try using Windows 10 and BalenaEtcher instead because it's a more common method, and if a problem like this had cropped up, it would probably have spawned some threads on the topic.
(09-24-2021, 10:30 AM)kqlnut Wrote: Did the error about the failed generation of a pacman keyring master key occur at another time? Because it isn't failing in the error log you posted, that's another thing failing (activating swap, not sure if this is expected, but it's not related to pacman). Also pacman shouldn't break with no internet connection at boot and neither should the flashing process have impact on this problem if you got so far as to successfully boot the OS.
Try again
If you are lucky, it was just a temporary outage and and by now it works again.Code:sudo pacman -Syyu
Otherwise, if the same error about not being able to resolve the repo mirror persists, try another mirror by putting it into /etc/pacman.conf directly under [core], [extra], [community], [alarm] and [aur] as described in this section. Other mirrors should be found in /etc/pacman.d/mirrorlist (not sure what's in there, I don't use Arch). Pick one and put it in each of the aforementioned sections (just change $repo to each of the sections). After you saved the file, run again
to force the package database to update.Code:sudo pacman -Syyu
Edit: I assume your internet connection on your device works. If you can't access the internet from it, then that's the problem of course.
Thanks, I checked my internet connection by running Firefox and it seems to be working normally. I tried sudo pacman -Syyu and I get the same error message as before, ending in "error: failed to synchronize all databases (download library error)"
With the second strategy, I'm not knowledgeable enough to put that together on my own. If you spelled it out for me I could enter it, but otherwise I'll have to sit down and try to work it out, and who knows how that will go, lol.
The fact that nobody else seems to be having this problem tells me maybe something went wrong somewhere in the install process. I think I'll try using Windows 10 and BalenaEtcher instead of ZorinOS 15 and the stock disk repair utility. It worked fine to install Manjaro/Plasma, but maybe something in that setup doesn't agree with Arch.