LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 08: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, 08:44 PM   #3
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
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-07-2007, 12:33 AM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 08:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration