Package: apt-utils Version: 0.6.45 Severity: normal The shell transcript below seems to demonstrate that apt-ftparchive does not heed the various APT::FTPArchive::Release configuration values I have set up in /etc/apt/apt.conf, which are documented in the apt-ftparchive man page. If I point apt-ftparchive specifically to the default configuration file in /etc/apt/apt.conf, then it works. Without the explicit -c option, apt-ftparchive is not even reading /etc/apt/apt.conf: I show this below by introducing an error into /etc/apt/apt.conf. Using the -o command line options also works.
[corax] debian# pwd /usr/local/src/debian [corax] debian# set | fgrep -i apt || echo nothing there nothing there [corax] debian# apt-config dump APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::Default-Release "testing"; APT::FTPArchive ""; APT::FTPArchive::Release ""; APT::FTPArchive::Release::Label "Local"; APT::FTPArchive::Release::Architectures "amd64"; APT::FTPArchive::Release::Components "main contrib non-free"; APT::FTPArchive::Release::Description "Local repository on Corax, patched or just built from standard source."; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi"; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; Acquire ""; Acquire::http ""; Acquire::http::Proxy "false"; [corax] debian# apt-ftparchive release . > Release; cat Release W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/communicator/usr/share/doc/communicator W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/navigator/usr/share/doc/navigator ...[more warnings about danging symlinks in the tree]... W: Unable to stat ./kdebase-3.5.3/debian/kpager/usr/share/doc/kde/HTML/en/kpager/common W: Unable to stat ./kdebase-3.5.3/debian/konqueror/usr/share/doc/kde/HTML/en/konqueror/common Date: Tue, 15 Aug 2006 22:49:09 UTC MD5Sum: e4c704276584df6ea74031f3dea06424 116794 Packages d41d8cd98f00b204e9800998ecf8427e 0 Release SHA1: 59bd4d91d0cad4b78db7774b3b3ed63f561fecc3 116794 Packages da39a3ee5e6b4b0d3255bfef95601890afd80709 0 Release SHA256: ac30f3ce12ce18ecb213e69446c5fc70b443a088810e64324e1a4992b8b08695 116794 Packages e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 Release [corax] debian# apt-ftparchive -c /etc/apt/apt.conf release . > Release; cat Release W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/communicator/usr/share/doc/communicator W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/navigator/usr/share/doc/navigator ...[more warnings about danging symlinks in the tree]... W: Unable to stat ./kdebase-3.5.3/debian/kpager/usr/share/doc/kde/HTML/en/kpager/common W: Unable to stat ./kdebase-3.5.3/debian/konqueror/usr/share/doc/kde/HTML/en/konqueror/common Architectures: amd64 Components: main contrib non-free Date: Tue, 15 Aug 2006 22:49:28 UTC Description: Local repository on Corax, patched or just built from standard source. Label: Local MD5Sum: e4c704276584df6ea74031f3dea06424 116794 Packages d41d8cd98f00b204e9800998ecf8427e 0 Release SHA1: 59bd4d91d0cad4b78db7774b3b3ed63f561fecc3 116794 Packages da39a3ee5e6b4b0d3255bfef95601890afd80709 0 Release SHA256: ac30f3ce12ce18ecb213e69446c5fc70b443a088810e64324e1a4992b8b08695 116794 Packages e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 Release [corax] debian# echo malform-the-file >>/etc/apt/apt.conf [corax] debian# apt-ftparchive -c /etc/apt/apt.conf release . E: Syntax error /etc/apt/apt.conf:57: Extra junk at end of file [corax] debian# apt-ftparchive release . > Release; cat Release W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/communicator/usr/share/doc/communicator W: Unable to stat ./nets-4-sources/netscape4.base-4.77/debian/navigator/usr/share/doc/navigator ...[more warnings about danging symlinks in the tree]... W: Unable to stat ./kdebase-3.5.3/debian/kpager/usr/share/doc/kde/HTML/en/kpager/common W: Unable to stat ./kdebase-3.5.3/debian/konqueror/usr/share/doc/kde/HTML/en/konqueror/common Date: Tue, 15 Aug 2006 22:50:36 UTC MD5Sum: e4c704276584df6ea74031f3dea06424 116794 Packages d41d8cd98f00b204e9800998ecf8427e 0 Release SHA1: 59bd4d91d0cad4b78db7774b3b3ed63f561fecc3 116794 Packages da39a3ee5e6b4b0d3255bfef95601890afd80709 0 Release SHA256: ac30f3ce12ce18ecb213e69446c5fc70b443a088810e64324e1a4992b8b08695 116794 Packages e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 Release [corax] debian# -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-corax-1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages apt-utils depends on: ii apt [libapt-pkg-libc6.3-6-3.1 0.6.45 Advanced front-end for dpkg ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libdb4.3 4.3.29-6 Berkeley v4.3 Database Libraries [ ii libgcc1 1:4.1.1-5 GCC support library ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3 apt-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]