On Sat, Sep 24, 2011 at 2:01 AM, Martin Steigerwald <[email protected]>wrote:
> Am Donnerstag, 22. September 2011 schrieb Camaleón: > > On Thu, 22 Sep 2011 11:50:54 +0800, lina wrote: > > > On Thu, Sep 22, 2011 at 1:34 AM, Camaleón <[email protected]> wrote: > > >> Hmm... you "/lib" seems a bit bloated (mine is 94 MiB), I would look > > >> inside it: > > >> > > >> du -h /lib | grep "[0-9]M" | sort -n -r | less > > >> > > >> 330M /lib > > > > > > 311M /lib/modules > > > > > > got several kernels here. > > > > > > linux-headers-2.6-amd64 install > > > linux-headers-2.6.32-5-common install > > > linux-headers-2.6.38-2-amd64 install > > > linux-headers-2.6.38-2-common install > [...] > > > after purging, only took > > > > > > # du -sh /lib > > > 128M /lib > > > > > > Thanks for your help. It's done. > > > > Hum... I hope those files are not going to be used anymore by your > > system. By the way, they're not kernels, but "kernel headers", mainly > > needed for compiling things but dunno what were they doing under "/lib/ > > modules" :-? > > Maybe kernels are still installed as well. > > Lina, what does > > dpkg -l | grep linux- > $ dpkg -l | grep linux- ii doc-linux-text 2008.08-1 Linux HOWTOs and FAQs in ASCII format ii linux-base 3.3 Linux image base package ii linux-headers-3.0.0-mbp82-lina 1900 Header files related to Linux kernel, specifically, ii linux-image-3.0.0-mbp82-lina 1900 Linux kernel binary image for version 3.0.0-mbp82-lina ii linux-libc-dev 3.0.0-3 Linux support headers for userspace development ii linux-sound-base 1.0.23+dfsg-4 base package for ALSA and OSS sound systems ii linux-source-2.6.39 2.6.39-3 Linux kernel source for version 2.6.39 with Debian patches ii linux-source-3.0.0 3.0.0-3 Linux kernel source for version 3.0.0 with Debian patches Can I remove ii linux-source-2.6.39 2.6.39-3 Linux kernel source for version 2.6.39 with Debian patches > > or > > ls -lh /boot/{vm,init}* > show? > $ ls -lh /boot/{vm,init}* -rw-r--r-- 1 root root 9.9M Sep 8 10:25 /boot/initrd.img-3.0.0-mbp82-lina -rw-r--r-- 1 root root 3.1M Jul 26 22:12 /boot/vmlinuz-3.0.0-mbp82-lina Thanks. > > Removing packages for older, not used kernels will save some diskspace as > well. > > -- > Martin 'Helios' Steigerwald - http://www.Lichtvoll.de > GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: http://lists.debian.org/[email protected] > > -- Best Regards, lina

