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

Re: installing kernel-debs



On Fri, Jul 20, 2001 at 01:37:09PM +0200, Joerg Johannes wrote:
> I have, in the last few weeks, compiled a lot of kernels (with
> make-kpkg)
> Well, I have installed these kernel-image-blah.deb's, but without
> removing the old ones. dpkg -l shows
> 
> ii kernel-image-2. # <-- dpk -l does not show more of the package
> version
> ii kernel-image-2.
> ii kernel-image-2.
> ii kernel-image-2.
> ...

This is broken dpkg behaviour.  You can work around it by typing:
 COLUMS=200 dpkg -l foobar

> How can I safely remove the old ones (whose files were overwritten by
> the newer ones) ?

No files should be overwritten, or else there is a bug in kernel-package.

> I could make a 2.4.5 kernel and remove all the 2.4.3.deb's, but will
> this work? won't dpkg complain about files that are not there but should
> be there?

Unless you know how to play with "flavours", you will not have multiple
instances of the same kernel version installed on your system.  What files
do you mean that dpkg should complain about?  Every kernel-image package
has its own files, that must not be overwritten by any other packages.
If you try to install a kernel-image of a kernel version that already
has a kernel-image installed, then dpkg will treat the new install as
an upgrade and cleanly replace all files.

Cheers,


Joost



Reply to: