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

Bug#195805: marked as done (python-apt: silently looses some dependencies)



Your message dated Tue, 3 Jun 2003 13:02:17 -0400
with message-id <20030603170217.GM5486@alcor.net>
and subject line Fixed in 0.5.5.1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jun 2003 13:25:30 +0000
>From voss@mathematik.uni-kl.de Mon Jun 02 08:25:29 2003
Return-path: <voss@mathematik.uni-kl.de>
Received: from mail.uni-kl.de (uni-kl.de) [131.246.137.52] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19MpJZ-0008DG-00; Mon, 02 Jun 2003 08:25:29 -0500
Received: from mathematik.uni-kl.de (helios.mathematik.uni-kl.de [131.246.164.27])
	by uni-kl.de (8.12.8/8.12.8) with ESMTP id h52DPSGG012574;
	Mon, 2 Jun 2003 15:25:28 +0200 (MET DST)
Received: from mathematik.uni-kl.de
           ( neutron.mathematik.uni-kl.de [131.246.164.16] )
          by helios.mathematik.uni-kl.de with ESMTP id aa15854 ;
          2 Jun 2003 15:25 +0200
Received: from automatix.mathematik.uni-kl.de
           ( mail@automatix.mathematik.uni-kl.de [131.246.163.119] )
          by neutron.mathematik.uni-kl.de with ESMTP id aa22048 ;
          2 Jun 2003 13:22 +0000
Received: from voss by automatix.mathematik.uni-kl.de with local (Exim 3.36 #1 (Debian))
	id 19MpJW-0002VM-00; Mon, 02 Jun 2003 15:25:26 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jochen Voss <voss@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-apt: silently looses some dependencies
X-Mailer: reportbug 2.10.1
Date: Mon, 02 Jun 2003 15:25:26 +0200
Message-Id: <[🔎] E19MpJW-0002VM-00@automatix.mathematik.uni-kl.de>
Sender: Jochen Voss <voss@mathematik.uni-kl.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
	tests=BAYES_01,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)

Package: python-apt
Version: 0.5.5
Severity: normal

Hallo,

recently I found out that the python-apt package sometimes
does not give all dependencies of a package.

Example: when I run the script

    #!/usr/bin/python

    import apt_pkg

    apt_pkg.init()
    cache = apt_pkg.GetCache()

    package=cache["flac"]
    print package

    current=package.VersionList[0]
    print current

    dl=current.DependsList
    print dl

    depends=current.DependsList["Depends"]
    print depends

I get the following output:

    Reading Package Lists... Done
    Building Dependency Tree... Done
    <pkgCache::Package object: Name:'flac' Section: 'sound' ID:35 Flags:0x0>
    <pkgCache::Version object: Pkg:'flac' Ver:'1.1.0-3' Section:'sound' Arch:'i386' Size:477840 ISize:4186112 Hash:32099 ID:450 Priority:4>
    {'Depends': [[<pkgCache::Dependency object: Pkg:'libc6' Ver:'2.3.1-1' Comp:'>='>], [<pkgCache::Dependency object: Pkg:'libogg0' Ver:'1.0.0' Comp:'>='>]]}
    [[<pkgCache::Dependency object: Pkg:'libc6' Ver:'2.3.1-1' Comp:'>='>], [<pkgCache::Dependency object: Pkg:'libogg0' Ver:'1.0.0' Comp:'>='>]]

This looks fine at the first glance.  But then compare this
to the output of apt-cache:

    automatix:/eimer# apt-cache show flac
    Package: flac
    Priority: optional
    Section: sound
    Installed-Size: 4088
    Maintainer: Matt Zimmerman <mdz@debian.org>
    Architecture: i386
    Version: 1.1.0-3
    Depends: libc6 (>= 2.3.1-1), libflac4, libogg0 (>= 1.0.0), liboggflac1
    Filename: pool/main/f/flac/flac_1.1.0-3_i386.deb
    Size: 477840
    MD5sum: ea7b41b99b40fe0a722f44432ec9dc49
    Description: Free Lossless Audio Codec - command line tools
     [...]

The "libflac4" and "liboggflac1" dependencies are missing from
the output of the Python program.

I hope this helps,
Jochen
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux automatix.mathematik.uni-kl.de 2.4.20 #1 Mon Mar 31 11:20:37 CEST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.3-5-3.3 0.5.5.1    Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.5.5.1    APT utility programs
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an
ii  python                        2.2.3-1    An interactive high-level object-o

-- no debconf information


---------------------------------------
Received: (at 195805-done) by bugs.debian.org; 3 Jun 2003 17:02:24 +0000
>From mdz@csh.rit.edu Tue Jun 03 12:02:23 2003
Return-path: <mdz@csh.rit.edu>
Received: from smtp01.mrf.mail.rcn.net [207.172.4.60] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19NFB1-0003sN-00; Tue, 03 Jun 2003 12:02:23 -0500
Received: from 216-15-124-77.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.124.77] helo=mizar.alcor.net)
	by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 19NFB0-0001Uj-00; Tue, 03 Jun 2003 13:02:22 -0400
Received: from mdz by mizar.alcor.net with local (Exim 3.36 #1 (Debian))
	id 19NFAv-00022G-00; Tue, 03 Jun 2003 13:02:17 -0400
Date: Tue, 3 Jun 2003 13:02:17 -0400
From: Matt Zimmerman <mdz@debian.org>
To: 149380-done@bugs.debian.org, 195805-done@bugs.debian.org
Subject: Fixed in 0.5.5.1
Message-ID: <20030603170217.GM5486@alcor.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: Matt Zimmerman <mdz@alcor.net>
Delivered-To: 195805-done@bugs.debian.org
X-Spam-Status: No, hits=-7.3 required=4.0
	tests=BAYES_20,USER_AGENT_MUTT
	version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)

Both these bugs were fixed in 0.5.5.1 as documented in the changelog and the
BTS, but accidentally tagged fixed rather than closed.

-- 
 - mdz



Reply to: