How do I prevent rebuilt packages from being upgraded?
Posted by tong on Mon 16 Jan 2006 at 14:11
What is the correct right way to rebuild package in Debian whilst preventing those packages from being downgraded, without applying a hold upon them?
I've increase the package version number in the packages I've rebuilt, with the intention that they will not be updated when I use "apt-get upgrade".
Unfortunately when I try this I receive the error:
The following packages will be DOWNGRADED: dvd+rw-tools nget
What's the best approach to custom build packages so as not to interfere with upgrades?
In order not to be overwritten by apt-get, I increased my custom build packages by .1, as shown below:
$ apt-cache policy dvd+rw-tools dvd+rw-tools: Installed: 220.127.116.11.8-1.1 Candidate: 18.104.22.168.8-1 $ apt-cache policy nget nget: Installed: 0.27.1-1.1 Candidate: 0.27.1-1
But still apt-get insists that I have to downgrade them.