You are better off using apt (or dpkg) to remove the packages, eg;
m...@bender:~$ sudo apt-get remove  linux-headers-2.6.31-14
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
linux-headers-2.6.31-14-generic-pae
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 90.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 240067 files and directories currently installed.)
Removing linux-headers-2.6.31-14-generic-pae ...
Removing linux-headers-2.6.31-14-generic ...
dpkg: warning: while removing linux-headers-2.6.31-14-generic, directory
'/lib/modules/2.6.31-14-generic' not empty so not removed.
Removing linux-headers-2.6.31-14 ...


On 9 February 2010 14:07, Voytek Eymont <[email protected]> wrote:

>
> my centos system just run out of space on /boot:
>
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                     101793144  28730252  67892104  30% /
> /dev/cciss/c0d0p1        98747     92263      1385  99% /boot
> none                   1168044         0   1168044   0% /dev/shm
> /dev/mapper/VolGroup00-LogVol02
>                       1064312     34180    976068   4% /tmp
>
>
> if I delete older versions of init-rd*, vmlinuz*, do I need to do anything
> else after deleteting the older files ?
>
> --
> Voytek
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to