- LinuxCNC
- Installing LinuxCNC
- Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
11 Nov 2020 09:09 - 11 Nov 2020 09:12 #188971
by JetForMe
Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it was created by JetForMe
I upgraded Debian 9 to 10, and in the process it removed linuxcnc. I used to have 2.9.0-pre0-2180-ga14b08a70, I'd like to get that or the latest on that branch. So I followed the instructions here: linuxcnc.org/docs/devel/html/getting-sta...dating-linuxcnc.html
Unfortunately, I mis-read and set up for the rt repo, not the rtpreemt repo (these should really be renamed rtai and rt), and installed the wrong linuxcnc. So I removed that, fixed the apt sources list, and tried to install linuxcnc again. But now it complains about needing libboost-python1.62.0 but that is not installable.
I also followed the steps here: linuxcnc.org/docs/devel/html/getting-sta...th_preempt_rt_kernel
I tried letting aptitude install fix it, but I still get the error:
And I'm not sure any of those will install 2.9, despite these being instructions in the 2.9 branch.
What should I do?
Unfortunately, I mis-read and set up for the rt repo, not the rtpreemt repo (these should really be renamed rtai and rt), and installed the wrong linuxcnc. So I removed that, fixed the apt sources list, and tried to install linuxcnc again. But now it complains about needing libboost-python1.62.0 but that is not installable.
I also followed the steps here: linuxcnc.org/docs/devel/html/getting-sta...th_preempt_rt_kernel
I tried letting aptitude install fix it, but I still get the error:
# apt install linuxcnc-uspace
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
linuxcnc-uspace : Depends: libboost-python1.62.0 but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: hostmot2-firmware-all but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And I'm not sure any of those will install 2.9, despite these being instructions in the 2.9 branch.
What should I do?
Last edit: 11 Nov 2020 09:12 by JetForMe.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19202
- Thank you received: 6436
11 Nov 2020 10:23 #188975
by tommylight
Replied by tommylight on topic Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
The easiest would be to download and install the official ISO with Debian 10 and LinuxCNC 2.8 then change the Repo to 2.9.
Do make a backup of any config folders you might need.
Trying to fix it will take much longer.
Do make a backup of any config folders you might need.
Trying to fix it will take much longer.
Please Log in or Create an account to join the conversation.
11 Nov 2020 22:52 - 11 Nov 2020 22:55 #189060
by JetForMe
Replied by JetForMe on topic Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
That's not the easiest thing to do. That essentially wipes my machine. I don't want to do that. Is there no package for 2.9.x available?
What's the apt repo for it? "deb linuxcnc.org/ buster base 2.9-rtpreempt" doesn't work.
I want to be able to develop for LinuxCNC anyway, so surely there's a way to get it to build and install.
I ran through the build steps, and it seems to have built (lot of warnings about sketch strcpy, by the way, something that should be addressed). All the tests passed (although it skips a couple). But there's no "linuxcnc" binary.
EDIT: I just realized linuxcnc is a script. I'll see if I can find it.
What's the apt repo for it? "deb linuxcnc.org/ buster base 2.9-rtpreempt" doesn't work.
I want to be able to develop for LinuxCNC anyway, so surely there's a way to get it to build and install.
I ran through the build steps, and it seems to have built (lot of warnings about sketch strcpy, by the way, something that should be addressed). All the tests passed (although it skips a couple). But there's no "linuxcnc" binary.
EDIT: I just realized linuxcnc is a script. I'll see if I can find it.
Last edit: 11 Nov 2020 22:55 by JetForMe.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
12 Nov 2020 03:43 #189084
by Todd Zuercher
Replied by Todd Zuercher on topic Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
There's a 2.9-pre repo for buster on buildbot.
buildbot.linuxcnc.org/
buildbot.linuxcnc.org/
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
13 Dec 2020 08:24 #191818
by zu4lu
Replied by zu4lu on topic Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
Change the apt repository for linuxcnc back to 2.8 in /etc/apt/sources.d/linuxcnc.list
deb www.linuxcnc.org/ buster base 2.8-rtpreempt
deb-src www.linuxcnc.org/ buster base 2.8-rtpreempt
deb www.linuxcnc.org/ buster base 2.8-rtpreempt
deb-src www.linuxcnc.org/ buster base 2.8-rtpreempt
Please Log in or Create an account to join the conversation.
13 Dec 2020 09:30 #191832
by rodw
Replied by rodw on topic Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
If you compile from source don't forget to run the rip-environment script.
. ./inuxcnc-dev/scripts/rip-environment
be sure to add the period as shown
. ./inuxcnc-dev/scripts/rip-environment
be sure to add the period as shown
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- Urgent: Help! I updated Debian and it removed linuxcnc, now I can't install it
Time to create page: 0.095 seconds