Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problems wth installing binary packages (GPG)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Sun Mar 24, 2024 11:42 am    Post subject: [SOLVED] Problems wth installing binary packages (GPG) Reply with quote

Hello,

I wanted to try and speed up the profile change using binary packages, but they do not seem to work...
Code:
Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Running pre-merge checks for acct-group/audio-0-r3
--2024-03-24 12:28:39--  https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3/acct-group/audio/audio-0-r3-1.gpkg.tar
Resolving distfiles.gentoo.org... 212.102.56.179, 195.181.175.40, 195.181.170.19, ...
Connecting to distfiles.gentoo.org|212.102.56.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20480 (20K) [application/x-tar]
Saving to: ‘/var/cache/binpkgs/acct-group/audio/audio-0-r3-4.gpkg.tar.partial’

/var/cache/binpkgs/acct-group/audio/audio-0-r3-4.gpkg.tar.partial       100%[==================================================================================================>]  20.00K  --.-KB/s    in 0.001s 

2024-03-24 12:28:39 (13.9 MB/s) - ‘/var/cache/binpkgs/acct-group/audio/audio-0-r3-4.gpkg.tar.partial’ saved [20480/20480]

 * audio-0-r3-4.gpkg.tar MD5 SHA1 size ;-) ...                           [ ok ]
!!!
gpg: keyblock resource '/etc/portage/gnupg/pubring.kbx': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
[GNUPG:] PLAINTEXT 74 0
[GNUPG:] NEWSIG
gpg: Signature made Wed Mar 20 22:33:34 2024 CET
gpg:                using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERRSIG 2C44695DB9F6043D 1 10 01 1710970414 9 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] NO_PUBKEY 2C44695DB9F6043D
gpg: Can't check signature: No public key
gpg: can't create `/etc/portage/gnupg/random_seed': No such file or directory
!!! Invalid binary package: '/var/cache/binpkgs/acct-group/audio/audio-0-r3-4.gpkg.tar.partial', GPG verify failed
 * Binary package is not usable

>>> Failed to emerge acct-group/audio-0-r3


It is true: the folder gnupg was not there before, so I created it with 777.
Now it complains about unsafe ownership and "gpg: Can't check signature: No public key"
How do I fix this?


Last edited by setan on Sun Mar 24, 2024 4:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
steve_v
Guru
Guru


Joined: 20 Jun 2004
Posts: 388
Location: New Zealand

PostPosted: Sun Mar 24, 2024 11:55 am    Post subject: Reply with quote

Try here, specifically blowing away /etc/portage/gnupg and running 'getuto' to regenerate it.
_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Sun Mar 24, 2024 4:37 pm    Post subject: Reply with quote

This worked. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum