Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Mario 'BitKoenig' Holbe
On Sat, Sep 05, 2009 at 09:57:20PM +0200, Petter Reinholdtsen wrote: > I am able to reproduce this now, by starting in squeeze, adding a > dummy init.d script with no header using 'update-rc.d dummy defaults' > and then upgrade to unstable using 'DEBCONF_DEBUG=developer aptitude Hmm, I upgraded fr

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Petter Reinholdtsen
[Mario 'BitKoenig' Holbe] > Nope, `db_stop || true' doesn't help. > As you can see in the previous log, there is still action after > db_stop. I am able to reproduce this now, by starting in squeeze, adding a dummy init.d script with no header using 'update-rc.d dummy defaults' and then upgrade to

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Mario 'BitKoenig' Holbe
On Sat, Sep 05, 2009 at 08:51:46PM +0200, Petter Reinholdtsen wrote: > Thank you for testing. This is rather strange, I believe. The only > failing thing I can imagine is db_stop, which I believed until now > could not fail. Anyway, does it help to change db_stop to 'db_stop || > true' in the po

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Petter Reinholdtsen
[Mario 'BitKoenig' Holbe] > Logfile attached. Thank you for testing. This is rather strange, I believe. The only failing thing I can imagine is db_stop, which I believed until now could not fail. Anyway, does it help to change db_stop to 'db_stop || true' in the postinst? Happy hacking, -- Pe

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Mario 'BitKoenig' Holbe
On Sat, Sep 05, 2009 at 08:19:09PM +0200, Petter Reinholdtsen wrote: > There is nothing there exiting with an error code. > Can you try to add 'set -x' at the start of > /var/lib/dpkg/info/sysv-rc.postinst and let me know what is printed > when you try to configure the sysv-rc package again? Logfi

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Petter Reinholdtsen
[Mario 'BitKoenig' Holbe] > when sysv-rc's check if it is safe to convert to dependency based boot > fails, package upgrade fails: Strange. > Preparing to replace sysv-rc 2.87dsf-2 (using .../sysv-rc_2.87dsf-3_all.deb) > ... > Unpacking replacement sysv-rc ... > Processing triggers for man-db ..

Bug#545205: sysv-rc: upgrade fails if unable to convert to dependency-based boot

2009-09-05 Thread Mario 'BitKoenig' Holbe
Package: sysv-rc Version: 2.87dsf-3 Severity: important Hello, when sysv-rc's check if it is safe to convert to dependency based boot fails, package upgrade fails: Preparing to replace sysv-rc 2.87dsf-2 (using .../sysv-rc_2.87dsf-3_all.deb) ... Unpacking replacement sysv-rc ... Processing trigge