LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   getting binary packages started to fail (https://www.linuxquestions.org/questions/gentoo-87/getting-binary-packages-started-to-fail-4175732693/)

dchmelik 01-11-2024 10:09 PM

getting binary packages started to fail
 
I'm following the new instructions to get binary packages (n86 (x86, 64-
bit)) which mostly worked yesterday but today (despite nothing changed)
failed. I do the following root command and get output like the
following.

Code:

emerge --ask --verbose --update --deep --changed-use --getbinpkg @world

gpg: WARNING: unsafe ownership on homedir '/etc/portage/gnupg'
[...]
gpg: Fatal: can't open '/etc/portage/gnupg/trustdb.gpg': Permission denied
!!! Invalid binary package: '<package>', GPG verify failed
>>> Failed to emerge


hazel 01-12-2024 12:19 AM

How did you get to root? Apparently there are problems if you use sudo because not all implementations of sudo give you the root path.
https://unix.stackexchange.com/quest...r-gnupg#452025

dchmelik 01-12-2024 12:55 AM

Chroot from Slackware (of course I can also test this booting to Gentoo). I don't often use sudo.

dchmelik 01-26-2024 11:49 PM

More of the output is below. I also tried booting into Gentoo and the same happened.

Code:

gpg: WARNING: unsafe ownership on homedir '/etc/portage/gnupg'
gpg: failed to create temporary file '/etc/portage/gnupg/.#lk0x0000562897766860.cosmos.melik.windwireless.net.16429': Permission denied
gpg: keyblock resource '/etc/portage/gnupg/pubring.kbx': Permission denied
[GNUPG:] ERROR add_keyblock_resource 33587201
gpg: can't open `/etc/portage/gnupg/random_seed': Permission denied
[...]
gpg:                using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERRSIG 2C44695DB9F6043D 1 10 01 1705291060 9 534E4209AB49EEE1C19D96162C44695DB9F6043D
[GNUPG:] NO_PUBKEY 2C44695DB9F6043D
gpg: Can't check signature: No public key
gpg: note: random_seed file not updated


dchmelik 01-27-2024 06:48 PM

The answer on Gentoo official forum was (re)move /etc/portage/gnupg and beforehand run getuto.

GreggMiller 02-08-2024 06:16 AM

Thanks for answering as well, I appreciate you. Struggling with assignments? Discover the solution at https://paperfellows.com/ PaperFellows to write my paper! As someone who understands the challenges of academic tasks, I've found the perfect support. PaperFellows is your go-to for professional paper writing services. With experienced human writers in your subject area, your assignments can be tackled with ease. No hidden fees or extras – what you're quoted is what you'll pay! Trust in a reliable service that cares about your satisfaction. Order now at PaperFellows.


All times are GMT -5. The time now is 03:39 PM.