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

Re: How to add dependencies that exist in another repository



On Thu, Nov 11, 2010 at 12:03:30PM +0100, Andreas Tille wrote:
> On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote:
> > I have a package my-apt-config that installs the gpg key for the local
> > repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file
> > and /etc/apt/preferences.d/ file with all the right settings for me.
> 
> I completely agree but did not managed to get /etc/apt/preferences.d/
> working as expected.  Did I missed a piece of documentation or can you
> provide any working example.

>From man apt_preferences:
  Note that the files in the /etc/apt/preferences.d directory are parsed
  in alphanumeric ascending order and need to obey the following naming
  convention: The files have no or "pref" as filename extension and which
  only contain alphanumeric, hyphen (-), underscore (_) and period (.)
  characters - otherwise they will be silently ignored.

Cheers,

Mike


Reply to: