Re: [yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force)

2014-06-13 Thread Richard Leitner - SKIDATA
ML (yocto@yoctoproject.org) Subject: Re: [yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force) Hi Paul, thank you for that hint and description of your workaround! Looks like you've invested a little bit more time into working around this issue than

Re: [yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force)

2013-11-28 Thread Richard Leitner - SKIDATA
Hi Paul, thank you for that hint and description of your workaround! Looks like you've invested a little bit more time into working around this issue than me :-) I've added -f to the update-rc.d.bbclass and now it's working like a charm: diff --git a/meta/classes/update-rc.d.bbclass

Re: [yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force)

2013-11-27 Thread Richard Leitner - SKIDATA
Hi Paul, good to hear I'm not the only one suffering from this issue... No, I've received no response on the mailing list yet, but maybe someone has a hint for us now? The only workaround I found is to purge the package and afterwards install the new version. I know this is a really dirty

Re: [yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force)

2013-11-27 Thread Stath, Paul
Richard -- My workaround was a little less drastic than yours. (grin) Before upgrading to the new package via 'dpkg -i', I would edit the postrm script in /var/lib/dpkg/info/pkg-name,postrm, adding the -f argument to force the symlink removal, as suggested by the error message. Then the

[yocto] Errors with update-rc.d: /etc/init.d/XXX exists during rc.d purge (use -f to force)

2013-09-10 Thread Richard Leitner - SKIDATA
Hi, I have problems with the update-rc.d class in my recipes. When I want to update a package which inherits update-rc.d (in my case samba) using dpkg -i I get the following error: root@host:~# dpkg -i /media/USBSTICK/samba-ads_3.5.22-r4_armel.deb (Reading database ... 11931 files and