cmaloney | Good morning | 15:14 |
---|---|---|
n0p | anyone use unattended-upgrades? i have it on for a few servers and just found my /boot partition full of kernels. Trying to see if a way to blocklist them.. | 16:51 |
n0p | best i found so far is this http://ubuntuforums.org/showthread.php?t=1500630 | 16:51 |
n0p | but some hack about tweaking the unattended-upgrades script direct (since it doesnt support regex in the Blacklist) | 16:52 |
n0p | hmm, /me wonders if just uninstalling the inux-image-generic pkg will do it | 16:54 |
n0p | i'll report back after a long hiatus ;-) | 16:55 |
jrwren_ | n0p: i've hit the same issue. I've never found a good solution. | 16:57 |
n0p | the servers in question did have the meta generic image package, i uninstalled it and will see if that helps | 16:59 |
n0p | i'm all ntp patched up now | 17:00 |
n0p | http://www.ubuntu.com/usn/usn-2449-1/ | 17:00 |
rick_h_ | n0p: isn't there a command to auto clean older kernels? | 17:05 |
n0p | ¯\_(ツ)_/¯ I have one liner sed script to list em out (then remove), but would be nice to be preventative on the issue | 17:08 |
n0p | other issue may be that the running kernel was the oldest kernel (since all the others were auto added since last start) | 17:10 |
n0p | I'll get over it, but if I can figure a way to avoid the work, you know I'm there | 17:11 |
mrgoodcat | dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge | 17:32 |
mrgoodcat | ^^ cron that | 17:32 |
mrgoodcat | if you're brave enough that is | 17:33 |
mrgoodcat | mrgoodcat from the internet says its ok :) | 17:33 |
cmaloney | Well then | 17:34 |
mrgoodcat | but really i have run that line and it does work. | 17:36 |
mrgoodcat | cron at your own risk though | 17:36 |
mrgoodcat | n0p: uninstalling linux-image-generic will make it so you don't get prompted for kernel updates. i'd suggest keeping it | 17:39 |
mrgoodcat | all it does is depend on the most recent kernel package | 17:39 |
rick_h_ | heh, I thought it was automted but seems to be a frequent enuogh question https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels and http://askubuntu.com/questions/2793/how-do-i-remove-or-hide-old-kernel-versions-to-clean-up-the-boot-menu | 17:48 |
brousch_ | rick_h_: No need to update your Apple, they will do it for you http://www.reuters.com/article/2014/12/23/us-apple-cybersecurity-idUSKBN0K108W20141223 | 18:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!