Bug 82175 - RPM2->open_package does not work
Summary: RPM2->open_package does not work
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl-RPM2   
(Show other bugs)
Version: 8.0
Hardware: All Linux
medium
high
Target Milestone: ---
Assignee: Chip Turner
QA Contact:
URL:
Whiteboard:
Keywords:
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:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-18 22:44:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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.