ubuntu rtt installation newbie question

Hello everybody,
I am new to orocos and I followed the rtt installation instructions from the website. I use ubuntu (dapper), so I thought I could execute the given commands

$ wget -q -O - http://people.mech.kuleuven.be/~psoetens/gpg/key.gpg | sudo apt-key add -
$ sudo wget -q http://www.fmtc.be/sources.list.d/fmtc.list -O /etc/apt/sources.list.d/fmtc.list

to set the repository and then I could proceed with

$ apt-get source orocos-rtt
etc.

That does not work. Why? It tells me, that it cannot find the sources. How can I set the repository?

Best,
Irene

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ubuntu rtt installation newbie question

On Tuesday 22 April 2008 16:35:43 markelic wrote:
> Hello everybody,
> I am new to orocos and I followed the rtt installation instructions from
> the website. I use ubuntu (dapper), so I thought I could execute the given
> commands
>
>
> $ wget -q -O - http://people.mech.kuleuven.be/~psoetens/gpg/key.gpg | sudo
> apt-key add - $ sudo wget -q http://www.fmtc.be/sources.list.d/fmtc.list -O
> /etc/apt/sources.list.d/fmtc.list
>
> to set the repository and then I could proceed with
>
> $ apt-get source orocos-rtt
> etc.
>
> That does not work. Why? It tells me, that it cannot find the sources. How
> can I set the repository?

Did you do an apt-get update ? Also, all the 'apt-get' commands must be
prefixed with 'sudo'.

like :

 sudo apt-get update

(The manual is thus not entirely correct !)
Peter


ubuntu rtt installation newbie question

Hi, thanks for the answer. Yes, I called apt-get update, and I used sudo. The problem was/is, that I could not set the repository path. I gave up finding out why, and installed from the *.tar file.
Best,
Irene

ubuntu rtt installation newbie question

On Tuesday 22 April 2008 19:08:46 markelic wrote:
> Hi, thanks for the answer. Yes, I called apt-get update, and I used sudo.
> The problem was/is, that I could not set the repository path. I gave up
> finding out why, and installed from the *.tar file. Best,
> Irene

If you are using an older Debian/Ubuntu version, just add the line

  deb-src http://www.fmtc.be/debian etch main

to your /etc/apt/sources.list file and issue

  sudo apt-get update

Then proceed with the instructions... We really need a wiki for this kind of
stuff. I'm the bottleneck here.

Peter


ubuntu rtt installation newbie question

On Wed, Apr 23, 2008 at 8:38 AM, Klaas Gadeyne <klaas.gadeyne at gmail [dot] com> wrote:
> On Tue, Apr 22, 2008 at 7:08 PM, markelic <irene at bccn-goettingen [dot] de> wrote:
> > Hi, thanks for the answer. Yes, I called apt-get update, and I used sudo.
> > The problem was/is, that I could not set the repository path. I gave up
> > finding out why, and installed from the *.tar file.
>
> There appears to be an error in the second instruction, where the url is wrong
>
>
> # sudo wget -q http://www.fmtc.be/sources.list.d/fmtc.list -O
> /etc/apt/sources.list.d/fmtc.list
>
> should be
>
> # sudo wget -q http://www.fmtc.be/debian/sources.list.d/fmtc.list -O
>
> /etc/apt/sources.list.d/fmtc.list
>
> I vaguely remember I've seen this error before though...

The issue is fixed on in the docs of rtt-trunk since r29125
<http://svn.mech.kuleuven.be/websvn/orocos/trunk/rtt/doc/xml/orocos-installation.xml?op=diff&rev=29125&sc=1>
, but not yet backported to the 1.4 series.

@peter: I think the error has nothing to do with older debian/ubuntu

versions, but is just due to the fact that this page
<http://www.orocos.org/stable/documentation/rtt/v1.4.x/doc-xml/orocos-installation.html#id2513342>
is not updated yet.

Klaas


ubuntu rtt installation newbie question

On Wednesday 23 April 2008 08:49:37 Klaas Gadeyne wrote:
>
> @peter: I think the error has nothing to do with older debian/ubuntu
> versions, but is just due to the fact that this page
> <http://www.orocos.org/stable/documentation/rtt/v1.4.x/doc-xml/orocos-insta
>llation.html#id2513342> is not updated yet.

I think older Debian/Ubuntu versions don't support the apt/sources.list.d/
directory... and you need to adapt the apt/sources.list file directly.

Peter


ubuntu rtt installation newbie question

On Tue, Apr 22, 2008 at 7:08 PM, markelic <irene at bccn-goettingen [dot] de> wrote:
> Hi, thanks for the answer. Yes, I called apt-get update, and I used sudo.
> The problem was/is, that I could not set the repository path. I gave up
> finding out why, and installed from the *.tar file.

There appears to be an error in the second instruction, where the url is wrong

  1. sudo wget -q http://www.fmtc.be/sources.list.d/fmtc.list -O

/etc/apt/sources.list.d/fmtc.list

should be

  1. sudo wget -q http://www.fmtc.be/debian/sources.list.d/fmtc.list -O

/etc/apt/sources.list.d/fmtc.list

I vaguely remember I've seen this error before though...

Klaas