aptitude supposed to uninstall old kernel

NoOp glgxg at sbcglobal.net
Mon Apr 5 18:05:51 UTC 2010


On 04/05/2010 08:19 AM, Tom H wrote:
...
> Since starting to use Lucid, aptitude has been uninstalling kernels
> automatically and leaving me with just two kernels at every kernel
> update. I had meant to look into the logs but I forgot about it and
> did a clean install two days ago.
> 
> Has anyone else run into this? NoOp?
> 

I use apt-get rather than aptitude and have -16 through -19. I did
notice that after kernel upgrades I would be prompted to use
'autoremove' to remove the previous kernel (using 'sudo apt-get
upgrade'). I of course ignored the prompt. Unfortunately, I've had so
many changes/updates lately that I'll need to poke around to see if I
can recreate - I've a lucid test machine that hasn't had it's kernel
updated in awhile. I'll fire it up & use aptitude instead of apt-get to
do the update.

As a side note; on the machine that I updated from 9.10 to 10.04 running
'sudo apt-get -f install' showed nothing required. However using 'sudo
aptitude -f install' resulted in:

0 packages upgraded, 149 newly installed, 0 to remove and 0 not upgraded.
Need to get 242MB/261MB of archives. After unpacking 484MB will be used.

lot's of broken bits etc. So, I'm letting it run to see if that will
clean up machine - break it further... (it's a machine that has gone
from dapper thru lucid).









More information about the ubuntu-users mailing list