Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
12 Mar 2017 14:05 #89466 by cncnoob1979
Thanks for the Feedback Steve! Glad it worked out for you.

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

More
15 Mar 2017 19:08 #89683 by fjr122
Hello,
I'm new here.

Cncnoob thanks for making this guide.
Debian was going to be alot of trouble as it did not recognize my wifi card. In my opinion Mint is far superior.

I've been trying to follow this guide with two little hangups..
First When I try to get the keys..
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
[sudo] password for linuxcnc: 
Sorry, try again.
[sudo] password for linuxcnc: 
Executing: /tmp/tmp.mMhoMpQaIr/gpg.1.sh --keyserver
hkp://keys.gnupg.net
--recv-key
3cb9fd148f374fef
gpg: requesting key 8F374FEF from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

I solved this by changing keyservers and that actually worked..
sudo apt-key adv --keyserver hkp://pgp.mit.edu --recv-key 3cb9fd148f374fef

Then a few steps later, I run into the following:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-headers-3.4-9-rtai-686-pae:i386 : Depends: gcc-4.6:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

Any ideas on this one?

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

More
15 Mar 2017 22:43 #89696 by cncnoob1979
I assume you are using post 3?

Did you try a sudo apt-get update after adding the repo?

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

More
15 Mar 2017 23:01 #89698 by fjr122
Yes Post 3
"POST 3 = Installing pre-compiled RTAI Kernel from apt using .debs"

And I have followed the instructions exactly so I did do the update..

(ok except I left the 3rd party stuff in)

Fresh clean install of Mint, the only thing I've done is change the screensaver/power settings and changed the search engine to Google.

(I was hoping you would infer post 3 from what I sent, but I know that computer guys like to stay away from assumptions, and linux guys in particular)

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

More
15 Mar 2017 23:54 #89703 by tommylight
Fjr122
Did you enable the source code in synaptics?
I am sure i got that error when i forgot to check that.

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

More
16 Mar 2017 00:40 #89707 by fjr122
Tommylight,
I followed the instructions exactly.
So yes I did.

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

More
16 Mar 2017 01:04 #89710 by tommylight
Also removed the ndiswrapper and virtualbox?
It was a month ago so i can not recal the exact order of events, but i remember doing these two steps, update, and it installed properly.

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

More
16 Mar 2017 02:39 - 16 Mar 2017 03:04 #89712 by cncnoob1979
Add this repo
sudo add-apt-repository 'deb http://mirrors.kernel.org/ubuntu precise main'

Then
sudo apt-get update
sudo apt-get install gcc-4.6
sudo apt-get install linux-headers-3.4-9-rtai-686-pae rtai-modules-3.4-9-rtai-686-pae linux-image-3.4-9-rtai-686-pae 

Just tested this and it works for me. I had the repo enabled prior so I did not have an issue as many others may have had already. When I get time ill update the HOW-TO.

Sorry for any inconvenience.

James

EDIT: Once completed I would uncheck this repo since it is precise base. No need to cross-contaminate Xenial with it :)
Last edit: 16 Mar 2017 03:04 by cncnoob1979.

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

More
16 Mar 2017 03:04 - 16 Mar 2017 03:04 #89713 by fjr122
Thank you cncnoob :D
I really appreciate this guide.
I will try that in a little while.

Just for the record.
I went into synaptic and did a full removal of ndiswrapper, and I checked on virtualbox, it was not installed.
Then I did a reboot.
Still had the same issue.
Last edit: 16 Mar 2017 03:04 by fjr122.

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

More
16 Mar 2017 03:14 - 16 Mar 2017 03:41 #89714 by cncnoob1979
No problem.

The issue is that gcc 4.6 is not available in default repos. It's a depend for the rtai kernel. Most install via 64 bit and have to use this repo for other 64bit dependencies.

Technically you would not have to specifically install gcc 4.6 since apt will search for it when you try to add the 3.4.9 rtai kernel. (Once the repo is listed/updated) Then apt will list it as another package to install when you attempt installing rtai 3.4.9.

That's why no one else (reported) has stumbled across this issue. So as you see you're a special case ;)
Last edit: 16 Mar 2017 03:41 by cncnoob1979.

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

Time to create page: 0.108 seconds
Powered by Kunena Forum