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

Bug#728274: python-apt: apt.conf used from /etc/apt instead of root_dir + etc/apt



On 11/14/2013 08:10 AM, Michael Vogt wrote:
> On Wed, Nov 13, 2013 at 04:51:58PM +0100, Michael Vogt wrote:
>> On Wed, Oct 30, 2013 at 08:20:38AM +0100, Thomas Bechtold wrote:
> [..]
>> The attached patch should fix this. Thanks David for the reminder
>> about this. Note that init_config() without the clean() is not helpful
>> as most of the init config code these days consists of conditional
>> sets (i.e. will not override existing ones).
> 
> If this works as expected for you I will merge it into python-apt.
> 
>> Later Versions of apt have a global Clear(), we should probably use
>> that once bindings are added.
> 
> Attached is a patch that adds support for the Clear() without a
> subtree. The downside is that it needs apt >= 0.9.11 to build. If that
> is a concern for backports I could springle in some #ifdefs.

The patch works for me. Thanks!


Reply to: