Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 197167 - system-install-packages crash on File Not Found
system-install-packages crash on File Not Found
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2006-06-28 20:16 EDT by Warren Togami
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:
Last Closed: 2006-06-28 21:12:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Warren Togami 2006-06-28 20:16:47 EDT
Web browser deleted package before system-install-packages had a chance to
install it.  This error should be handled more gracefully than a traceback.

Component: Software Installer
Summary: TBfea3ebb1 miscutils.py:61:checkSig:OSError: [Errno 2] No such file or
directory: '/tmp/mugshot-1.1.6-1.i386.rpm'

Traceback (most recent call last):
  File "/usr/sbin/system-install-packages", line 206, in _apply
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 609, in
    self.checkSignatures(dlpkgs, mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 490, in
    result, errmsg = self.sigCheckPkg(po)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 791, in sigCheckPkg
    sigresult = rpmUtils.miscutils.checkSig(self.read_ts, po.localPkg())
  File "/usr/lib/python2.4/site-packages/rpmUtils/miscutils.py", line 61, in
    fdno = os.open(package, os.O_RDONLY)
OSError: [Errno 2] No such file or directory: '/tmp/mugshot-1.1.6-1.i386.rpm'

Local variables in innermost frame:
currentflags: 986880
ts: <rpmUtils.transaction.TransactionWrapper instance at 0xb7989dec>
value: 0
package: /tmp/mugshot-1.1.6-1.i386.rpm
Comment 1 Jeremy Katz 2006-06-28 21:12:45 EDT
Agreed -- error should be caught in pirut-1.1.5

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