Can't update or install software
#9
(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
Code:
sudo pacman -Syyu
If you are lucky, it was just a temporary outage and and by now it works again.

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
Code:
sudo pacman -Syyu
to force the package database to update.

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.
  Reply


Messages In This Thread
Can't update or install software - by P3TER - 09-23-2021, 08:17 PM
RE: Can't update or install software - by bcnaz - 09-23-2021, 11:31 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 01:51 AM
RE: Can't update or install software - by bcnaz - 09-24-2021, 08:46 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 09:38 PM
RE: Can't update or install software - by bcnaz - 09-24-2021, 09:48 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 10:00 PM
RE: Can't update or install software - by kqlnut - 09-25-2021, 03:05 AM
RE: Can't update or install software - by kqlnut - 09-23-2021, 11:50 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 04:09 AM
RE: Can't update or install software - by kqlnut - 09-24-2021, 10:30 AM
RE: Can't update or install software - by bcnaz - 09-23-2021, 11:56 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 02:10 PM
RE: Can't update or install software - by P3TER - 09-24-2021, 05:33 PM
RE: Can't update or install software - by kqlnut - 09-24-2021, 06:48 PM
RE: Can't update or install software - by bcnaz - 09-25-2021, 02:17 AM
RE: Can't update or install software - by P3TER - 09-25-2021, 04:03 AM
RE: Can't update or install software - by bcnaz - 09-25-2021, 12:40 PM
RE: Can't update or install software - by P3TER - 09-26-2021, 01:04 AM
RE: Can't update or install software - by bcnaz - 09-26-2021, 03:43 PM
RE: Can't update or install software - by P3TER - 09-26-2021, 05:14 PM
RE: Can't update or install software - by kqlnut - 09-27-2021, 02:19 AM
RE: Can't update or install software - by bcnaz - 11-23-2021, 07:16 PM
RE: Can't update or install software - by P3TER - 12-26-2021, 04:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 2,210 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 745 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 1,886 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  PPKB certain keys not working after kernel update ragreenburg 20 12,745 06-11-2023, 03:19 AM
Last Post: lectrode
  unable to install applications dln949 5 1,482 06-08-2023, 08:38 PM
Last Post: Conjada
  satellite doesn't work after update shulamy 1 864 05-17-2023, 10:34 PM
Last Post: Kevin Kofler
  Latest update broke my install user641 8 3,626 02-22-2023, 05:54 AM
Last Post: gregb49
  new to pacman. Trying to install VIM, getting a 404 when it tries to download. willyray 1 1,129 12-24-2022, 11:00 PM
Last Post: shulamy
  Waydroid on Arch Linux ARM install guide? tk1107 3 5,562 10-08-2022, 07:46 AM
Last Post: PineFone
  Help to execute script to install arch with FDE user641 5 3,492 07-03-2022, 09:25 PM
Last Post: RTP

Forum Jump:


Users browsing this thread: 2 Guest(s)