On Fri, Aug 15, 2008 at 05:52:05AM -0500, gary turner wrote: > Alex Samad wrote: >> On Fri, Aug 15, 2008 at 01:06:39AM -0500, gary turner wrote: >>> Through upgrades, etc., I've accumulated six kernel images. >>> >>> [EMAIL PROTECTED]:~$ ls /boot > <snip> >>> Can I safely rm those I don't want to keep? Are there other >>> directories and files that need to be included in the clean-up? >> as suggested in other email [from Andrei Popescu] don't rm them, use >> aptitude purge, but I >> would keep atleast 2 versions, incase a upgrade fails >> > Thanks, I ran purge on the four oldest. Three of them reported an error: > > rmdir: failed to remove `/lib/modules/2.6.22-3-486': Directory not empty > dpkg - warning: while removing linux-image-2.6.22-3-486, directory > `/lib/modules/2.6.22-3-486' not empty so not removed. > > koko:/lib/modules/2.6.22-3-486$ ls -al > total 12 > drwxr-xr-x 2 root root 4096 2008-08-15 05:33 . > drwxr-xr-x 7 root root 4096 2008-08-15 05:26 .. > -rw-r--r-- 1 root root 1303 2007-12-07 22:19 modules.seriomap > koko:/lib/modules/2.6.22-3-486$ > > Do these belong to a package, or would I simply rm them? dpks -S <path/filename> is your friend. But from memory modules.seriomap is a generated file so just rm -fr /lib/modules/2.6.22-3-486
> > gary > -- > Anyone can make a usable web site. It takes a graphic > designer to make it slow, confusing and painful to use. > begin:vcard > fn:Gary Turner > n:Turner;Gary > org:Gary Turner, Web Developer > adr:;;;;;;USA > email;internet:[EMAIL PROTECTED] > title:Czar > x-mozilla-html:FALSE > url:http://gtwebdev.com/ > version:2.1 > end:vcard > -- Skinner: If you can't keep you head, it's OK to step away. Scully: That's exactly what they want. "The X-Files: Aprocrypha"
signature.asc
Description: Digital signature