Hi

I was looking at source code of apt:

apt-0.7.25.3ubuntu5/apt-pkg/policy.cc (line 283)

   vector<string> const List = GetListOfFilesInDir(Dir, "pref", true,
true);

Second argument of GetListOfFilesInDir is extension filenames (defined
in apt-pkg/contrib/fileutl.cc)

 preferences.d/* files must have .pref extension, example
/etc/apt/preferences.d/local-pin.pref

-- 
Aptitude ignores preferences.d/*
https://bugs.launchpad.net/bugs/508545
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to