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

Bug#675827: apt-utils: apt-ftparchive.conf example file incorrect for apt-file friendly output



Package: apt-utils
Version: 0.9.5.1
Severity: normal
Tags: patch

The example at /usr/share/doc/apt-utils/examples/apt-ftparchive.conf 
will generate the Contents file to the root of $(DIST) tree. This is
not where 'apt-file update' expects to find it. Instead, it wants it 
at the root of $(SECTION). The attached patch fixes it accordingly.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-24-generic-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-utils depends on:
ii  libapt-inst1.5  0.9.5.1
ii  libapt-pkg4.12  0.9.5.1
ii  libc6           2.13-32
ii  libdb5.1        5.1.29-4
ii  libgcc1         1:4.7.0-11
ii  libstdc++6      4.7.0-11

apt-utils recommends no packages.

Versions of packages apt-utils suggests:
ii  xz-utils  5.1.1alpha+20110809-3

-- no debconf information
--- a/usr/share/doc/apt-utils/examples/apt-ftparchive.conf	2011-06-17 13:10:20.000000000 +0300
+++ b/usr/share/doc/apt-utils/examples/apt-ftparchive.conf	2012-06-03 17:59:35.330121443 +0300
@@ -21,21 +21,21 @@ Default {
 BinDirectory "pool/main" {
 	Packages "dists/sid/main/binary-i386/Packages";
 	Sources "dists/sid/main/source/Sources";
-	Contents "dists/sid/Contents-i386";
+	Contents "dists/sid/main/Contents-i386";
 }
 
 // This is the same for the contrib section
 BinDirectory "pool/contrib" {
 	Packages "dists/sid/contrib/binary-i386/Packages";
 	Sources "dists/sid/contrib/source/Sources";
-	Contents "dists/sid/Contents-i386";
+	Contents "dists/sid/contrib/Contents-i386";
 }
 
 // This is the same for the non-free section
 BinDirectory "pool/non-free" {
 	Packages "dists/sid/non-free/binary-i386/Packages";
 	Sources "dists/sid/non-free/source/Sources";
-	Contents "dists/sid/Contents-i386";
+	Contents "dists/sid/non-free/Contents-i386";
 };
 
 // By default all Packages should have the extension ".deb"

Reply to: