[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to give an older package version a higher priority?



On Mon, Mar 17, 2003 at 01:07:18PM +0100, Turbo Fredriksson wrote:
> Quoting Arne Goetje <arne@debian.linux.org.tw>:
> 
> > I have an older version of UCD snmp which I need for another program. I want 
> > to use the debian package, but because the version included in woody is 
> > newer, apt-get and aptitude want to automatically install the newer 
> > version.
> 
> You mean that you've made your own package which you don't want upgraded?
> 
> The easiest way to not have apt upgrade this is to put it on hold. Don't know
> how you do this in aptitude, but in dselect it's using the equal (=) character
> on the package name...

its the same in aptitude.

> > How can I give the older packages a higher priority without 
> > changing anything in the apt config files?
> 
> If you're making your own package, put a higher epoc on the version number...

you can also use pinning. see apt_preferences(5).

-- 
gram

Attachment: pgpsJm4vbO0nL.pgp
Description: PGP signature


Reply to: