Upgrade 2.5 to 2.6 and to 2.7,nothing works

More
25 Sep 2015 19:20 - 25 Sep 2015 20:09 #62972 by gaston48
Hello everyone
I'm running Ubuntu Lucid with Athlon64
I upgraded my version 2.5 which was very good
to 2.6 and nothing works
then to 2.7 nothing works too.

here: the messages Error

an idea ?
thank you a lot !

File Attachment:

File Name: debug.txt
File Size:9 KB


File Attachment:

File Name: dmesg.txt
File Size:28 KB
Attachments:
Last edit: 25 Sep 2015 20:09 by gaston48.

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

More
25 Sep 2015 21:39 #62988 by seb_kuzminsky
Hi there, sorry you're having trouble. Your configurations should work (Ubuntu Lucid, RTAI, LinuxCNC 2.5, 2.6, and 2.7), so we just need to figure out where things went wrong and fix it.

How did you do the upgrade from 2.5 to 2.6? From 2.6 to 2.7?

Can you supply the output from the following commands, for debugging:

dpkg -l 'linuxcnc*'
dpkg --audit
debsums -c linuxcnc

Thanks!

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

More
25 Sep 2015 21:58 #62990 by gaston48
Thank you very much for your quick response
and sorry for my English google
Meanwhile I returned to 2.5.4 and everything works again perfectly !!!

For updates to 2.5 to 2.6 and to 2.7 I have exactly followed the
instructions in linuxcnc.org:
Update: "source software"
then update "Synaptic Package Manager"

Question: for your debugging control "dpkg "
I have to reinstall 2.6.9 or 2.7.0 ?

Thanks!

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

More
25 Sep 2015 22:54 #62992 by seb_kuzminsky
I just installed LinuxCNC using the 2.5 Install Image (Ubuntu Lucid, RTAI, LinuxCNC 2.5), then upgraded to 2.6 using the instructions on the wiki , and verified that the sim/axis/axis config ran. I then upgraded to 2.7 using these instructions , and again ran that config, and everything went well.

So I think the packages are fine, and the install process works, and something else must have gone wrong with your upgrades, or something is special about your system that affects the upgrade.

Please install 2.6 and run those commands that I asked for earlier.

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

More
26 Sep 2015 00:06 - 26 Sep 2015 00:27 #62994 by gaston48

File Attachment:

File Name: sim.txt
File Size:3 KB

sim axis axis config not run...
latency test not run

nothing run :)

2.5 run fine


File Attachment:

File Name: dpkg.txt
File Size:1 KB
Attachments:
Last edit: 26 Sep 2015 00:27 by gaston48.

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

More
26 Sep 2015 02:28 #63000 by seb_kuzminsky
It's strange that the problem is in /usr/lib/python2.6/dist-packages/linuxcnc.so, since that's not one of the files that the linuxcnc debian package installs. Maybe at some point you built from source and then ran "make install"?

Try this:

dpkg -S /usr/lib/python2.6/dist-packages/linuxcnc.so
dpkg -S /usr/lib/pyshared/python2.6/linuxcnc.so

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

More
26 Sep 2015 03:12 - 26 Sep 2015 03:27 #63004 by gaston48
"make install"? no no






Attachments:
Last edit: 26 Sep 2015 03:27 by gaston48.

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

More
26 Sep 2015 03:39 #63007 by seb_kuzminsky
Are there any old emc packages around? Try "dpkg -l emc*".

There shouldn't be, they should have been automatically removed when you installed linuxcnc 2.5.

But in any case we know that no debian package claims the erroneous file that's causing all the trouble. I don't know where it came from, but you could try removing it by hand. There may be other stray files around that can cause similar problems later, if so you should consider doing a re-install to get rid of them all (but make sure you save/backup your configs and other personal files first).

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

More
26 Sep 2015 03:53 - 26 Sep 2015 04:14 #63008 by gaston48
if i did a new install, i would do with Debian wheezy ?


File Attachment:

File Name: emc.txt
File Size:1 KB
Attachments:
Last edit: 26 Sep 2015 04:14 by gaston48.

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

More
26 Sep 2015 04:41 #63009 by seb_kuzminsky
Thanks for all your debugging attachments. They show that your system has the right packages installed, plus the mystery linuxcnc.so in the wrong place that's breaking your upgrade.

I ran "make install" in our 2.5 branch (with the -n flag, so it didnt actually copy anything), and it wanted to place linuxcnc.so in /usr/lib/python2.6/dist-packages, exactly where yours is. I think someone (maybe not you) ran "make install" at some point, and that's why upgrades are broken for you now.

I think your options are to try to remove the accidentally installed non-package files by hand, or wipe your system and reinstall. We are deep in dangerous territory now, but this shell script will run for a long time and then show all files in /usr that are not owned by any debian package on your system. You could try removing them all and see if that makes things better. I'd opt for a reinstall myself.

for F in $(find /usr -type f) ; do dpkg -S $F > /dev/null ; done

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

Time to create page: 0.351 seconds
Powered by Kunena Forum