# yum based (fedora/redhat/centos)
yum update --exclude=kernel*

# apt based
apt-mark hold package-name*

# to unhold:
apt-mark unhold package-name*
admin