Your message dated Tue, 18 Jun 2013 15:33:30 +0000
with message-id <[email protected]>
and subject line Bug#712613: fixed in libapt-pkg-perl 0.1.29
has caused the Debian Bug report #712613,
regarding libapt-pkg-perl: Size,InstalledSize fields missing
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
712613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapt-pkg-perl
Version: 0.1.28
Severity: normal
File: /usr/lib/perl5/AptPkg/Cache.pm

Program foo.pl below prints

    Size=undef

where I hoped it would be the size of the apt .deb.

The Size and InstalledSize fields from a package "Version" object seem
to have been lost in this change,

    
http://anonscm.debian.org/gitweb/?p=users/bod/libapt-pkg-perl.git;a=commitdiff;h=03ae8d187f3081ebfbd05a2412d187a09d349d15

Was that intentional?  Size and InstalledSize are still in the
AptPkg::Cache pod.

use 5.010;
use strict;
use warnings;
use AptPkg::Cache;

my $name = 'apt';

my $cache = AptPkg::Cache->new;
my $pkgrecords = $cache->packages;
my $p = $cache->{$name} || die "don't know anything about package: $name\n";
my $verlist = $p->{VersionList} || die "no versions of: $name";
my $ver = $verlist->[0];
my $size = $ver->{Size};
print "Size=",$size//'undef',"\n";
print "\nKeys:\n",join("\n",keys %$ver),"\n";
--- Cache.pm	2013-06-18 07:16:02.000000000 +1000
+++ Cache.pm.orig	2013-05-11 00:41:52.000000000 +1000
@@ -139,7 +139,7 @@
 our @KEYS = qw(
     VerStr Section Arch MultiArch ParentPkg DescriptionList
     TranslatedDescription DependsList ProvidesList FileList Index
-    Priority Size InstalledSize
+    Priority
 );
 
 sub ParentPkg


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libapt-pkg-perl depends on:
ii  libapt-pkg4.12              0.9.7.9
ii  libc6                       2.13-10
ii  libgcc1                     1:4.6.1-3
ii  libstdc++6                  4.6.1-3
ii  perl-base [perlapi-5.14.2]  5.14.2-21

libapt-pkg-perl recommends no packages.

libapt-pkg-perl suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libapt-pkg-perl
Source-Version: 0.1.29

We believe that the bug you reported is fixed in the latest version of
libapt-pkg-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brendan O'Dea <[email protected]> (supplier of updated libapt-pkg-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 19 Jun 2013 00:31:45 +1000
Source: libapt-pkg-perl
Binary: libapt-pkg-perl
Architecture: source i386
Version: 0.1.29
Distribution: unstable
Urgency: low
Maintainer: Brendan O'Dea <[email protected]>
Changed-By: Brendan O'Dea <[email protected]>
Description: 
 libapt-pkg-perl - Perl interface to libapt-pkg
Closes: 712613
Changes: 
 libapt-pkg-perl (0.1.29) unstable; urgency=low
 .
   * Update release years in debian/copyright.
   * Update Copyright to GPLv3.
   * Re-instate accidentally dropped Size and InstalledSize fields, and
     update test to ensure they exist.  Thanks to Kevin Ryde for reporting
     the issue and for spelunking the git repository to find the problem
     change (closes: #712613).
Checksums-Sha1: 
 57ebb85eb24b456543e427c8c4384fc44729f3d3 1623 libapt-pkg-perl_0.1.29.dsc
 31f84d35c21615274b9ab786d4b4cf6146439b90 47210 libapt-pkg-perl_0.1.29.tar.gz
 3fb730cb464e29a4d10dc267f0d439fd042dffd2 88762 libapt-pkg-perl_0.1.29_i386.deb
Checksums-Sha256: 
 89974157414a468f7a7c19a7fd289283fab10a893277613fa589a794730d89be 1623 
libapt-pkg-perl_0.1.29.dsc
 8df4412bf6231da03884027694c2ae1d91cf4b8536567fbcf66895bbdb498afb 47210 
libapt-pkg-perl_0.1.29.tar.gz
 8404982cad1bea8b13aa4164d6ffed07e43ea5bf5bfc5061f02b00f792a8b4ed 88762 
libapt-pkg-perl_0.1.29_i386.deb
Files: 
 4b97ee7a46b97cce0c3291eee70674b7 1623 perl optional libapt-pkg-perl_0.1.29.dsc
 8994d41766230ccb7272375bc804a321 47210 perl optional 
libapt-pkg-perl_0.1.29.tar.gz
 33f3b952268fa420286f69b4a609477c 88762 perl optional 
libapt-pkg-perl_0.1.29_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRwHXyAAoJEBx8Qe3r3btgtrMP/jg8tmtEv7zrmhD9wd4jX36g
JhuCWeoogxlv0WKgeRqtFmvIvNzXybeGv/pc180U6ED/o2F68GUJQi9un4wGNFmM
zWWrhwyjZW2PvmRN4DnseRZnQ3bl7C9iBfmOO7exkzBBOViMQgGa9pxHzHRhHqWO
lWumediIzdLILvLA39k5HCIXLptWOdREG3sbaX5co4QwOBCkI0wapipcTjSe/vua
VeZjiGN1KxI69N0FV/XXaXBdR2O9KiSBTmPIBWOzDg1XYAzKloM9L7OADJ6ffIzu
MWtQ6bfhkit4xFuny7sOmeyITJMDeR23W7UHQAOJTYoyfrr33KlE7EJHXaOgs+Tu
SEbwP9K7slppx8SNAqaHktAVLFg1wTQOyRf8b2fIEpBbFuA1OvZiCGldcr+PKRp+
U+EANCdBFVWWv7Lm4n4uVoP5sRpygcZbzhxSUpP+y7HueNR3g91kuM9fo4k97Oy5
saz1tWMn3krekCEyJUJ8jusdZE60MkJ4AtnRirg6ZLrJ7ItI1LjRCikpnIQ9EChP
TxNl+2jugO6fhd1Aqk1R1vrBqOYIjhoGzxRbsDbwlEci88hfieO9SLPv6zNKFBEX
fGzT8xw1qjNjOMQnhGqDVJ62kLNe8F1qAuvEPi2lFU/GNGhbfkv1vfAtIenlGFN7
j8DkFA1qxZXZnTwC54s5
=j/8y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to