System Updates: "unexpected error" - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177) +--- Forum: PinePhone Pro Software (https://forum.pine64.org/forumdisplay.php?fid=179) +--- Thread: System Updates: "unexpected error" (/showthread.php?tid=16231) |
System Updates: "unexpected error" - Greendrake - 03-04-2022 Just received my first Pro, switched off the modem, mic and both cameras, plugged in charger, connected WiFi and attempted to update/upgrade the soft: Rebooted, tried again — same thing. Note that the updates' size appears zero. Weird. How to debug it? Can I try the same via CLI to see some details? Isn't this a common/known issue with new Pros? RE: System Updates: "unexpected error" - arzach - 03-04-2022 I never had any luck with that. Use pacman to update from the cli sudo pacman -Syu hth,rz RE: System Updates: "unexpected error" - Greendrake - 03-04-2022 (03-04-2022, 08:40 PM)arzach Wrote: Use pacman to update from the cli Thanks, but.... It started asking me lots of [Y/n] questions, so I added `--noconfirm`. When that finished, there were lots of stuff like: Code: :: File /var/cache/pacman/pkg/....pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)) And at the end: Code: Error occurred, no packages were upgraded Now what? RE: System Updates: "unexpected error" - arzach - 03-04-2022 Uh...I'm an idiot who can't type. Sorry. Use -Syyu so it forces the package list to be refreshed edit: this is what happens to me every time I punch the Post button before rereading what I wrote. RE: System Updates: "unexpected error" - Greendrake - 03-04-2022 (03-04-2022, 10:01 PM)arzach Wrote: Use -Syyu so it forces the package list to be refreshed That works muuuch better! Now it hits this wall trying to download some packages from fastmirror.pp.ua. Connection timeout, or "Operation too slow" on the second attempt. (I can understand why — perhaps due to the sad situation over there). Surely there must be a way to set a different mirror, closer to where I am (New Zealand)? Update: "sudo pacman-mirrors --continent" seems to have done the trick. RE: System Updates: "unexpected error" - dgiffin - 03-05-2022 That .ua server is Ukrainian which is inaccessible last time I checked so I commented it out of the pacman mirrors list which resolved that problem. RE: System Updates: "unexpected error" - Greendrake - 03-05-2022 So... I kept getting these "keyring is not writable" errors repeatedly trying to upgrade until I found this post suggesting to run: Code: sudo rm -rf /etc/pacman.d/gnupg That didn't work straight away either: I had to juggle those commands in random order many times until they eventually allowed Code: sudo pacman -Syyu --noconfirm |