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

How to avoid keeping old kernels in dpkg/apt



Hi all,

When I build and install a new kernel I do this:

cd /usr/src/linux
make-kpkg clean
make-kpkg --append_to_version=-pbg4 kernel_image
cd /usr/src
dpkg -i kernel-image-2.6.10-pbg4_10.00.Custom_powerpc.deb

But after having installed a few kernels dpkg tells me this:

ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.4.21 ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.4.22 ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.10 ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.5- ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.6- ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.7- ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.8. ii kernel-image-2 10.00.Custom Linux kernel binary image for version 2.6.9-

How do I get rid of these old entries in dpkg/apt OR how can I avoid this in the future with a different install command?

Thanks,

Pander



Reply to: