Stop package update (apt-get)

Sam Przyswa samp at arial-concept.com
Wed Feb 27 12:50:12 UTC 2008


Le vendredi 22 février 2008 à 14:16 -0400, Derek Broughton a écrit :
> Mario Vukelic wrote:
> 
> > On Fri, 2008-02-22 at 17:59 +0100, Sam Przyswa wrote:
> >> 
> >> I use our customized version of hylafax-server and I don't want to
> >> update/upgrade it. On a server in Dapper the actual version is the
> >> 4.2.5-1, how to configure the /etc/apt/preferences to always keep this
> >> version even if we use the backport repository.

Yes but I don't think that is a clean solution but efficient.
 
> > You will likely have to pin the package. See:
> ...
> 
> First, if you create your own version of something that's in the repos, you
> want to at least package it so that the package system recognizes it
> (chkinstall).  Then you can give it a version number high enough that it
> won't get superceded, at least in the near future.
> 
> However:
> 
> # sudo aptitude hold hylafax-server
> 
> should also do the job for you (again, as long as it's packaged).  

I prefer that solution..

Thanks for all your reply !

Sam.




-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.





More information about the ubuntu-users mailing list