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

Re: How to PIN a package?



On Fri, Oct 13, 2006 at 01:02:28PM -0500, Mumia W.. wrote:
> On 10/13/2006 04:59 AM, Mirto Silvio Busico wrote:
> >preferences:
> >--------------------------------------------------------------------------------
> >
> >Package: openoffice.org*
> >Pin: version 2.0.3*
> >Pin-Priority: 10001
> >
> >
> >--------------------------------------------------------------------------------
> >
> >But apt-get update; apt-get -s dist-upgrade tell me that apt still want
> >to upgrade openoffice to the 2.0.4~rc3-1 version.
> >
> >What I'm doing wrong, or what is missing?
> >
> >Mirto
> >
> 
> Since I use aptitude, I would do this: aptitude hold openoffice.org-bin
> 
> If you don't like aptitude, this should work:
> echo "openoffice.org-bin    hold" | dpkg --set-selections
> 

mmmm, whats the point of pinning when a hold will work?

-- 
Chris.
======
" ... the official version cannot be abandoned because the implication of
rejecting it is far too disturbing: that we are subject to a government
conspiracy of `X-Files' proportions and insidiousness."
Letter to the LA Times Magazine, September 18, 2005.



Reply to: