[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#345901: marked as done ([doc] unclear whether contents of apt.conf are case-sensitive)



Your message dated Sat, 25 Oct 2008 09:47:05 +0000
with message-id <E1Ktfjd-0003Q9-3z@ries.debian.org>
and subject line Bug#345901: fixed in apt 0.7.17~exp1
has caused the Debian Bug report #345901,
regarding [doc] unclear whether contents of apt.conf are case-sensitive
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
345901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345901
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.5.28.6
Severity: minor
Tags: patch

*** Please type your report below this line ***

When I come to upgrade some of my machines from woody to sarge, and want
to upgrade aptitude as the first step, in some cases aptitude wants to
remove over 100 packages, in other cases, only 1.

This lead me to check how aptitude examines the apt.conf file.
When I wanted to know whether aptitude was ignoring the apt.conf settings,
   APT::Cache-Limit "12500000";
   Aptitude::Keep-Suggests "true";
   Aptitude::Delete-Unused "false";

I noticed this:
   % strings `which aptitude` | grep -i delete-
   aptitude::Delete-Unused
   aptitude::Delete-Unused-Pattern

while the Aptitude documentation (/usr/share/doc/aptitude/html/en/) talks about
   Aptitude::Delete-Unused
   Aptitude::Delete-Unused-Pattern

I couldn't find a clear statement in the various bits of documentation
whether the apt.conf configuration items are case-sensitive or not.

I took a look at the apt and aptitude source and from what I can see
(Configuration::Lookup in apt-0.5.28.6/apt-pkg/contrib/configuration.cc)
the matching is case-insensitive (which is the way that makes sense).

The patch to the manpage below reflects this. Please consider applying it.

--- apt-0.5.28.6/doc/apt.conf.5.xml.orig        2006-01-04 15:47:18.000000000 +1100
+++ apt-0.5.28.6/doc/apt.conf.5.xml     2006-01-04 15:49:38.000000000 +1100
@@ -75,6 +75,8 @@
    <filename>&docdir;examples/apt.conf</filename> &configureindex;
    is a good guide for how it should look.</para>

+   <para>The names of the configuration items are not case-sensitive.</para>
+
    <para>Two specials are allowed, <literal>#include</literal> and <literal>#clear</literal>
    <literal>#include</literal> will include the given file, unless the filename
    ends in a slash, then the whole directory is included.





-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "12500000";
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::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:: "/usr/sbin/dpkg-preconfigure --apt || true";
Aptitude "";
Aptitude::Keep-Suggests "true";
Aptitude::Delete-Unused "false";


-- (no /etc/apt/preferences present) --


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-13   GCC support library
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.17~exp1

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.7.17~exp1_all.deb
  to pool/main/a/apt/apt-doc_0.7.17~exp1_all.deb
apt-transport-https_0.7.17~exp1_i386.deb
  to pool/main/a/apt/apt-transport-https_0.7.17~exp1_i386.deb
apt-utils_0.7.17~exp1_i386.deb
  to pool/main/a/apt/apt-utils_0.7.17~exp1_i386.deb
apt_0.7.17~exp1.dsc
  to pool/main/a/apt/apt_0.7.17~exp1.dsc
apt_0.7.17~exp1.tar.gz
  to pool/main/a/apt/apt_0.7.17~exp1.tar.gz
apt_0.7.17~exp1_i386.deb
  to pool/main/a/apt/apt_0.7.17~exp1_i386.deb
libapt-pkg-dev_0.7.17~exp1_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.7.17~exp1_i386.deb
libapt-pkg-doc_0.7.17~exp1_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.7.17~exp1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 345901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Bruno <lethalman88@gmail.com> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 11 Oct 2008 09:17:46 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.17~exp1
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Luca Bruno <lethalman88@gmail.com>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 345901 392063
Changes: 
 apt (0.7.17~exp1) experimental; urgency=low
 .
   [ Luca Bruno ]
   * Fix typos:
     - apt-pkg/depcache.cc
   * Fix compilation warnings:
     - apt-pkg/acquire.cc
     - apt-pkg/versionmatch.cc
   * Compilation fixes and portability improvement for compiling APT against non-GNU libc
     (thanks to Martin Koeppe, closes: #392063):
     - buildlib/apti18n.h.in:
       + textdomain() and bindtextdomain() must not be visible when --disable-nls
     - buildlib/inttypes.h.in: undefine standard int*_t types
     - Append INTLLIBS to SLIBS:
       + cmdline/makefile
       + ftparchive/makefile
       + methods/makefile
   * doc/apt.conf.5.xml:
     - clarify whether configuration items of apt.conf are case-sensitive
       (thanks to Vincent McIntyre, closes: #345901)
Checksums-Sha1: 
 251a9d9b0b5c3983dc371f4b98092978a18be366 1175 apt_0.7.17~exp1.dsc
 f0902936d0fab37e2eba7dca90205a6ef28e97d9 2059756 apt_0.7.17~exp1.tar.gz
 9dbaa515057cd3f2cd628bd93e65f7dad35c62cd 99674 apt-doc_0.7.17~exp1_all.deb
 23bbbdaeda920b0686ce3982db8447bd173cf02d 123670 libapt-pkg-doc_0.7.17~exp1_all.deb
 378e33e6e2b8d304c2d1f4b02be5c6499aba200f 1648626 apt_0.7.17~exp1_i386.deb
 490c7f72b89f31f2a75b5b5b638520c2a922ca7c 108288 libapt-pkg-dev_0.7.17~exp1_i386.deb
 660a7cffd3d413c0e45a5550f76512867ac5e76c 187542 apt-utils_0.7.17~exp1_i386.deb
 b135b99c7781b21dc3ec8bd018bca54816963129 57714 apt-transport-https_0.7.17~exp1_i386.deb
Checksums-Sha256: 
 d3ea15c1ee503d1d9eda3bb23960a84c4decc1623f891f7464f98ddc0edd02c3 1175 apt_0.7.17~exp1.dsc
 9e0acc3ff5f0141bb6cfb3b4978f2599bdbcd9eac50753152b7ab787a0b8508c 2059756 apt_0.7.17~exp1.tar.gz
 e10f02c02f2e88a55b15eac2b2895ca06d38deb0d47018509c3f591f8aae43db 99674 apt-doc_0.7.17~exp1_all.deb
 6e905406d247857c8e0ddb64b7bc8ac5867470eca4a33fc93bc512083b0fb5a2 123670 libapt-pkg-doc_0.7.17~exp1_all.deb
 6c1d969021863831c10e2c721415837eddb1009d3f555c97b6d24aa8efcfec89 1648626 apt_0.7.17~exp1_i386.deb
 b69b3a3ee58a22de2fe457ae4db931af4bef3d1009981e772f7135114a9a4df8 108288 libapt-pkg-dev_0.7.17~exp1_i386.deb
 0f1095467d9ec02d4b99650e0a4ba895d65a5cd3aa37112802afed914bc9ac3a 187542 apt-utils_0.7.17~exp1_i386.deb
 b3a1d57f0e7b5bfcdebea6dec71b5c5fb989741170ce93dc5188de4f586f0019 57714 apt-transport-https_0.7.17~exp1_i386.deb
Files: 
 3ae86b5153e967bdc104ca6af1524c45 1175 admin important apt_0.7.17~exp1.dsc
 e87805b19a461fa1b4f5168d6788357f 2059756 admin important apt_0.7.17~exp1.tar.gz
 3bcc22138c83bc10f9c0bc044f62cc70 99674 doc optional apt-doc_0.7.17~exp1_all.deb
 af08e784c366eb54c447642cbe1f98a0 123670 doc optional libapt-pkg-doc_0.7.17~exp1_all.deb
 3057a8360963fca0ad045b606c28b6ce 1648626 admin important apt_0.7.17~exp1_i386.deb
 6f285a846dafe23dfa21fa8119583f7b 108288 libdevel optional libapt-pkg-dev_0.7.17~exp1_i386.deb
 a2cc6690a2f4dd6bf4a80029663a3447 187542 admin important apt-utils_0.7.17~exp1_i386.deb
 010b7a1883c2e0d447426ea6650ef1db 57714 admin optional apt-transport-https_0.7.17~exp1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkC3n0ACgkQliSD4VZixzR/XACeOeDuIcj2brkykgvePO5I2hJu
yRcAmwfBdWb6EcU62lq3xzuUEdAtWrCv
=zrdq
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: