Adding GPG Keys (Adminitrator-Sources Not Present)

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by Husse »

This is to be simplified - Mint should always be simple to use
Anyway here's a link to a description
http://forums.linuxmint.com/viewtopic.p ... ys#p142870
So in your case you do
wget -q http://your_url/apt/GlobalMenukey.gpg -O- | sudo apt-key add -
That's it
It's the terminal, but quite easy once you know
My mistake you have it on the desktop already
Then

Code: Select all

sudo apt-key add GlobalMenukey.gpg 
provided you opened the terminal in the folder where the key is
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

What do I have to install to use the apt-get command? I keep getting 'sudo: apt-key: command not found'
dlkreations

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by dlkreations »

This is your best bet here.

Considering you have already added the repositories for Docky, do this:

Go to this site here: http://keyserver.ubuntu.com:11371/pks/l ... 5077558DD0
Which gives you this code:

Code: Select all

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0ESXUVdQEEAN8ALfH3wueKsSgDwA/HVEHdB7nlppqGKW/tubvGTy0ayf4M9ylX45szZK97
uL9/UHh5/B7eGMSB45EMJ0/qvTiflS6SwCxRCoKCW1PpYZlVcOLh5UUBkyREPJZcki1lK7pf
xvG9LkYKnvBP89s2PnO5LlDheEsVR4SqDGEtich/ABEBAAG0JExhdW5jaHBhZCBQUEEgZm9y
IEdOT01FIERvIENvcmUgVGVhbYi2BBMBAgAgBQJJdRV1AhsDBgsJCAcDAgQVAggDBBYCAwEC
HgECF4AACgkQKKggUHdVjdCVeAP+ONJtMFx9MGSJe33YiskagXEG5cQGYdDi5sWWUAP80bP1
Qe+Dsnjs3VKQ9ZZW3M8UNXsoFFN501hgJFBwUUCWIRSGZkzVgKoZZtZOe0Dws39xfV//8JFS
Te/r0oPzrr10iTFupTe/wBR0M9JbKGdY7SvooyqU+W2rf8/LldGx7KE=
=3C2V
-----END PGP PUBLIC KEY BLOCK-----
Copy and paste this into a text editor and save it temporarily on your Desktop as docky_key

Open your terminal and ls (lower case L), your docky_key file should be there; if not then type cd Desktop

Once you have that, type this:

Code: Select all

sudo apt-key add docky_key
That will add the GPG key. Then do

Code: Select all

sudo apt-get update
Following

Code: Select all

sudo apt-get install docky
This should take care of the error, and install/upgrade Docky at the same time.

Hope that helps.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

Considering you have already added the repositories for Docky, do this:
No I haven't done this. I don't know the url for this repo.

When I followed your instructions, I got this after sudo apt-get update:

Reading package lists... Done
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60487016493B3065
W: You may want to run apt-get update to correct these problems

When I tried to install docky, I got this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package docky

Thanks for your help. Still no luck.

Edit: Apparently, Synaptic won't use any repos that can't verify the public keys. Therefore, I can't use the repos I added for the KDE 4.2 pkgs.
dlkreations

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by dlkreations »

run this:

Code: Select all

gksudo gedit /etc/apt/sources.list
The add this at the bottom of your list:

Code: Select all

### +++ Gnome-Do +++
deb http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main
Then add the key like I described above. And I suppose I typed in the wrong thing before. It should be

Code: Select all

sudo apt update && sudo apt install gnome-do
Make sure there are no spaces before any lines. So if you copy and paste the code I posted it won't work. Just go to the link I posted and copy it from there.

I also noticed something else. Are you using the 64 bit version of Mint? If so, then go here:
https://launchpad.net/do/+download and download the 64bit package. Should be the first link. Then go into Synaptec and do a Mark all Upgrades and it will install the new plugins. Hope it's not too confusing.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

Why have we gone from importing gpg keys to installing gnome-do? Synaptic says I already have gnome-do 0.6.1.0-0ubuntu2 installed.

And yes, I'm running 64 bit Felicia Linux Mint.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUASfZ7IGBIcBZJOzBlAQKltwP/U/2QCetTK8/sfF0KjT2Ygi/6K6OLSOe7
x4ye2CwUp7eRUNhzIVEt9N2rs53HNd/o92YJApw+ZDLV3OQ433lr+c21ItLXKMik
xWfrTcXkQVVDOoDEXCy3dTrI9NmSwz9WjvAhVf3F5LC1qy9iynOI0Qeaw/EGBX3I
ZCbUB0Vnw9c=
=VreB
-----END PGP SIGNATURE-----

This is the key from the kubuntu-experimental site I'd like to add. The repos have already been added to Synaptic. When I paste this into gedit and then do sudo apt-key add kubuntu-experimental.gpg I get this:

gpg: no valid OpenPGP data found.

What am I doing wrong?
dlkreations

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by dlkreations »

pilotgi wrote:
gpg: no valid OpenPGP data found.

What am I doing wrong?
Just curious, why are you adding Gnome-Do to a KDE environment?

As for the error, you probably are not in the same directory as the key.
Why have we gone from importing gpg keys to installing gnome-do? Synaptic says I already have gnome-do 0.6.1.0-0ubuntu2 installed.
Isn't that what you're trying to do? If you want the new Docky, you will need to upgrade your Gnome-Do 6.1.0 to version 8.1.3.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

Just curious, why are you adding Gnome-Do to a KDE environment?
Your instructions above are for adding gnome-do. I have no idea why you posted that. This thread is about adding gpg keys. As I stated above, I'm using Felicia which is Gnome. I'd like to install the KDE pkgs and switch to that.
As for the error, you probably are not in the same directory as the key.
When I open a terminal and do ls, the key is there.
Isn't that what you're trying to do? If you want the new Docky, you will need to upgrade your Gnome-Do 6.1.0 to version 8.1.3.
NO! You are the person who brought up Docky in this thread.
dlkreations

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by dlkreations »

I was replying to the OP, not you. My mistake. So basically you hijacked this thread.
I'd like to install the KDE pkgs and switch to that.
Download the KDE CE then. There is no safe way that I know of to switch to KDE CE with 64 bit Main.
NO! You are the person who brought up Docky in this thread.


No need to act like an ass.
pilotgi

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by pilotgi »

Sorry if it came out that way.

I was going by the title of the thread and didn't even notice that the original poster mentioned Docky. I'm just trying to solve the mystery of importing gpg keys in Linux Mint.

I followed the link that Husse posted in the second post, but those instructions gave me the sudo: apt-key: command not found error.
dlkreations

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by dlkreations »

If you're wanting to install the Ubuntu version of KDE, then you will lose your Mint version. If you wish to continue, that is your choice though. You'd really be best off downloading the KDE CE, unless you're really wanting a 64bit version. If so, I found a tutorial that may be of interest to you.

http://www.ubuntugeek.com/how-to-instal ... -ibex.html
What do I have to install to use the apt-get command? I keep getting 'sudo: apt-key: command not found'
Are you running the command with those colons?

Try running it like this:

Code: Select all

sudo apt-key
Husse

Re: Adding GPG Keys (Adminitrator-Sources Not Present)

Post by Husse »

The person that posted the topic was linuxmeow and he/she has not returned - it probably worked
And pilotgi don't be rude to someone that's trying to help (I know you apologised)
This is a perfect example why you should post a new topic for a new problem
Locked

Return to “Beginner Questions”