Package: libapt-pkg-perl
Version: 0.1.21+b4
Severity: minor
Tags: patch

According to the documentation, AptPkg::Cache::Version->{DependsList}
provides the reverse dependencies. This seems to be incorrect.

Proposed patch attached, hope I haven't misunderstood something.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapt-pkg-perl depends on:
ii  apt [libapt-pkg-libc6.7 0.7.10           Advanced front-end for dpkg
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080112-1 GCC support library
ii  libstdc++6              4.3-20080112-1   The GNU Standard C++ Library v3
ii  perl-base [perlapi-5.8. 5.8.8-12         The Pathologically Eclectic Rubbis

libapt-pkg-perl recommends no packages.

-- no debconf information
diff --git a/AptPkg/Cache.pm b/AptPkg/Cache.pm
index 2beef0f..eb21b13 100644
--- a/AptPkg/Cache.pm
+++ b/AptPkg/Cache.pm
@@ -369,7 +369,7 @@ version.
 =item DependsList
 
 A reference to an array of AptPkg::Cache::Depends objects describing
-packages which depend upon the current package.
+packages which the current package depends upon.
 
 =item ProvidesList
 

Reply via email to