Reply by Tim Wescott October 4, 20132013-10-04
On Fri, 04 Oct 2013 15:18:47 +0200, Coos Haak wrote:

> Op Fri, 4 Oct 2013 20:35:27 +0800 schreef Bruce Varley: > >> "Andy Sinclair" <andy@invalid.invalid> wrote in message >> news:l2mb94$qth$1@dont-email.me... >>> On 04/10/13 13:04, Bruce Varley wrote: >>>> I'm about 1/5 in terms of being a Linux guru, trying to install a >>>> Segger JTAG interface on an x86 machine running Ubuntu 12.04LTS. The >>>> very first step of the 'procedure in README.txt document from the >>>> download tarball has stopped me dead, the very first instruction is >>>> to enter apt-get -update on the command line. I entered: >>>> >>>> sudo apt-get -update <password>, and get the following error: >>>> >>>> E: command line option 'p' [from -update] is not known. >>>> >>>> Are there more effective instructions anywhere about installing this >>>> interface? If it was Win7, the entire operation would proceed >>>> seamlessly and trouble-free. Please, no comments on the obvious.... >>>> :-/ >>>> >>>> Is this just my ignorance, or do others have a similar problem with >>>> this device? >>>> >>>> >>> Try it without the dash. >>> >>> sudo apt-get update >>> >>> >>> Andy >> >> OMG, a typo in their instructions. What else might I come across :-( >> >> Thanks. > > try 'apt-get --help' or 'man apt-get' or 'info apt-get' > These give a list op 'commands' without a dash and 'options' with a > dash.
You can also do 'sudo apt-get update' and let it prompt you for a password. That's a good approach if you're paranoid, because it prevents you from typing your password in the clear. If you feel like it, you can also install the Synaptic package manager from the Ubuntu Software Center, then do this kind of stuff through a gui. It takes more time if you're just blindly following instructions, but if you want to see what it is you're downloading it's easier (via right-clicking and looking at "properties") with Synaptic than it is with apt. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Reply by Coos Haak October 4, 20132013-10-04
Op Fri, 4 Oct 2013 20:35:27 +0800 schreef Bruce Varley:

> "Andy Sinclair" <andy@invalid.invalid> wrote in message > news:l2mb94$qth$1@dont-email.me... >> On 04/10/13 13:04, Bruce Varley wrote: >>> I'm about 1/5 in terms of being a Linux guru, trying to install a Segger >>> JTAG interface on an x86 machine running Ubuntu 12.04LTS. The very first >>> step of the 'procedure in README.txt document from the download tarball >>> has >>> stopped me dead, the very first instruction is to enter apt-get -update >>> on >>> the command line. I entered: >>> >>> sudo apt-get -update <password>, and get the following error: >>> >>> E: command line option 'p' [from -update] is not known. >>> >>> Are there more effective instructions anywhere about installing this >>> interface? If it was Win7, the entire operation would proceed seamlessly >>> and >>> trouble-free. Please, no comments on the obvious.... :-/ >>> >>> Is this just my ignorance, or do others have a similar problem with this >>> device? >>> >>> >> Try it without the dash. >> >> sudo apt-get update >> >> >> Andy > > OMG, a typo in their instructions. What else might I come across :-( > > Thanks.
try 'apt-get --help' or 'man apt-get' or 'info apt-get' These give a list op 'commands' without a dash and 'options' with a dash. -- Coos CHForth, 16 bit DOS applications http://home.hccnet.nl/j.j.haak/forth.html
Reply by Bruce Varley October 4, 20132013-10-04
"Andy Sinclair" <andy@invalid.invalid> wrote in message 
news:l2mb94$qth$1@dont-email.me...
> On 04/10/13 13:04, Bruce Varley wrote: >> I'm about 1/5 in terms of being a Linux guru, trying to install a Segger >> JTAG interface on an x86 machine running Ubuntu 12.04LTS. The very first >> step of the 'procedure in README.txt document from the download tarball >> has >> stopped me dead, the very first instruction is to enter apt-get -update >> on >> the command line. I entered: >> >> sudo apt-get -update <password>, and get the following error: >> >> E: command line option 'p' [from -update] is not known. >> >> Are there more effective instructions anywhere about installing this >> interface? If it was Win7, the entire operation would proceed seamlessly >> and >> trouble-free. Please, no comments on the obvious.... :-/ >> >> Is this just my ignorance, or do others have a similar problem with this >> device? >> >> > Try it without the dash. > > sudo apt-get update > > > Andy
OMG, a typo in their instructions. What else might I come across :-( Thanks.
Reply by John Devereux October 4, 20132013-10-04
Andy Sinclair <andy@invalid.invalid> writes:

> On 04/10/13 13:04, Bruce Varley wrote: >> I'm about 1/5 in terms of being a Linux guru, trying to install a Segger >> JTAG interface on an x86 machine running Ubuntu 12.04LTS. The very first >> step of the 'procedure in README.txt document from the download tarball has >> stopped me dead, the very first instruction is to enter apt-get -update on >> the command line. I entered: >> >> sudo apt-get -update <password>, and get the following error: >> >> E: command line option 'p' [from -update] is not known. >> >> Are there more effective instructions anywhere about installing this >> interface? If it was Win7, the entire operation would proceed seamlessly and >> trouble-free. Please, no comments on the obvious.... :-/ >> >> Is this just my ignorance, or do others have a similar problem with this >> device? >> >> > Try it without the dash. > > sudo apt-get update
Yes. Just for info, there are several general forms that command arguments take. I don't think there are any universal rules, but "-" variants are often used for single letter commands. What happened to you is that apt-get tried to interprete "-update" as a combination of single letter commands, like apt-get -u -p -d -a -t -e A bit like you can extract a file with tar -xzf file.tar.gz or tar -x -z -f file.tar.gz There is evidently no -p option to apt-get so it barfed there. -- John Devereux
Reply by Andy Sinclair October 4, 20132013-10-04
On 04/10/13 13:04, Bruce Varley wrote:
> I'm about 1/5 in terms of being a Linux guru, trying to install a Segger > JTAG interface on an x86 machine running Ubuntu 12.04LTS. The very first > step of the 'procedure in README.txt document from the download tarball has > stopped me dead, the very first instruction is to enter apt-get -update on > the command line. I entered: > > sudo apt-get -update <password>, and get the following error: > > E: command line option 'p' [from -update] is not known. > > Are there more effective instructions anywhere about installing this > interface? If it was Win7, the entire operation would proceed seamlessly and > trouble-free. Please, no comments on the obvious.... :-/ > > Is this just my ignorance, or do others have a similar problem with this > device? > >
Try it without the dash. sudo apt-get update Andy
Reply by Bruce Varley October 4, 20132013-10-04
I'm about 1/5 in terms of being a Linux guru, trying to install a Segger 
JTAG interface on an x86 machine running Ubuntu 12.04LTS. The very first 
step of the 'procedure in README.txt document from the download tarball has 
stopped me dead, the very first instruction is to enter apt-get -update on 
the command line.  I entered:

sudo apt-get -update <password>, and get the following error:

E: command line option 'p' [from -update] is not known.

Are there more effective instructions anywhere about installing this 
interface? If it was Win7, the entire operation would proceed seamlessly and 
trouble-free. Please, no comments on the obvious.... :-/

Is this just my ignorance, or do others have a similar problem with this 
device?