Bug 17350

Summary: PackageKit Error
Product: PackageKit Reporter: Don Gaxiola Jr. <d-gaxiola>
Component: backend-yumAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch in git

Description Don Gaxiola Jr. 2008-08-28 23:16:18 UTC
Error Type: <type 'exceptions.OSError'>
Error Value: [Errno 2] No such file or directory: '/tmp/AdobeReader_enu-8.1.2_SU1-1.i486.rpm'
  File : /usr/share/PackageKit/helpers/yum/install-files.py , line 20, in <module>
    backend.install_files(trusted, files_to_inst)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1015, in install_files
    self._runYumTransaction()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1139, in _runYumTransaction
    rpmDisplay=rpmDisplay)
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 2845, in processTransaction
    self._doTestTransaction(callback,display=rpmTestDisplay)
  File : /usr/lib/python2.5/site-packages/yum/__init__.py , line 2927, in _doTestTransaction
    tserrors = self.ts.test( testcb, conf=tsConf )
  File : /usr/lib/python2.5/site-packages/rpmUtils/transaction.py , line 100, in test
    tserrors = self.ts.run(cb.callback, '')
  File : /usr/lib/python2.5/site-packages/yum/rpmtrans.py , line 313, in callback
    return self._instOpenFile( bytes, total, h )
  File : /usr/lib/python2.5/site-packages/yum/rpmtrans.py , line 355, in _instOpenFile
    fd = os.open(rpmloc, os.O_RDONLY)
Comment 1 Richard Hughes 2008-08-29 01:46:21 UTC
Created attachment 18567 [details] [review]
patch in git

I've added this patch to git master to check for missing files explicitly.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.