Re: How to PIN a package?
Florian Kulzer wrote:
[...snip....]
>>> 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
>>>
>
> Maybe the APT::Default-Release "testing"; option interferes with the
> package pinning or the wildcards in the preferences file do not work as
> expected. What is the output of
>
> apt-cache policy openoffice.org
>
Output is:
msb01:/# apt-cache policy openoffice.org
openoffice.org:
Installato: 2.0.3-6
Candidato: 2.0.3-6
Pin del pacchetto: 2.0.3-6
Tabella versione:
2.0.4~rc3-1 1001
990 http://mi.mirror.garr.it etch/main Packages
*** 2.0.3-6 1001
50 http://snapshot.debian.net unstable/main Packages
100 /var/lib/dpkg/status
msb01:/#
> apt-cache policy openoffice.org-common
>
Output is:
openoffice.org-common:
Installato: 2.0.3-6
Candidato: 2.0.4~rc3-1
Tabella versione:
2.0.4~rc3-1 0
990 http://mi.mirror.garr.it etch/main Packages
*** 2.0.3-6 0
50 http://snapshot.debian.net unstable/main Packages
100 /var/lib/dpkg/status
msb01:/#
I don't understand why the preference with 10001 value is not considered.
Regards
Mirto
--
__________________________________________________________
Mirto Silvio Busico ICT Consultant
Tel. +39 333 4562651
Reply to: