Re: How to PIN a package?
On Fri, Oct 13, 2006 at 11:59:15AM +0200, Mirto Silvio Busico wrote:
> Hi all,
> I had to downgrade openoffice to version 2.0.3.
> Now I need to avoid that this package will b e upgraded again.
>
> Following the manuals I put in apt files (in /etc/apt):
>
> apt.conf:
> --------------------------------------------------------------------------------
> APT::Authentication::TrustCDROM "true";
> Acquire::::Proxy "false";
> APT::Default-Release "testing";
>
> --------------------------------------------------------------------------------
>
> 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
The only strange thing I can spot is the very high priority (10001). Though the
documentation doesn't exclude it (it says >1000) all examples are with 1001.
what does 'apt-cache policy openoffice.org' say?
HTH
Andrei
--
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
Reply to: