Comment 5 for bug 1701852

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1701852] Re: (xenial+) apt-cache fails to run if a single sources.list.d entry is not readable

On Wed, Jul 05, 2017 at 04:05:43PM -0000, Julian Andres Klode wrote:
> Not really, we told everyone years ago to use the netrc for that.

Sorry, what is 'netrc'? I've never heard of this, and while I'm not closely
involved in apt development, I don't find any reference to 'netrc' in the
apt.conf or sources.list manpages. I manage to find
<https://blueprints.launchpad.net/ubuntu/+spec/foundations-lucid-apt-netrc-mechanism>,
but Dir::Etc::netrc is not documented in apt-config(8) nor do I find
documentation for format. This seems like a good enhancement to apt, but it
seems to be underdocumented and there are lots of downstream integration
points with sources.list which have never been updated to know about this?