There is nothing wrong with the sed command, can only assume there is some spurious char in one of the variables causing premature line termination.

Go to /etc/linuxcnc and delete the mkuuid file and try again.

That would have been created the last time you installed and may be corrupt.


On 2/18/2019 12:57 AM, Condit Alan wrote:
I just did an update for machinekit. It reported an error involving sed. I suspect the error is in the script that is supposed to edit mkuuid and machinekit.ini. See the next to the last line below (separated by ———).

machinekit@beaglebone:~$ sudo apt-get install machinekit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  machinekit-rt-preempt
The following packages will be upgraded:
  machinekit machinekit-rt-preempt
2 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 5,490 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.machinekit.io/debian stretch/main armhf machinekit-rt-preempt armhf 0.1.1550234988.git6b4bdbf-1~stretch [1,044 kB] Get:2 http://deb.machinekit.io/debian stretch/main armhf machinekit armhf 0.1.1550234988.git6b4bdbf-1~stretch [4,446 kB]
Fetched 5,490 kB in 4s (1,259 kB/s)
(Reading database ... 51500 files and directories currently installed.)
Preparing to unpack .../machinekit-rt-preempt_0.1.1550234988.git6b4bdbf-1~stretch_armhf.deb ... Unpacking machinekit-rt-preempt (0.1.1550234988.git6b4bdbf-1~stretch) over (0.1.1548236839.git1dfa004-1~stretch) ... Preparing to unpack .../machinekit_0.1.1550234988.git6b4bdbf-1~stretch_armhf.deb ... Unpacking machinekit (0.1.1550234988.git6b4bdbf-1~stretch) over (0.1.1548236839.git1dfa004-1~stretch) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for shared-mime-info (1.8-1+deb9u1) ...
Processing triggers for rsyslog (8.24.0-1) ...
Setting up machinekit-rt-preempt (0.1.1550234988.git6b4bdbf-1~stretch) ...
Setting up machinekit (0.1.1550234988.git6b4bdbf-1~stretch) ...
Installing new version of config file /etc/linuxcnc/rtapi.ini ...
[ ok ] Restarting udev (via systemctl): udev.service.
Valid MKUUID in mkuuid
538c1a6c-1b80-44c4-a11d-f85b171aef60 - using that
Value in mkuuid and ini files differ - using mkuuid
538c1a6c-1b80-44c4-a11d-f85b171aef60
------------------
sed: -e expression #1, char 20: unterminated `s’ command
------------------
Processing triggers for libc-bin (2.24-11+deb9u3) ...


Thanks,
Alan


On Feb 15, 2019, at 4:51 AM, Bas de Bruijn <[email protected] <mailto:[email protected]>> wrote:


On 15 Feb 2019, at 13:23, "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>> wrote:

OK, found that problem.

The dependency was missed for Stretch because it uses another control file.
Should be built and in the repo by the end of the day.

PR’s have been merged.
So it should be available soon.


Thanks for persisting, only with that info was I able to look in the right place.

On 15/02/19 11:36, Ryan Press wrote:

On Fri, Feb 15, 2019 at 5:56 [email protected] <mailto:[email protected]><[email protected] <mailto:[email protected]>> wrote:


    On 15/02/19 10:02, Ryan Press wrote:
    I had the same problem with a fresh Debian Stretch install,
    just a few days ago.

    Ryan

    On Thu, Feb 14, 2019, 1:57 PM mugginsac <[email protected]
    <mailto:[email protected]>wrote:

        I just built a fresh uSD from one of Robert Nelson's
        images. It does not include uuid-runtime.
        Since machinekit now has to have a uuid generated the
        first time it is run, shouldn't uuid-runtime be part of
        the Machinekit requirements.


    It is, but we have no control over what other people put, or
    don't put, in their images.


I didn't use an image.  I installed Debian from a netinstall ISO, set up the machinekit repo, and installed the machinekit package.  I did not notice the error message when it installed because apt continued on. Afterward I needed to figure out what packaged I needed to install (uuid-runtime) to fix the errors when running Machinekit.

Ryan



--
website:http://www.machinekit.io <http://www.machinekit.io/>blog:http://blog.machinekit.io <http://blog.machinekit.io/>github:https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email [email protected] <mailto:[email protected]>.
Visit this group athttps://groups.google.com/group/machinekit.
For more options, visithttps://groups.google.com/d/optout.

--
website:http://www.machinekit.io <http://www.machinekit.io/>blog:http://blog.machinekit.io <http://blog.machinekit.io/>github:https://github.com/machinekit
---
You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group. To unsubscribe from this topic, visithttps://groups.google.com/d/topic/machinekit/1o2oHcZXkSQ/unsubscribe. To unsubscribe from this group and all its topics, send an email [email protected] <mailto:[email protected]>.
Visit this group athttps://groups.google.com/group/machinekit.
For more options, visithttps://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to