Subject: Bug#3951: kernel-image-2.0.7-0 postinst looks for /bin/perl

From: Graham Williams <[email-masked]>
Date: Wed, 7 Aug 1996 11:44:57 +1000 (EST)

Package: kernel-image
Version: 2.0.7-0

The postinst and prerm scripts of kernel-image have as their first
line:

	#! /bin/perl

My vanilla installation of Debian 1.1 seems to have perl only in
/usr/bin/perl.

The problem is exhibited with:

	$ dpkg --install kernel-image-2.0.7-0.deb
	<...>
	dpkg (subprocess): unable to execute post installation script: no \
	such file or directory
	<...> returned error status 2
	<...>
	$

The unpacking succeeds but the configuration fails.

If I edit the kernel-image-2.0.7-0.postinst script in
/var/lib/dpkg/info to add the "/usr" to the path of perl and do
configure it all works nicely:

	$ dpkg --configure kernel-image-2.0.7
--
Dr [email-masked]             ,--_|\   Tel: (+61 6) 216 7042
Senior Research Scientist, Data Mining         /      \  Fax: (+61 6) 216 7112
CSIRO Div of Info Tech, Aust Nat Univ          \_.--_*/  GPO Box 664  Canberra
<URL:http://www.dit.csiro.au/~gjw>                   v   ACT  2601   Australia

---

From: "Frank Neumann" <[email-masked]>
Date: Wed, 7 Aug 1996 19:11:32 +0200 (MET DST)

Hi,

> My vanilla installation of Debian 1.1 seems to have perl only in

I noticed this too, after having built a base.tar.gz for Debian on m68k.
The bug is not in kernel-headers, but in boot-floppies, which failed
to create the link for the base system. boot-floppies-1.1.1.10 fixed it. 
The bug report should be closed (I won't do that, I'm not the maintainer ;-),
but a new base should probably be built.

Frank (running a pretty usable 'rex' Debian/m68k for a week now)