[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creating Release{.gpg} files, how to do it...for a local cache



On Thu, Oct 24, 2002 at 12:04:58PM -0400, Walter Tautz wrote:

> I have succeeded in getting one to work by changing the Origin
> to something other than Debian and then using /etc/apt/preferences
> to bump up the PIN priority so that my packages are on par with
> the rest of debian stable. There must be a way that this can be
> done without adding stuff to preferences
> [...]
> If I change Origin to 'UWaterloo' for example AND add

This is _exactly_ what the Origin field is for in the first place, and you
_should_ change it.

What is it that you are trying to do?  If your packages are different from
those in Debian stable, they should have higher version numbers, and they
will automatically be preferred.  If they have the same version numbers,
then what are you trying to accomplish?  If you just want a local cache of
packages, simply list your local source first in sources.list, or avoid the
archive method altogether and use a caching proxy.

> It would really be nice to know exactly how apt uses the Release file to
> setup Pin values or more precisely how it chooses packages to download.

man 5 apt_preferences

> ps. apt is not very well documented or at least it seems it could be
> better....and the apt developers should be the ones to write it since they
> know how the program works.

See above.

-- 
 - mdz



Reply to: