Package: apt-file
Version: 2.0.8
Severity: normal
Tags: patch

Apt-file does not honor the --architecture option, both while updating
and querying the database.

Here's a patch for the problem.

*** /root/apt-file-arch-option.patch
--- apt-file    2006-04-23 11:21:03.000000000 +0200
+++ apt-file.mod        2006-04-23 11:29:49.000000000 +0200
@@ -325,7 +325,7 @@
     my %options = (
                   "sources-list|s=s" => \$Conf->{sources_list},
                   "cache|c=s" => \$Conf->{cache},
-                  "architecture|a=s" => \$Conf->{architecture},
+                  "architecture|a=s" => \$Conf->{arch},
                   "cdrom-mount|d=s" => \$Conf->{cdrom_mount},
                   "verbose|v" => \$Conf->{verbose},
                   "ignore-case|i" => \$Conf->{ignore_case},


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages apt-file depends on:
ii  gzip                          1.3.5-13   The GNU compression utility
ii  libapt-pkg-perl               0.1.18     Perl interface to libapt-pkg
ii  libconfigfile-perl            1.2.1      Parses simple configuration files
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 
ii  wget                          1.10.2-1   retrieves files from the web

apt-file recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to