SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have used sbopkg many times with no issues. Now I'm getting the following message after syncing with the repository:
unsafe ownership on configuration file '/home/pat/.g
external program calls are disabled due to unsafe options fil
keyserver communications error: general error
WARNING: unable to fetch URL http://www.slackbuilds.org/GPG-K
Import done
All files in /home/pat are owned by patat. Where do I look to fix this?
Even better - what am I trying to fix?
patostevens: never seen that but it's probably a gpg/gnupg error. Try 'chmod 600 ~/.gnupg/gpg.conf' if it's not already. -- Actually, wait a minute. You're getting a message about /home/pat/? You should be running sbopkg as root (at this point) and it should be looking at /root/.gnupg/gpg.conf, and that should be root:root/600.
brianL: sorry about that.
piratesmack: welcome
ponce: great, thanks!
Last edited by slakmagik; 07-20-2010 at 01:10 PM.
Reason: second thought on gpg
I think HAL's their big brother. Creator of the famous computer which he named after himself, but which obviously wasn't running Slackware (might have been Windows 2001?).
I am running sbopkg as root. I have tried playing with ownership of /home/pat/.gnupg and it's files to no avail. It doesn't who owns what, the same error comes up. Also, ownerships in the ~/.gnupg are all root:root.
Also I have removed and re-installed sbopkg - same issue.
Like I say, /home/pat/* shouldn't have anything to do with this and it's not just the ownership, but the perms - root:root with the .gnupg dir as 700 and files as 600. Re-installing sbopkg won't have any effect because it's not an sbopkg problem. Somehow gpg seems to be running as the wrong user. What may be the problem may also be a solution: do you have GNUPGHOME set anywhere or have 'gpg' aliased/functioned/scripted to anything else? If so, unset it or clear the other stuff out so it runs the correct command. If not, try making sure the perms and ownership on /root/.gnupg and its files are correct and then run 'GNUPGHOME=/root/.gnupg sbopkg'. That command just makes explicit what ought to be the default.
Thanks slakmagic - your suggestion to run the GNUPGHOME command seems to have fixed it. I have no idea what caused the issue as I try never to mess with the settings like that. Oh well, probably demons from the 7th circle of M$ hell attacked my system. Thanks for the help everyone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.