Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Problems wth installing binary packages (GPG)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
setan
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Wed Feb 21, 2024 7:46 pm

[SOLVED] Problems wth installing binary packages (GPG)

  • Quote

Post by setan » Sun Mar 24, 2024 11:42 am

Hello,

I wanted to try and speed up the profile change using binary packages, but they do not seem to work...

Code: Select all

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.
Top
steve_v
Guru
Guru
Posts: 445
Joined: Sun Jun 20, 2004 7:39 am
Location: New Zealand

  • Quote

Post by steve_v » Sun Mar 24, 2024 11:55 am

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.
Top
setan
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Wed Feb 21, 2024 7:46 pm

  • Quote

Post by setan » Sun Mar 24, 2024 4:37 pm

This worked. Thanks!
Top
Decibels
Veteran
Veteran
User avatar
Posts: 1635
Joined: Fri Aug 16, 2002 12:51 am
Location: U.S.A.

  • Quote

Post by Decibels » Sun Feb 01, 2026 4:44 pm

Glad found this. I was already at the doc mentioned but this cleared it up faster at the moment. Had no problem on one computer, but did on another and it must have had a older /etc/portage/gnupg. Moving it and creating it solved the signature verification.

Not wanting a lot of binaries if possible, but the WEBKIT-GTK is so terrible. Finally at my wits end after adding it to --exclude during emerge for long time. Finally had to upgrade. Man these binary packages are a God Send for Gentoo.

Something needs to be done about webkit-gtk or programs need to stop depending on it (or at least give option to build without it). Hours and hours to then fail, even on good computers. Thank you Dev's for providing up to date binaries for this atrocity.

Sorry for ranting about a particular program, but haven't done binaries before and didn't want to spend all day figuring it out and you pointing out the fix quickly solved the issue. THANKS!
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Tue Feb 03, 2026 4:37 pm

Decibels wrote:Glad found this. I was already at the doc mentioned but this cleared it up faster at the moment. Had no problem on one computer, but did on another and it must have had a older /etc/portage/gnupg. Moving it and creating it solved the signature verification.

Not wanting a lot of binaries if possible, but the WEBKIT-GTK is so terrible. Finally at my wits end after adding it to --exclude during emerge for long time. Finally had to upgrade. Man these binary packages are a God Send for Gentoo.

Something needs to be done about webkit-gtk or programs need to stop depending on it (or at least give option to build without it). Hours and hours to then fail, even on good computers. Thank you Dev's for providing up to date binaries for this atrocity.

Sorry for ranting about a particular program, but haven't done binaries before and didn't want to spend all day figuring it out and you pointing out the fix quickly solved the issue. THANKS!
We will soon have a way to selectively say "just give me binpkgs for this package" that should help with this kind of case. I also have made some improvements to the error messages for binpkgs and have possibly some other ideas too.

There's not much else which can be done wrt webkit-gtk, it's already optional where that is possible, unfortunately.
Top
Decibels
Veteran
Veteran
User avatar
Posts: 1635
Joined: Fri Aug 16, 2002 12:51 am
Location: U.S.A.

  • Quote

Post by Decibels » Tue Feb 03, 2026 10:39 pm

This is news of the most awesome sort! Thank you!

Ya, I have gnucash (tried some others and didn't like) and prusaslicer so need it, but man it is something just better off with a binary. So your work is going to help tremendously. I noticed after doing the binary and was finishing up the merges that it wanted to rebuild some packages and webkit-gtk (one version) was one it wanted to rebuild. Said that isn't going to happen, so excluded again. So telling system only do binary for selected packages is great.

I have a family member who got rid of anything that needs webkit-gtk, but I'm not in that boat.
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic