Por ejemplo del paquete Apache:

echo «apache hold» | dpkg –set-selections

Para quitarle el hold:

echo «apache install» | dpkg –set-selections

Con aptitude:

#aptitude hold package_name
#aptitude unhold apache2

Para buscar los paquetes retenidos:

#dpkg -l | grep ^h