Lars, I just include you in this mail list, because it was a patch you
requested and it seems probable that you know a reasonable solution.
It is a bug of dict-wn, of serpento or is it even a bug of sysv-rc
that does not check the existence of an init script?
On Tue, 14 Mar 2006, Laurent Bonnaud wrote:
Setting up dict-wn (2.0g-14) ...
invoke-rc.d: unknown initscript, /etc/init.d/dictd not found.
dpkg: error processing dict-wn (--configure):
The bug is perhaps in serpento, that provides the "dict-server"
virtual package but does not provide a /etc/init.d/dictd script.
This is the change I did to fix #348262 which caused your problem
obviousely. It might be easily fixed by verifying the existence
of /etc/init.d/dictd bevore invoking invoke-rc.d dictd or even
check for existence of /etc/init.d/serpento.
configure)
if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d dictd restart
else
if [ -x /etc/init.d/dictd ]; then /etc/init.d/dictd restart; fi
fi
My concern is that such a quick fix does not realy fix the root
of the problem that as a package maintainer I can't know all
alternatives for a dependant package. If there is a further package
that provides a dict server I have to change the postinst again.
I wonder whether serpento (as every package that provides a dictd
server) should include a /etc/init.d/dictd and conflict to dict-server.
(BTW, what's the advantage of serpendot - perhaps I want to use it myself.)
Lars, I just found out that the packages
dict-devil, dict-elements, dict-foldoc, dict-gcide, dict-jargon,
dict-misc, dict-moby-thesaurus
(and probably others I did not have on my mirror) all suffer from the
problem you reported as #348262.
Kind regards
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]