• Michael Shigorin's avatar
    added doc/apt.conf.sample · 08de7149
    Michael Shigorin authored
    Unfortunately apt configuration is not straightforward at all
    regarding being overridden: one can't just provide sources.list
    but needs a corresponding apt.conf along with it, and that apt.conf
    must disable the SysV-style snippet directories to avoid interesting
    side effects of all the things getting overlaid.
    
    So it's not surprising that torabora has asked for an example...
    (thanks go to boyarsh@ since I asked him for an example long ago)
    08de7149
apt.conf.sample 273 Bytes
// these must be unset to avoid picking up
// /etc/apt/{apt.conf.d,sources.list.d,}/
Dir::Etc::main "/dev/null";
Dir::Etc::parts "/var/empty";
Dir::Etc::SourceParts "/var/empty";

// this is what caused the whole trouble
Dir::Etc::sourcelist "/home/mike/apt/sources.list";