PINE64
EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure (/showthread.php?tid=17150)



EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure - Zoroaster-Z - 08-14-2022

Out of the box, when Manjaro is started, updates and software installs all fail because there are four missing  (outdated) GPG keys.  

I have seen several posts by other users who are understandably frustrated with this, and give up.  Finding and installing the keys from .zst files is just possible for three of them, though very UNdesirable for security reasons.  The fourth key is impossible to find, effectively making this Manjaro useless for most people.

Example;
------------------------------------
Apply transaction ? [y/N] y
Resolving dependencies...
Checking inter-conflicts...
Checking keyring...                                                                                      [1/1]
Downloading required keys...
Error: key "084A7FC0035B1D49" could not be looked up remotely
Error: required key missing from keyring
Error: Failed to commit transaction

-------------------------------------

HOWEVER, there is a simple solution which solves this!  $ sudo systemctl start pacman-init ...

--------------------------------
$ sudo systemctl start pacman-init
[sudo] password:


$ sudo pacman -Syu tor
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (1) manjaro-keyring-20220514-2

Total Installed Size:  0.71 MiB
Net Upgrade Size:      0.63 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                    [####################################] 100%
(1/1) checking package integrity                                  [####################################] 100%
(1/1) loading package files                                        [####################################] 100%
(1/1) checking for file conflicts                                  [####################################] 100%
(1/1) checking available disk space                                [####################################] 100%
:: Processing package changes...
(1/1) upgrading manjaro-keyring                                    [####################################] 100%
==> Appending keys from manjaro.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 1 keys.
==> Importing owner trust values...
==> Updating trust database...
gpg: next trustdb check due at 2022-09-22
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

:: Starting full system upgrade...
:: Replace kwayland-server with extra/kwin? [Y/n]

------------------------------------------

Once updated, Manjaro is actually a quite slick and useful OS, and EVERYTHING JUST WORKS on the Pinebook Pro.

For those unaccustomed to the Aarch Linux command line oddities, here is a CLI "cheat sheet" for you;

https://dpaste.com/BRSGKX59U

This will save you a good deal of time. Big Grin