/lib/modules not cleaned on update?

asked 2015-05-02 23:00:48 +0200

jeskata gravatar image

I noticed there are old empty kernel module directories still here, probably left after updates. ls /lib/modules/ -lh total 0 drwxr-xr-x 1 root root 12 2014-07-22 21:30 3.4.0.20131115.2 drwxr-xr-x 1 root root 12 2014-07-22 22:00 3.4.0.20131212.3 drwxr-xr-x 1 root root 12 2014-10-30 15:52 3.4.91.20140612.1 drwxr-xr-x 1 root root 12 2014-12-19 08:46 3.4.98.20140811.4 drwxr-xr-x 1 root root 12 2015-02-19 13:49 3.4.98.20141031.3 drwxr-xr-x 1 root root 12 2015-04-27 15:00 3.4.98.20141219.1.1 drwxr-xr-x 1 root root 346 2015-04-27 15:00 3.4.98.20150206.1.1

du -h --max-depth 1 /lib/modules/ 0 /lib/modules/3.4.0.20131115.2 0 /lib/modules/3.4.0.20131212.3 0 /lib/modules/3.4.91.20140612.1 0 /lib/modules/3.4.98.20140811.4 0 /lib/modules/3.4.98.20141031.3 0 /lib/modules/3.4.98.20141219.1.1 5,0M /lib/modules/3.4.98.20150206.1.1 5,0M /lib/modules/

uname -a Linux Jolla 3.4.98.20150206.1.1 #1 SMP PREEMPT Wed Apr 8 20:09:05 UTC 2015 armv7l armv7l armv7l GNU/Linux

Is it safe to remove the old directories? Shouldn't these be removed automatically?

edit retag flag offensive close delete