With version 10 I get the same error as Maki Kato above at #4:
Preparing to unpack .../isc-dhcp-client_4.2.4-7ubuntu10_amd64.deb ... /var/lib/dpkg/tmp.ci/preinst: 17: /var/lib/dpkg/tmp.ci/preinst: Syntax error: "fi" unexpected (expecting "then")
Seems like a missing "then" after the first "if" in <preinst>.
With version 10 I get the same error as Maki Kato above at #4:
Preparing to unpack .../isc- dhcp-client_ 4.2.4-7ubuntu10 _amd64. deb ... dpkg/tmp. ci/preinst: 17: /var/lib/ dpkg/tmp. ci/preinst: Syntax error: "fi" unexpected (expecting "then")
/var/lib/
Seems like a missing "then" after the first "if" in <preinst>.