Hi >when uninstalling (purging) the package, I got the following error message: > >Failed to stop dictd.service: Unit dictd.service not loaded. >invoke-rc.d: initscript dictd, action "stop" failed. > >Apt reports that the subprocess returned error code 5 (five).
That is strange indeed. Checks are in place:
if command -v dictdconfig # update dictd's DB
then
dictdconfig -w
fi
if dpkg -s dictd 2> /dev/null|grep -qe '^Status:.*installed'
then
invoke-rc.d dictd stop
invoke-rc.d dictd start
fi
What is the output of
dpkg -s dictd 2> /dev/null|grep -qe '^Status:.*installed'
and return code?
Cheers
Sebastian
signature.asc
Description: PGP signature

