#623322 pbuilder/cowbuilder should unset APT_CONFIG environment variable

Package:
pbuilder
Source:
pbuilder
Submitter:
Peter Eisentraut
Date:
2026-07-31 20:44:00 UTC
Severity:
minor
Tags:
#623322#5
Date:
2011-04-19 09:59:07 UTC
From:
To:
I have the APT_CONFIG environment variable set to pull in an
additional configuration file for apt-get.  Since that file doesn't
exist in pbuilder/cowbuilder environments, it complains like this:

W: Unable to read /home/peter/.apt.conf - RealFileExists (2: No such file or directory)

I don't think it causes any real problems, and I have worked around
the issue by adding

unset APT_CONFIG

to .pbuilderrc.  But perhaps pbuilder should do that itself.