I'm having a xen box which runs squeeze.
the linux-image-2.6.32-5-686-bigmem never upgrades properly and I want to stop it from upgrading any more. It's annoying that it tries and fails every time I run apt-get.
I issued
echo "linux-image-2.6.32-5-686-bigmem hold" | dpkg --set-selections
echo "linux-image-686-bigmem hold" | dpkg --set-selections
and I get
root@y:/etc# dpkg --get-selections | grep hold
linux-image-2.6.32-5-686-bigmem hold
linux-image-686-bigmem hold
But it still tries to upgrade
root@y:/etc# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up linux-image-2.6.32-5-686-bigmem (2.6.32-31) ...
and fails.
I got below reply with dpkg -l linux-image-2.6.32-5-686-bigmem
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
hF linux-image-2. 2.6.32-31 Linux 2.6.32 for PCs with 4GB+ RAM
It's hF, not hi.