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

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



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 Graham.Williams@cbr.dit.csiro.au             ,--_|\   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



Reply to: