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

Bug#513236: please add access to all package versions via apt.package.Package



Package: python-apt
Version: 0.7.8
Severity: wishlist

As far as I can deduce from the documentation of the high-level apt
interface [1], there is no way to access all available versions of the
current package: you are restricted to installed and candidate
versions only.

Yes, I can access all of them using the low-level apt_pkg API, but it
is way more cumbersome. I believe it'd make sense to have an iterator
over all available versions of the current package, in the high-level
API.

Sorry in advance if I missed the actual way to do that without leaving
the high-level interface.

Cheers.

[1] http://apt.alioth.debian.org/python-apt-doc/apt/package.html
    by the way: thanks for that!

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7-6-4.6 0.7.20.1   Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.20.1   APT utility programs
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.3-1  GCC support library
ii  libstdc++6                    4.3.3-1    The GNU Standard C++ Library v3
ii  lsb-release                   3.2-20     Linux Standard Base version report
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

python-apt recommends no packages.

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)

-- no debconf information



Reply to: