squeeze - apt-cache policy don't report additional info
Dear all,
I've got troubles with apt-cache policy and pinning.
We created some mirrors of official distrib mirrors and I am not able to get the "Release, Origin, Version, Label etc" on apt-cache policy.
Sometimes I got it, sometimes not.. and I don't know why. It causes my preferences are not working because it can't find informations.
Here is the report of apt-cache policy (french version):
Fichiers du paquet :
100 /var/lib/dpkg/status
release a=now
500 http://mirror.foo.bar/foo/ squeeze/prod/main amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian-security/ squeeze/prod/non-free amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian-security/ squeeze/prod/contrib amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian-security/ squeeze/prod/main amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze-updates/prod/non-free amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze-updates/prod/contrib amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze-updates/prod/main amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze/prod/non-free amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze/prod/contrib amd64 Packages
origin mirror.foo.bar
500 http://mirror.foo.bar/debian/ squeeze/prod/main amd64 Packages
origin mirror.foo.bar
Paquets étiquetés :
sun-java6-bin -> (non trouvé)
sun-java6-jdk -> (non trouvé)
sun-java6-jre -> (non trouvé)
I should Have something like this (just one line exemple ) :
500 http://mirror.foo.bar/debian/ squeeze/prod/non-free amd64 Packages
release o=Debian,a=stable-updates,n=squeeze-updates,l=Debian,c=contrib
origin mirror.foo.bar
But I don't have the release... line..
My Release files on mirrors are correct :
It reports for exemples headers like this :
Origin: Debian
Label: Debian
Suite: stable-updates
Codename: squeeze-updates
Date: Mon, 05 Nov 2012 08:17:11 UTC
Valid-Until: Mon, 12 Nov 2012 08:17:11 UTC
I tried to clean /var/cache/apt /var/lib/apt/ then rerun apt-get update.. It doesn't change anything!
Here is my preferences that don't match (because additional info are not matched) :
Package: sun-java6-jre sun-java6-bin sun-java6-jdk
Pin: release l=foo, version 6.22*
Pin-Priority: 1001
Explanation: keep java lenny 6.22 from static mirror
What can I do to solve this?
I exclusively use apt and not aptitude.
Thank you,
JCD.
Reply to: