Run the following (as root): dpkg --get-selections kernel-image-2.2.17 | \ sed -e 's/install$/hold/' | dpkg --set-selections
This will place kernel-image-2.2.17 on hold, which will prevent apt/dselect/etc. from trying to upgrade it. To reverse the process, rerun with the sed command changed to 's/hold$/install/'. For what it's worth, the above can also be performed within dselect via the "H" or "=" keys (but how much fun is that? ;-). On Fri, Nov 17, 2000 at 03:10:40AM +0100, Benj wrote: > Well, thanks to the answers received from this list about my problem with > the /dpkg/status file being deleted... I was able to restore an old status > archived files. > So now I have all the packages listed, but some are outdated and some are > not visible (since its an old status file). > > Now, I would like to make an apt-get upgrade...... BUT, at all cost, I would > like the system NOT to upgrade: > kernel-image-2.2.17 > > This is what have caused the problem. I use a patched kernel, and my system > can't work without it. > The problem when I try to do any apt-get, it tries to update it !!!! It > seems there is somewhere a file telling the system that the previous > kernel-image-2.2.17 updade was not completed and the system always try to > updrade this which it can't. > > My question is: how can I locate who is asking to upgrade > kernel-image-2.2.17 each time I try to run any apt-get ? How can I tell it > not to do it anymore and completely ignore to take care of this file ? > > Thanks > Benj
pgp6PKXrvs5HX.pgp
Description: PGP signature