Package: apt Version: 0.7.12 Severity: wishlist Tags: patch If apt encounters a configuration file with lines longer than 1024 characters, it prints the cryptic message:
Line N too long (max 1024) It would help immensely in debugging these problems if apt instead printed: Filename: Line N too long (max 1024) The attached patch does just this; I'll push it to the mainline branch if it looks reasonable to everyone else. (the code is also available at http://algebraicthunk.net/~dburrows/bzr/apt-improve-configuration-parsing) Of course, apt also shouldn't conk out if a line is more than 1024 characters long, but that will require more work; fixing the error message is trivial. Daniel -- Package-specific info: -- (/etc/apt/preferences present, but not submitted) -- -- (/etc/apt/sources.list present, but not submitted) -- -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a ii libc6 2.7-10 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-2 GCC support library ii libstdc++6 4.3.0-2 The GNU Standard C++ Library v3 apt recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]