Results 1 to 2 of 2
Hi,
I'm having problems configuring pinning for APT, when I use apt-cache policy to review the policies I see that the "release" line is missing.
I have this working on ...
- 01-14-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
[SOLVED] apt pinning problems
Hi,
I'm having problems configuring pinning for APT, when I use apt-cache policy to review the policies I see that the "release" line is missing.
I have this working on one machine and I have copied the preferences file so that they are exactly the same.
It looks like this:
Package: *
Pin: release n=common
Pin-Priority: 300
Working machine:
apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
300 local-192-removed-due-to-filtering common/all Packages
release o=Mine,a=common,n=common,l=My Automatic updater,c=all
origin local-192-removed-due-to-filtering
Faulty Machine:
apt-cache policy
"Package"-filer:
100 /var/lib/dpkg/status
release a=now
500 local-192-removed-due-to-filtering common/all Packages
origin local-192-removed-due-to-filtering
Any ideas?
Thanks.
- 01-14-2010 #2Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
Ok, solved it myself.
Apparantly the release info isn't displayed if the repository isn't signed and if it's not displayed, pinning doesn't do anything.
By signing my repos it works correctly.


