Re: Dselect reinstalls kernel
Steven Feinstein wrote:
>
> Hi,
>
> I've rebuilt the kernel (using Debian v2). I created a deb using
> make-kpkg --zImage kernel_image
> and installed the new kernel using dpkg -i.
>
> I rebooted the machine and everything works fine. later, I decided to install
> another package from the main distribution CD. I ran dselect and selected the
> package to install. That package got installed, but during the dselect
> install process, the kernel-image from the CD was installed.
>
> I saw this happen because I got the message about having to reboot right after
> the install was finished (the same message I got when I installed my new
> kernel). I verfied the date of the kernel in /boot and it had reverted to the
> original kernel from the CD.
>
> I reinstalled my kernel again, but I am worried about using dselect anymore to
> install from the main CD.
>
> Any ideas as to why this happened?
>
> Thanks,
>
> Steve
>
Dselect may have interpreted your kernel as being earlier/older
than the one on the CD, and thus did an 'update' automatically.
In any case, you can use the 'hold' feature (press '=' instead of
'-' or '+') of dselect to prevent dpkg from 'upgrading' your
custom kernel.
--
Ed C.
Reply to: