Bug 197167 - system-install-packages crash on File Not Found
system-install-packages crash on File Not Found
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2006-06-28 21:12:45 EDT
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 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
    self.applyChanges(self.mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 609, in
applyChanges
    self.checkSignatures(dlpkgs, mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 490, in
checkSignatures
    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
checkSig
    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.