[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#88917: oidentd expect an installed inetd, in prerm



Package: oidentd
Version: 1.7.1-2

The prerm try to call 'update-inetd --disable ident', which isn't installed on all systems.

A workaround is to install inetd temporary, or edit /var/lib/dpkg/oidentd.prerm manualy(see below).

Here is a transcript(after 'apt-get dist-upgrade' on a potato system):
--snip--
Preparing to replace oidentd 1.6.4-2 (using .../oidentd_1.7.1-2_i386.deb) ...
/var/lib/dpkg/info/oidentd.prerm: update-inetd: command not found
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: update-inetd: command not found
dpkg: error processing /sdc1/debian-mirror/pool/main/o/oidentd/oidentd_1.7.1-2_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
--snap--

I suggest to replace the line
  update-inetd --disable ident
with
  [ -x /usr/sbin/update-inetd ] && update-inetd --disable ident
in the file /var/lib/dpkg/info/oidentd.prerm.

regards,
  Lutz Langenbach(komu)



Reply to: