On Sun, Aug 11, 2002 at 05:11:00PM +0200, Julien Danjou wrote: > [EMAIL PROTECTED]:~-> apt-cache policy icewm icewm-common > icewm: > Installed: (none) > Candidate: 1.2.0-1 > Version Table: > 1.2.0-1 0 > 500 http://debian.mirrors.easynet.fr sid/main Packages > 999 file: ./ Packages > icewm-common: > Installed: (none) > Candidate: 1.2.0-1 > Version Table: > 1.2.0-1 0 > 500 http://debian.mirrors.easynet.fr sid/main Packages > 999 file: ./ Packages
It looks like you are providing the same package versions from both sources. Pins are used to select between distinct versions. For packages with the same version number (and thus should be identical), I believe apt will select the one which comes from the source which is listed first in sources.list. If all you want is to prefer a local package repository (containing identical packages!) over a remote repository, just list it first. If you want to use different packages in your local repository, give them different version numbers. -- - mdz