Adding GPG Keys (Adminitrator-Sources Not Present)

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Adding GPG Keys (Adminitrator-Sources Not Present)

Postby linuxmeow on Tue Apr 28, 2009 8:09 am

I have just migrated from Ubuntu 8.10 Intrepid to Linux Mint 6.

My attempt to upgrade Gnome-do 0.6 to version 0.8 for Dorky failed after I tried adding the depository source in Sypnatic Package Manager.

I would like to know how do we add keys in Linux Mint via Gui?
Previously in Ubuntu, I have the option via System-->Administration-->Software Sources-->Authentication Tab.Easy as that.

Ok I found a similar post here:
viewtopic.php?f=90&t=25133&p=146346&hilit=GPG+key&sid=43e08aba4e415c6878004d109693482c#p146346

But still can any expert show me how can I import the key file if I already have it on my desktop saved in text form?
Take for example the file name is GlobalMenukey.gpg.

Under:
/Desktop$<Command here>
What should I type?

Thanks.
linuxmeow
Level 1
Level 1
 
Posts: 2
Joined: Tue Apr 28, 2009 7:56 am

Linux Mint is funded by ads and donations.
 

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

Postby Husse on Wed Apr 29, 2009 6:30 am

This is to be simplified - Mint should always be simple to use
Anyway here's a link to a description
viewtopic.php?f=90&t=24467&p=142870&hilit=gpg+keys#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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby pilotgi on Wed Apr 29, 2009 3:20 pm

What do I have to install to use the apt-get command? I keep getting 'sudo: apt-key: command not found'
pilotgi
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby dlkreations on Wed Apr 29, 2009 3:41 pm

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.
Image
It's perfectly OK to express an opinion, but refrain from foul and stupid language
- Husse
User avatar
dlkreations
Level 5
Level 5
 
Posts: 790
Joined: Mon Jan 12, 2009 8:40 pm
Location: Orange County, California

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

Postby pilotgi on Wed Apr 29, 2009 9:27 pm

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.
pilotgi
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby dlkreations on Wed Apr 29, 2009 10:02 pm

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.
Image
It's perfectly OK to express an opinion, but refrain from foul and stupid language
- Husse
User avatar
dlkreations
Level 5
Level 5
 
Posts: 790
Joined: Mon Jan 12, 2009 8:40 pm
Location: Orange County, California

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

Postby pilotgi on Thu Apr 30, 2009 12:25 pm

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
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby pilotgi on Thu Apr 30, 2009 12:38 pm

-----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?
pilotgi
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby dlkreations on Thu Apr 30, 2009 1:05 pm

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.
Image
It's perfectly OK to express an opinion, but refrain from foul and stupid language
- Husse
User avatar
dlkreations
Level 5
Level 5
 
Posts: 790
Joined: Mon Jan 12, 2009 8:40 pm
Location: Orange County, California

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

Postby pilotgi on Thu Apr 30, 2009 1:23 pm

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.
pilotgi
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby dlkreations on Thu Apr 30, 2009 1:28 pm

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.
Image
It's perfectly OK to express an opinion, but refrain from foul and stupid language
- Husse
User avatar
dlkreations
Level 5
Level 5
 
Posts: 790
Joined: Mon Jan 12, 2009 8:40 pm
Location: Orange County, California

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

Postby pilotgi on Thu Apr 30, 2009 1:49 pm

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.
pilotgi
Level 1
Level 1
 
Posts: 11
Joined: Mon Apr 27, 2009 7:30 pm

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

Postby dlkreations on Thu Apr 30, 2009 2:22 pm

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
Image
It's perfectly OK to express an opinion, but refrain from foul and stupid language
- Husse
User avatar
dlkreations
Level 5
Level 5
 
Posts: 790
Joined: Mon Jan 12, 2009 8:40 pm
Location: Orange County, California

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

Postby Husse on Fri May 01, 2009 6:06 am

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Reorx and 24 guests