Upgrade time, What do I need to know first?

More
11 Aug 2014 20:20 - 11 Aug 2014 20:21 #49692 by ArcEye
Hi

gear4 is a custom component, I missed it because the name is so similar to other components

2 machines could be using the same component, possibly just in different ways if the machines are different.

I have attached the code if you can build it yourself

Otherwise I will be able to build it on the same Wheezy install as you are running a bit later, add it to the deb package and send you that later

regards
Attachments:
Last edit: 11 Aug 2014 20:21 by ArcEye.

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

More
11 Aug 2014 23:30 - 11 Aug 2014 23:33 #49706 by ArcEye
Hi

I have now built the module and sent you an updated deb package on email

Even got your company name right this time :laugh:

Attached here in case there are any problems with the email

regards
Attachments:
Last edit: 11 Aug 2014 23:33 by ArcEye.

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

More
12 Aug 2014 17:04 #49747 by ArcEye
Hi

Now looked at the RIPs from the GandL machine and the Enshu.

There are several custom components, including a different version of gear4 for the GandL machine, which is still called the same name.

To create some sanity, I have renamed that component gear4gnl. You just need to change the name of the component in the hal file for that machine, each time it is used.

Now the deb contains all the components I could find from all 3 machines and since there are no duplicate names, you can install the same deb to all of them.
It will do no harm to have unused components installed and gives you a generic install.

I was guessing to an extent as to which RIPs were in use, the last 2 machines appear to have been updated more recently than the Cincinatti, if I have missed any components
you will have to tell me.

regards
Attachments:

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

More
20 Dec 2014 03:55 #54169 by tjamscad
ArcEye,

I am on a fresh build and a new PC. I have installed the hybrid ISO and the default sim configs run. I tried to do what i had done before but am getting anywhere.

mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$

[sudo] password for mpm:
dpkg: error processing mpm-custom-modules-0.3 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mpm-custom-modules-0.3
mpm@LinuxCNC:~/Downloads$
Attachments:

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

More
20 Dec 2014 18:27 - 20 Dec 2014 18:33 #54175 by ArcEye

30.839406] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


At least your ethernet chip works now!

I am on a fresh build and a new PC. I have installed the hybrid ISO and the default sim configs run. I tried to do what i had done before but am getting anywhere.

mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$


That is the location for modules under Ubuntu 10.04

The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc

sudo] password for mpm:
dpkg: error processing mpm-custom-modules-0.3 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mpm-custom-modules-0.3
mpm@LinuxCNC:~/Downloads$


You have not included the command that produced these errors.

I have to guess therefore that it was
sudo dpkg -i mpm-custom-modules-0.3

The error is because it was not executed from the directory the package was in, or the package was not present at all.

regards
Last edit: 20 Dec 2014 18:33 by ArcEye.

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

More
22 Dec 2014 23:24 #54219 by tjamscad
It must not like the - or something in the name. I just renamed it to mpm.deb and recived a different message.

mpm@LinuxCNC:~/linuxcnc$ sudo dpkg -i mpm.deb
(Reading database ... 193799 files and directories currently installed.)
Unpacking mpm-custom-modules (from mpm.deb) ...
dpkg: error processing mpm.deb (--install):
trying to overwrite '/usr/bin/5axhydrotelgui', which is also in package mmc-modules 0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
mpm.deb
mpm@LinuxCNC:~/linuxcnc$

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

More
22 Dec 2014 23:27 #54220 by tjamscad


mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$


That is the location for modules under Ubuntu 10.04

The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
[/quote]

Do I need to have done something diffente here?

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

More
22 Dec 2014 23:55 #54223 by ArcEye


mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$


That is the location for modules under Ubuntu 10.04

The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc


Do I need to have done something diffente here?[/quote]

I don't know what you were doing in the first place, other than trying to get a directory listing of a dir that didn't exist

It must not like the - or something in the name. I just renamed it to mpm.deb and recived a different message.

mpm@LinuxCNC:~/linuxcnc$ sudo dpkg -i mpm.deb
(Reading database ... 193799 files and directories currently installed.)
Unpacking mpm-custom-modules (from mpm.deb) ...
dpkg: error processing mpm.deb (--install):
trying to overwrite '/usr/bin/5axhydrotelgui', which is also in package mmc-modules 0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
mpm.deb
mpm@LinuxCNC:~/linuxcnc$


This cannot be a new install, how could dpkg possibly know what was in package mmc-modules-0.1?
Why would 5axhydrotelgui exist?

You need to remove all the old packages before you install the latest one.

The package must be named 'as is' or you could get into an awful mess later, even if you rename the file, the debian control file inside still sets the old name for the package and it is that you need to
quote to remove it again.
It should be called mpm-custom-modules-0.3.deb

dpkg is quite happy with dashes in package names

You need to get rid of
mmc-modules-0.1
mpm-custom-modules-0.1

ie
dpkg -r mpm-custom-modules-0.3
to make sure none of it installed

dpkg -r mmc-modules-0.1
dpkg -r mpm-custom-modules-0.1
to get rid of previous clashing installs

then
dpkg -i mpm-custom-modules-0.3.deb
from the directory where it is saved

regards

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

More
23 Dec 2014 00:24 #54224 by tjamscad
That didnt work either it said it could find those packages. I am going to start from scratch instead of wasting more time looking for a problem that may not exist.

I am starting here article.gmane.org/gmane.linux.distributions.emc.user/52401 that is the link in the top left corner of the fourm page.

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

More
23 Dec 2014 01:04 #54229 by ArcEye

That didnt work either it said it could find those packages


Without details, I can't advise properly.

This deb is just a handy method of installing. If that is not working for you, just download this zip and copy the files across to the matching directories on your system

regards
Attachments:

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

Time to create page: 0.122 seconds
Powered by Kunena Forum