Missing command on installing_on_ubuntu_precise?

More
18 Jan 2016 16:48 #68694 by me_cnc
Greetings,

While working through the instructions on to install linuxcnc on Ubuntu Precise located here:
linuxcnc.org/docs/html/getting-started/g...ng_on_ubuntu_precise

Step 4 says:
Add a new apt source
deb linuxcnc.org/ precise base 2.7-rtai

This returns the error
deb command not found

Shouldn't the command be something like:
sudo add-apt-repository "linuxcnc.org/ precise base 2.7-rtai"

Thanks,
Marc

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 17:00 - 18 Jan 2016 17:05 #68696 by ArcEye

Shouldn't the command be something like:
sudo add-apt-repository "linuxcnc.org/ precise base 2.7-rtai"


No, the docs just assume too much knowledge

Should read something like:

Add a new apt source to the /etc/apt/sources.list file with

echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list

or by opening /etc/apt/sources.list in an editor and inserting manually.


Your solution would probably work except that add-apt-repository is not a default package on most distros, so would have to be installed specially.
The above will work wherever.

regards
Last edit: 18 Jan 2016 17:05 by ArcEye.

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 20:54 #68718 by me_cnc
Thanks for the reply, much appreciated.

I'm new to the community, where does one submit a bug report for this sort of thing?

Thanks,
Marc

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 21:41 #68720 by BigJohnT
Or it could read "open the Synaptic Package Manager" and add the deb...

Software bugs go to github.com/LinuxCNC/linuxcnc/issues. I fix most document errors as I read about them... when I don't forget.

JT

Please Log in or Create an account to join the conversation.

More
19 Jan 2016 09:10 #68740 by ArcEye

Or it could read "open the Synaptic Package Manager" and add the deb...


Yes, or that too :) I never tend to think of doing things in Synaptic

Please Log in or Create an account to join the conversation.

More
19 Jan 2016 16:04 #68762 by me_cnc
Still having a problem, the deb URL needs to be modified.

>>sudo echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list
>>sudo apt-get update
E: Malformed line 9 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.

I spent sometime looking but could not find the sources themselves. What is the URL for the deb sources to add to /etc/apt/sources.list?

Thanks,
Marc

Please Log in or Create an account to join the conversation.

More
19 Jan 2016 16:20 - 20 Jan 2016 12:03 #68763 by ArcEye
Looking at the repo
www.linuxcnc.org/dists/precise/

You probably need to remove the base section so it reads
http://deb linuxcnc.org/ precise 2.7-rtai

There are normally only 2 arguments suite and components
EDIT:
Actually not true, ignore, see next post
Last edit: 20 Jan 2016 12:03 by ArcEye.

Please Log in or Create an account to join the conversation.

More
20 Jan 2016 12:02 #68807 by ArcEye

Still having a problem, the deb URL needs to be modified.

>>sudo echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list
>>sudo apt-get update
E: Malformed line 9 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.

I spent sometime looking but could not find the sources themselves. What is the URL for the deb sources to add to /etc/apt/sources.list?


Suddenly realised the whole confusion was being caused by this forum, which removes the http:// section
from what it recognises as being a URL in the body text

What you want on a line in your sources.list is:
deb  http://linuxcnc.org/ precise base 2.7-rtai

This works even when added to a Jessie amd64 system, insofar as fetching the Packages and Release files anyway

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum