apt-mark hold linux-image-$(uname -r) apt-mark hold inux-headers-$(uname -r) echo "linux-image-$(uname -r) hold" | dpkg --set-selections