steamdeck-linux / decker

A Package Restore Helper for the Steam Deck.
GNU General Public License v3.0
33 stars 1 forks source link

Initializing and Populating of the pacman keyring #7

Closed NightHammer1000 closed 2 years ago

NightHammer1000 commented 2 years ago

Currently testing this out and the first Issue I ran into is that by default, the pacman keyring is not initialized on SteamOS.

decker should also take care of that.

Packages (1) discord-0.0.16-1

Total Download Size:    57.45 MiB
Total Installed Size:  181.38 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 discord-0.0.16-1-x86_64           57.4 MiB  2.98 MiB/s 00:19 [##################################] 100%
(1/1) checking keys in keyring                                [##################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
downloading required keys...
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (could not find or read file)
Errors occurred, no packages were upgraded.
    }
  } ✗ package installed
} ✗ install
You can view a more detailed log at '/home/deck/.babushka/logs/install'

pacman-key --init followed by pacman-key --populate should take care of that.

moxvallix commented 2 years ago

Should be handled in the latest release