LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 01-11-2024, 10:09 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Rep: Reputation: 147Reputation: 147
Question 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
 
Old 01-12-2024, 12:19 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,604
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
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
 
Old 01-12-2024, 12:55 AM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
Chroot from Slackware (of course I can also test this booting to Gentoo). I don't often use sudo.
 
Old 01-26-2024, 11:49 PM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
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
 
Old 01-27-2024, 06:48 PM   #5
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,067

Original Poster
Rep: Reputation: 147Reputation: 147
The answer on Gentoo official forum was (re)move /etc/portage/gnupg and beforehand run getuto.
 
Old 02-08-2024, 06:16 AM   #6
GreggMiller
LQ Newbie
 
Registered: Jan 2024
Posts: 1

Rep: Reputation: 0
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.

Last edited by GreggMiller; 02-17-2024 at 03:01 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM
Help: Opening GenICs binary file, writing to binary file for GADGET-2 (in C) parallax147 Programming 0 10-05-2010 11:06 AM
XOR Binary Stream Against a Known Binary Key telecom_is_me Programming 14 07-04-2008 07:10 PM
LXer: To binary or not to binary, that is the question LXer Syndicated Linux News 0 12-31-2006 09:33 AM
Do I need binary 1 and binary 2 dvd iso for base install? salah-ad-din Debian 5 08-15-2006 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration