PDA

View Full Version : fail at importing key using gksudo



valaprgrmr
October 8th, 2009, 12:52 PM
This is my command:
gksudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEY

And the output is:
gksudo: unrecognized option '--keyserver'

What should I do?
I need the graphic window.

Thanks.

mikewhatever
October 8th, 2009, 12:57 PM
The graphical way of importing keys is under System->Admin->Software Sources, Authentication tab.

valaprgrmr
October 8th, 2009, 01:59 PM
I'm writing a program and I want the user to type the password in the graphical window.

valaprgrmr
October 8th, 2009, 04:35 PM
success with:
gksudo "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEY"

I have one more problem executing this:
echo 'deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main' | gksudo tee -a /etc/apt/sources.list

it works fine with sudo but not with gksudo.

Thanks.:)