Unable to install GNU radio with UBUNTU 7.1

I’m having trouble loading GNU Radio software on a PC running UBUNTU 7.1
and can’t seem to get a clean install. apt-get update reports:

E: Could not open lock file /var/lib/apt/lists/lock - open (13
Permission denied)
E: Unable to lock the list directory

After the install is complete programs like dial_tone.py run properly
but usrp_benchmark.py reports:

RuntimeError: can’t open usrp1

ls -lR /dev/bus/usb | grep usrp shows

crw-rw---- 1 root usrp 189, 8 2007-11-24 19:37 009

when the USRP is connected and plugged in.

Can anyone advise me on this issue?

Regards,
Tony

  ____________________________________________________________________________________

Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Tony wrote:

E: Could not open lock file /var/lib/apt/lists/lock - open (13
Permission denied)
E: Unable to lock the list directory

This usually means either something else has the lock, like another copy
of apt-get or Synaptic running, or you’re not running apt-get as the
super user using the ‘sudo’ command.

Can anyone advise me on this issue?

Did you add your user account to the ‘usrp’ group? You’ll also need to
log out and back in (or possibly reboot) for this to properly take
effect.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

On Sat, Nov 24, 2007 at 05:23:50PM -0800, Johnathan C. wrote:

Did you add your user account to the ‘usrp’ group? You’ll also need to
log out and back in (or possibly reboot) for this to properly take effect.

No need to reboot. Just a new top-level login.

You can check if you’re in the group with the “id” command:

$ id
uid=500(eb) gid=500(eb) groups=10(wheel),500(eb),1000(usrp)
context=user_u:system_r:unconfined_t

Eric

Eric B. schrieb:

On Sat, Nov 24, 2007 at 05:23:50PM -0800, Johnathan C. wrote:

Did you add your user account to the ‘usrp’ group? You’ll also need to
log out and back in (or possibly reboot) for this to properly take effect.

No need to reboot. Just a new top-level login.

su -
does the trick without new login.

Patrick

Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria