|
I have now uninstalled and re-installed several times on a spare
Stretch partition, with and without a mkuuid file existing and
cannot replicate your problem. It did remind me however of the arcane dpkg behaviour I noted when originally testing this. dpkg does not actually check the physical location for configuration files and assumes their existence unless you have removed the package with `apt purge <package-name>` So if you remove machinekit, it will leave the /etc/linuxcnc folder as is and assume it contains what it should do at next re-install. The safest way to update, if you are doing so frequently, is to create a 'clean slate' and do `apt purge machinekit*` It will not touch the /etc/linuxcnc/mkuuid file if you have one, because that is not part of the install manifest. However if a particular MKUUID is not important to you, delete that as well. The next re-install will copy machinekit.ini and rtapi.ini to /etc/linuxcnc and update the MKUUID in machinekit.ini to a unique one and then create a mkuuid file containing it so that you can update and retain the same MKUUID, if that matters. The sed line which errored is here in the postinst file https://github.com/machinekit/machinekit/blob/master/debian/machinekit.postinst#L87 The charactor 20 referred to is right on the divider between the search term and the replacement one, which makes me suspect that the first var had picked up a spurious char from the grep operation and it was interpreted as a line ending which terminated the sed operation prematurely. Hopefully if you purge and re-install you should have no further problems. regards On 18/02/19 07:39, [email protected]
wrote:
-- 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. |
- [Machinekit] Re: machinekit.ini and MKUUID mugginsac
- [Machinekit] Re: machinekit.ini and MKUUID cern
- Re: [Machinekit] Re: machinekit.ini and MKUUID Ryan Press
- Re: [Machinekit] Re: machinekit.ini and MKUU... [email protected]
- Re: [Machinekit] Re: machinekit.ini and ... Ryan Press
- Re: [Machinekit] Re: machinekit.ini ... [email protected]
- Re: [Machinekit] Re: machinekit... Bas de Bruijn
- Re: [Machinekit] machinekit... Condit Alan
- Re: [Machinekit] machinekit... [email protected]
- Re: [Machinekit] machinekit... [email protected]
