Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 82175 - RPM2->open_package does not work
Summary: RPM2->open_package does not work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl-RPM2
Version: 8.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Chip Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-01-18 22:34 UTC by Jos Vos
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-18 22:44:42 UTC


Attachments (Terms of Use)

Description Jos Vos 2003-01-18 22:34:47 UTC
Description of problem:
RPM2->open_package does not work correctly (see below).

Version-Release number of selected component (if applicable):
0.45-1

Sample program:

  #!/usr/bin/perl
  use RPM2;
  my $pkg = RPM2->open_package($ARGV[0]);
  print "Name = ", $pkg->name, "\n";

This does for valid parameters result in:

error reading package at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RPM2.pm line 63.

Manual upgrading to version 0.48 solves the problem.

Comment 1 Chip Turner 2003-01-18 22:44:42 UTC
there's a bug in 0.45 regarding header signature verification that has been
fixed in 0.48 (as you found).  an errata is unlikely at this point, however;
0.48-3 in Rawhide should also work.


Note You need to log in before you can comment on or make changes to this bug.