Prevent apt-get from upgrading a package
I'm running into an annoying situation that is rendering apt-get update almost unuseable. I have several packages that I installed from and want to maintain from source, but every time I apt-get update it tries to update them, which then either screws up the version, installs an unwanted package, or installs it twice.
Two for example:
Exim4. I'm running courier-imap and qmail, but apt wants to install exim4 which obviously isn't appreciated.
Clamav. I maintain clam via source and don't want it installed by apt, yet it insists on including it in the packages to be upgraded.
If anyone can tell me on how to prevent apt from checking and upgrading specific packages I'd sure appreciate it.
|