LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2007, 06:21 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Help Understanding instructions.


Hi i've got some instructions i'm trying to follow and i'm stuck on the line:
curl http://www.tt-solutions.com/vz/key.asc | apt-key add -

All I am getting when i type that command is:
Code:
curl http://www.tt-solutions.com/vz/key.asc | apt-key add -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1328  100  1328    0     0   2563      0 --:--:-- --:--:-- --:--:--  145k
gpg: no writable keyring found: eof
gpg: error reading `-': general error
gpg: import from `-' failed: general error
The full instructions are here:


Code:
Binaries

    * wxGTK Debian and Ubuntu packages for 2.8.6 are available. To use them please add

          deb http://apt.tt-solutions.com/debian/ etch main

      or

          deb http://apt.tt-solutions.com/ubuntu/ dapper main

      respectively to your /etc/apt/sources.list file (you can also use edgy or feisty instead of dapper depending on the Ubuntu release you use) and add the public key used for signing wxWidgets packages to the list of keys trusted by apt using the command

          curl http://www.tt-solutions.com/vz/key.asc | apt-key add -

      and run apt-get update. You can then use apt-cache search --names-only wx\*2.8 command to see the available packages.

      Please notice that the packages are currently only available for x86 and amd64 architectures, please let us know if you can help with providing them for the other platforms.
 
Old 10-06-2007, 07:22 PM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Did you use 'sudo' to execute ? If yes, are you aware that sudo does not work for piped commands (only the first command will be executed as root, the second one as user). Either go root (by su) or type this:

curl http://www.tt-solutions.com/vz/key.asc | sudo apt-key add -
 
Old 10-06-2007, 07:44 PM   #3
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by almatic View Post
Did you use 'sudo' to execute ? If yes, are you aware that sudo does not work for piped commands (only the first command will be executed as root, the second one as user). Either go root (by su) or type this:

curl http://www.tt-solutions.com/vz/key.asc | sudo apt-key add -
Little sudo trick: Type 'sudo bash' to obtain a root prompt. Works well in Ubuntu.
 
Old 10-06-2007, 11:33 PM   #4
jonwatson
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170

Rep: Reputation: 30
'sudo su' also works to get a root prompt.
 
  


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
Instructions help abuntu-handicapped Linux - Newbie 6 09-09-2007 04:37 PM
How many instructions are there ? old6598 General 17 05-15-2007 01:40 PM
troubles understanding instructions mat.hunt Fedora 2 03-31-2007 02:31 AM
having probs understanding instructions mat.hunt Red Hat 1 03-31-2007 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 PM.

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