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

Re: Bug#576601: closed by Ben Hutchings <ben@decadent.org.uk> (Re: Bug#576601: linux-image-2.6.18-6-686: aptitude install fails. complains of error status 1 returned from preinst script)



On Tue, 2010-04-06 at 00:55 -0300, Tom Cerul wrote:
> Yeah, that's one of the disadvantages of writing stable software.
> It'll just run for years without updates.  :)  Yup, I'm just going
> through etch to get to lenny.
> 
> I'm pretty sure it's just the one package. Here's the command and
> results. I ran it twice so the other packages wouldn't clutter up the
> results.

OK, I've now downloaded the binary package for myself, and sure enough
there is a preinst script, though I can't see how it gets there.  (I
only recently joined the kernel team so I'm not that familiar with how
older versions of the kernel packages were built.)

> *********
> LinBox:/home/tom# aptitude install linux-image-2.6.18-6-686
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following NEW packages will be installed:
>   linux-image-2.6.18-6-686
> 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/16.3MB of archives. After unpacking 48.0MB will be used.
> Writing extended state information... Done
> Preconfiguring packages ...
> (Reading database ... 100906 files and directories currently installed.)
> Unpacking linux-image-2.6.18-6-686 (from
> .../linux-image-2.6.18-6-686_2.6.18.dfsg.1-24_i386.deb) ...
> Ok, Aborting
[...]

It looks like you have set debconf to be non-interactive, and the kernel
preinst script is trying to ask you a question that you really do need
to answer.  Run 'dpkg-reconfigure debconf' to fix that.  Also check
whether the environment variable DEBIAN_FRONTEND is set, as that will
override the system default.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: