Bug#657441: apt: Error msg mentions nonexistant config file "apt.conf"
On Thu, Jan 26, 2012 at 11:23:55AM +0100, Helge Hafting wrote:
> Package: apt
> Version: 0.8.15.9
> Severity: minor
> Apt crashed when "Dynamic MMap ran out of room". The error message suggested
> increasing the Cache-Limit in "apt.conf", and also referred to the man page
> for "apt-conf". Now, that man page exists, but not the file itself.
> The limit turned out to be in the file /etc/apt/apt.conf.d/80aptcachelimit
> There is a trend towards splitting config files into
> small machine-manipulatable files. That may be useful, but please update
> the documentation (and error messages) when doing so.
> There is no "apt.conf". The error message could mention the
> correct file. The man page ought to be for "apt.conf.d" which
> exists, not for the historical but nonexistent "apt.conf". Or for
> both, if "apt.conf" will work if it exists.
apt.conf works just fine. Just because you choose to create
a /etc/apt/apt.conf.d/80aptcachelimit does not mean that APT
knows this or should be more helpful.
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.