Bug 540571 - RpmUtilsError: RPM Error opening Package
Summary: RpmUtilsError: RPM Error opening Package
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:f41a19c45acb285df...
: 650361 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 17:26 UTC by joseph.m.levy
Modified: 2014-01-21 23:12 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-04 02:54:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (264.96 KB, text/plain)
2009-11-23 17:26 UTC, joseph.m.levy
no flags Details
anaconda backtrace (171.36 KB, text/plain)
2009-11-23 23:27 UTC, Carl-Anton Ingmarsson
no flags Details
Attached traceback automatically from anaconda. (281.00 KB, text/plain)
2009-11-30 14:39 UTC, Petros Athanassopoulos
no flags Details
Attached traceback automatically from anaconda. (335.60 KB, text/plain)
2009-12-01 02:15 UTC, Josh Freed
no flags Details
Attached traceback automatically from anaconda. (335.32 KB, text/plain)
2009-12-05 14:15 UTC, Josh Freed
no flags Details
Attached traceback automatically from anaconda. (170.46 KB, text/plain)
2009-12-06 01:30 UTC, Christopher Stone
no flags Details
Log file for Anaconda crash (346.67 KB, application/octet-stream)
2009-12-16 16:05 UTC, Daniel
no flags Details
Attached traceback automatically from anaconda. (231.67 KB, text/plain)
2009-12-25 22:27 UTC, vlapan
no flags Details
Attached traceback automatically from anaconda. (396.94 KB, text/plain)
2010-05-05 05:33 UTC, mohamed nasr
no flags Details
Attached traceback automatically from anaconda. (466.01 KB, text/plain)
2010-05-30 02:05 UTC, Chris Miller
no flags Details
Attached traceback automatically from anaconda. (465.24 KB, text/plain)
2010-05-30 02:42 UTC, Chris Miller
no flags Details
Attached traceback automatically from anaconda. (438.52 KB, text/plain)
2010-05-30 03:13 UTC, Chris Miller
no flags Details
Attached traceback automatically from anaconda. (438.33 KB, text/plain)
2010-05-30 04:17 UTC, Chris Miller
no flags Details

Description joseph.m.levy 2009-11-23 17:26:25 UTC
The following was filed automatically by anaconda:
anaconda 12.46 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.6/site-packages/rpmUtils/miscutils.py", line 414, in hdrFromPackage
    raise rpmUtils.RpmUtilsError, "RPM Error opening Package"
  File "/usr/lib/python2.6/site-packages/yum/packages.py", line 662, in returnHeaderFromPackage
    hdr = rpmUtils.miscutils.hdrFromPackage(ts, rpmfile)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 230, in populateTs
    hdr = txmbr.po.returnHeaderFromPackage()
  File "/usr/lib/anaconda/yuminstall.py", line 844, in run
    self.populateTs(keepold=0)
  File "/usr/lib/anaconda/yuminstall.py", line 1585, in doInstall
    rc = self.ayum.run(self.instLog, cb, anaconda.intf, anaconda.id)
  File "/usr/lib/anaconda/backend.py", line 291, in doInstall
    return anaconda.backend.doInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1195, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1216, in handleRenderCallback
    self.currentWindow.renderCallback()
RpmUtilsError: RPM Error opening Package

Comment 1 joseph.m.levy 2009-11-23 17:26:30 UTC
Created attachment 373177 [details]
Attached traceback automatically from anaconda.

Comment 2 Carl-Anton Ingmarsson 2009-11-23 23:27:26 UTC
Created attachment 373276 [details]
anaconda backtrace

I've got the same problem when trying to upgrade from fedora 11 to 12. The problem is present in both preupgrade and when using the install dvd.

Comment 3 Petros Athanassopoulos 2009-11-30 14:39:17 UTC
Created attachment 374763 [details]
Attached traceback automatically from anaconda.

Comment 4 Josh Freed 2009-12-01 02:15:57 UTC
Created attachment 374945 [details]
Attached traceback automatically from anaconda.

Comment 5 Josh Freed 2009-12-01 02:20:36 UTC
Comment on attachment 374945 [details]
Attached traceback automatically from anaconda.

I am encountering the same defect upgrading from Fedora 10->12.  The problem ios present both in pre-upgrade and from the install DVD

Comment 6 Chris Lumens 2009-12-01 14:46:16 UTC
If everyone looks at their attached tracebacks, you'll see a line like this near the top:

Local variables in innermost frame:
package: /mnt/sysimage/var/cache/yum/anaconda-InstallationRepo-200911081854.i386/packages/setup-2.8.9-1.fc12.noarch.rpm

When you hit this error, could you switch to a terminal (ctrl-alt-f2) and see if the file it's trying to read even exists?

I do see some ATA errors in the syslogs, but not in all, and the ones I do see should all be before we're trying to read packages.  Thanks.

Comment 7 Josh Freed 2009-12-05 14:15:26 UTC
Created attachment 376317 [details]
Attached traceback automatically from anaconda.

Comment 8 Josh Freed 2009-12-05 14:25:19 UTC
I went to the terminal as requested and the file DOES exist.  What should I try next as a troubleshooting step?

Comment 9 Josh Freed 2009-12-05 14:27:26 UTC
I do notice that file has a file size of 0 bytes however and there are no other files in the packages directory.  With this install attempt I used preupgrade fedora 10 - > 12

Comment 10 Christopher Stone 2009-12-06 01:30:57 UTC
Created attachment 376387 [details]
Attached traceback automatically from anaconda.

Comment 11 Christopher Stone 2009-12-06 02:22:33 UTC
(In reply to comment #6)
> If everyone looks at their attached tracebacks, you'll see a line like this
> near the top:
> 
> Local variables in innermost frame:
> package:
> /mnt/sysimage/var/cache/yum/anaconda-InstallationRepo-200911081854.i386/packages/setup-2.8.9-1.fc12.noarch.rpm
> 
> When you hit this error, could you switch to a terminal (ctrl-alt-f2) and see
> if the file it's trying to read even exists?

There are three packages present in this directory, and they all are 0 bytes in length.  The three 0 byte packages are:
fontpackages-filesystem
kacst-fonts-common
setup

Comment 12 Josh Freed 2009-12-12 13:57:22 UTC
adaconda team, any update?  Fedora 10 support will expire soon and I am unable to upgrade.

Thank you

Comment 13 Marco Coli 2009-12-14 23:56:42 UTC
I am surprised Priority is "low" for this bug. It seem to me that a bug which prevents O.S. upgrade via media or preupgrade should be something quite heavy!

Comment 14 Daniel 2009-12-16 16:03:30 UTC
I too am having exactly the same problem

Comment 15 Daniel 2009-12-16 16:05:34 UTC
Created attachment 378784 [details]
Log file for Anaconda crash

Log file showing anaconda crashing when trying an install from preupgrade, dvd, cd.
I have x86_64 pc (HP xw4600) with nvidia card.

Comment 16 vlapan 2009-12-25 22:27:24 UTC
Created attachment 380359 [details]
Attached traceback automatically from anaconda.

Comment 17 mohamed nasr 2010-05-05 05:33:18 UTC
Created attachment 411475 [details]
Attached traceback automatically from anaconda.

Comment 18 Chris Miller 2010-05-30 02:05:43 UTC
Created attachment 417959 [details]
Attached traceback automatically from anaconda.

Comment 19 Chris Miller 2010-05-30 02:42:56 UTC
Created attachment 417964 [details]
Attached traceback automatically from anaconda.

Comment 20 Chris Miller 2010-05-30 03:13:01 UTC
Created attachment 417969 [details]
Attached traceback automatically from anaconda.

Comment 21 Chris Miller 2010-05-30 04:17:24 UTC
Created attachment 417978 [details]
Attached traceback automatically from anaconda.

Comment 22 Chris Lumens 2010-10-19 19:33:12 UTC
yum guys - any clever thoughts on what could be going on here?  I'm completely out of ideas.

Comment 23 seth vidal 2010-10-19 19:48:20 UTC
we're populating the rpm transaction with rpm hdrs. When we go to do that one of the pkg hdrs cannot be read due to the ever-fun
Local variables in innermost frame:
e: error reading package header

exception from rpm.

pinging panu and friends as to what the ACTUAL error is there.

Comment 24 Panu Matilainen 2010-10-20 06:46:49 UTC
Well if the files are of size 0 (as per comments #9 and and #12), quite obviously that is the actual problem.

Comment 25 Chris Lumens 2010-10-20 15:35:32 UTC
Almost all of these are preupgrade runs.  I wonder - did anyone see any errors while downloading packages during preupgrade?  Are you out of disk space or very close to it?

Comment 26 Bug Zapper 2010-11-04 05:36:39 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 27 Chris Lumens 2010-11-07 16:04:12 UTC
*** Bug 650361 has been marked as a duplicate of this bug. ***

Comment 28 Nicolas Berrehouc 2010-11-27 12:28:42 UTC
When trying preupgrade F13_32bits to F14_32bits all works fine but after reboot and during upgrade I always have the same messages (See traceback https://bugzilla.redhat.com/attachment.cgi?id=462402 from bug 650361). No problem with download and free space partitions.
There is something strange because traceback show link with python-2.7 but there is only python-2.6 installed on my F13.
There was no problem with preupgrade from 12 to 13.

Comment 29 Bug Zapper 2010-12-04 02:54:43 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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