24

I have a 2G home partition, /lib/modules is taking more that 1.5G. I got 12 directory named after version of kernel 2.6.32 each taking 119k. Why do I have all of that? Do I need all of that? If not, what is the clean way to remove what I don't need?

Thanks

Guillaume Coté
  • 3,692
  • 8
  • 30
  • 36

1 Answers1

21

Automatic update is installing each new kernel, but there is no clean-up, and there is a copy of the module for each kernel.

There is a package entry called :

linux-image-<version>-generic

Removing it removed the corresponding files in /lib/modules

Guillaume Coté
  • 3,692
  • 8
  • 30
  • 36