Re: installing kernel-debs

2001-07-23 Thread Joerg Johannes
Joerg Johannes wrote:
 
 Hello list
 
 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.
 ...
 
 How can I safely remove the old ones (whose files were overwritten by
 the newer ones) ?
 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?
 
 joerg
 


OK, Thanks to everyone.

COLUMS=200 dpkg | grep kernel-image

helped me so that could apt-get remove all the old kernel packages.

joerg


-- 
Did you know that if you play a Windows 2000 cd backwards, you 
will hear the voice of Satan?

That's nothing!  If you play it forward, it'll install Windows 2000.



Re: installing kernel-debs

2001-07-21 Thread Joost Kooij
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



installing kernel-debs

2001-07-20 Thread Joerg Johannes
Hello list

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.
...

How can I safely remove the old ones (whose files were overwritten by
the newer ones) ?
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?


joerg

-- 
Did you know that if you play a Windows 2000 cd backwards, you 
will hear the voice of Satan?

That's nothing!  If you play it forward, it'll install Windows 2000.



Re: installing kernel-debs

2001-07-20 Thread Sebastiaan
On Fri, 20 Jul 2001, Joerg Johannes wrote:

 Hello list
 
 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.
 ...
 
 How can I safely remove the old ones (whose files were overwritten by
 the newer ones) ?
 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?
 
Perhaps this is evil, but it might workt:
# dpkg --get-selections  installeddebs
edit the file and remove all old kernel-images
# echo installeddebs | dpkg --set-selections

Greetz,
Sebastiaan




Re: installing kernel-debs

2001-07-20 Thread Colin Watson
[EMAIL PROTECTED] wrote:
Hello list

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

'COLUMNS=200 dpkg -l' (at least on unstable).

That's part of the package *name*, though, not the version. You can just
purge the old ones. The files won't have been overwritten, or at least
if they were you would have been warned about it at the time and can go
ahead and purge things now.

dselect will let you see the full names and will let you purge them
easily (hit '_').

-- 
Colin Watson  [EMAIL PROTECTED]



Re: installing kernel-debs

2001-07-20 Thread Jor-el
Joerg,

By a coincidence, I had opened a bug yesterday on this very
topic. Here is the link which also contains the maintainer response.

Regards,
Jor-el

On Fri, 20 Jul 2001, Joerg Johannes wrote:

 Hello list
 
 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.
 ...
 
 How can I safely remove the old ones (whose files were overwritten by
 the newer ones) ?
 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?
 
 
 joerg
 
 -- 
 Did you know that if you play a Windows 2000 cd backwards, you 
 will hear the voice of Satan?
 
 That's nothing!  If you play it forward, it'll install Windows 2000.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: installing kernel-debs

2001-07-20 Thread Jor-el
Joerg,

Of course, it would be good if I had included the link too,
wouldnt it? 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=105964repeatmerged=yes

Regards,
Jor-el

On Fri, 20 Jul 2001, Jor-el wrote:

 Joerg,
 
   By a coincidence, I had opened a bug yesterday on this very
 topic. Here is the link which also contains the maintainer response.
 
 Regards,
 Jor-el
 
 On Fri, 20 Jul 2001, Joerg Johannes wrote:
 
  Hello list
  
  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.
  ...
  
  How can I safely remove the old ones (whose files were overwritten by
  the newer ones) ?
  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?
  
  
  joerg
  
  -- 
  Did you know that if you play a Windows 2000 cd backwards, you 
  will hear the voice of Satan?
  
  That's nothing!  If you play it forward, it'll install Windows 2000.
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]