Re: apt_preferences, apt-cache policy vs aptitude (apt-get install)
Vadim Vatlin <vatlin@sthbel.ru> writes:
> 1)
> # cat preferences
> Package: *
> Pin: release a=stable
> Pin-Priority: 999
>
> # apt-cache policy bash
> bash:
> Installed: 2.05b-26
> Candidate: 2.05b-26
> Version Table:
> *** 2.05b-26 0
> 990 ftp://ftp.host.domain stable/main Packages
> 100 /var/lib/dpkg/status
> 2)
> # cat preferences
> Package: bash
> Pin: release a=stable
> Pin-Priority: 999
>
> # apt-cache policy bash
> bash:
> Installed: 2.05b-26
> Candidate: 2.05b-26
> Package Pin: 2.05b-26
> Version Table:
> *** 2.05b-26 999
> 990 ftp://ftp.host.domain stable/main Packages
> 100 /var/lib/dpkg/status
>
>
> Смущает что в первом случае *** 2.05b-26 0
> а во втором *** 2.05b-26 999
>
> Почему так ???
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=254820
Reply to: