Missing command on installing_on_ubuntu_precise?
18 Jan 2016 16:48 #68694
by me_cnc
Missing command on installing_on_ubuntu_precise? was created 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
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.
18 Jan 2016 17:00 - 18 Jan 2016 17:05 #68696
by ArcEye
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
Replied by ArcEye on topic Missing command on installing_on_ubuntu_precise?
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.
18 Jan 2016 20:54 #68718
by me_cnc
Replied by me_cnc on topic Missing command on installing_on_ubuntu_precise?
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
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.
18 Jan 2016 21:41 #68720
by BigJohnT
Replied by BigJohnT on topic Missing command on installing_on_ubuntu_precise?
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
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.
19 Jan 2016 09:10 #68740
by ArcEye
Yes, or that too I never tend to think of doing things in Synaptic
Replied by ArcEye on topic Missing command on installing_on_ubuntu_precise?
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.
19 Jan 2016 16:04 #68762
by me_cnc
Replied by me_cnc on topic Missing command on installing_on_ubuntu_precise?
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
>>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.
19 Jan 2016 16:20 - 20 Jan 2016 12:03 #68763
by ArcEye
Replied by ArcEye on topic Missing command on installing_on_ubuntu_precise?
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
www.linuxcnc.org/dists/precise/
You probably need to remove the base section so it reads
http://deb linuxcnc.org/ precise 2.7-rtai
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.
20 Jan 2016 12:02 #68807
by ArcEye
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:
This works even when added to a Jessie amd64 system, insofar as fetching the Packages and Release files anyway
regards
Replied by ArcEye on topic Missing command on installing_on_ubuntu_precise?
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.086 seconds