Skip to content

Instantly share code, notes, and snippets.

@sungmin-park
Last active December 14, 2015 03:49
Show Gist options
  • Save sungmin-park/5024290 to your computer and use it in GitHub Desktop.
Save sungmin-park/5024290 to your computer and use it in GitHub Desktop.
hold kernel related pakges for ubuntu and debian
dpkg -l |egrep '^.. (linux|grub|initramfs)'| cut -d' ' -f3 | sed 's/$/ hold/' | sudo dpkg --set-selections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment