Bug 197167 - system-install-packages crash on File Not Found
Summary: system-install-packages crash on File Not Found
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-29 00:16 UTC by Warren Togami
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: 2006-06-29 01:12:45 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 Warren Togami 2006-06-29 00:16:47 UTC
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-29 01:12:45 UTC
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.