Bug 82175 - RPM2->open_package does not work
RPM2->open_package does not work
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: perl-RPM2 (Show other bugs)
8.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Chip Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-18 17:34 EST by Jos Vos
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-18 17:44:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2003-01-18 17:34:47 EST
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 17:44:42 EST
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.