Snowhog
Status: Curious
Joined: 28 Feb 2009
Posts: 7
Back to top
Posted: Oct 5, 09, 21:29    liquorix cruft not being removed
damentz -

I created two files this evening that identify LOADS of cruft from previous liquorix kernel installations that did not get removed by smxi when I unistalled them.

I'm sure that all this cruft can be removed - it's all associated with .30 and earlier liquorix kernel installs.

h2-gw should be made aware of this, unless he already is, that smxi isn't removing everything associated with your kernels when using the kernel remover option.
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 356
Back to top
Posted: Oct 6, 09, 14:55    
Most likely they are in the /lib/modules/ folder. If you create any files there, they do not disappear when the packages are removed.

smxi can probably include a tool to identify which kernel folders in /lib/modules/ are unnecessary anymore and remove them, ask h2 and see what he thinks.

dpkg only removes the files that it placed, that's probably why it appears that cruft accumulates.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2541
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Oct 6, 09, 18:00    
it should be removing /lib/modules cruft but I'll make sure that works for liquorix kernels too.

:: Code ::
if [ ! -e "/boot/vmlinuz-$kernelToRemove" ];then
      rm -rf /lib/modules/$kernelToRemove
      rm -rf /usr/src/linux-headers-$kernelToRemove
   fi


yes, it's there, last step in the kernel remover in smxi.

Now, note, if you mistakenly thought kernel-remover from sidux actually cleans up kernels, that's false, and is a big reason I implemented a native smxi one instead.

So if you used kernel-remover to dump stuff you'd need to do some manual cleanup after.
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 356
Back to top
Posted: Oct 6, 09, 19:22    
Ah, that's awesome. I'm really down to earth and purged my kernels with simple lines like apt-get purge .*1.dmz.3 and etc.

I'll try smxi next time going forward and see if I can initiate some good habits :D
Snowhog
Status: Curious
Joined: 28 Feb 2009
Posts: 7
Back to top
Posted: Oct 7, 09, 18:30    
Got it all straightened out last in #smxi with the help of all you outrageous dudes. Turns out to have been the result of a previously 'failed' kernel install. Anyway, it's all cleaned up. Life is good.
Display posts from previous:   

All times are GMT - 8 Hours