Bug 1117271 - [abrt] pungi: genericpath.py:54:getmtime:OSError: [Errno 2] No such file or directory: 'dest/work/x86_64/yumroot/var/lib/rpm/Packages'
Summary: [abrt] pungi: genericpath.py:54:getmtime:OSError: [Errno 2] No such file or d...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6371b2c3f1ccf097b4fcc1b451a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-08 12:26 UTC by Miloslav Trmač
Modified: 2015-02-18 11:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:46:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.39 KB, text/plain)
2014-07-08 12:26 UTC, Miloslav Trmač
no flags Details
File: dso_list (57 bytes, text/plain)
2014-07-08 12:26 UTC, Miloslav Trmač
no flags Details
File: environ (2.23 KB, text/plain)
2014-07-08 12:26 UTC, Miloslav Trmač
no flags Details

Description Miloslav Trmač 2014-07-08 12:26:08 UTC
Description of problem:
AFAICT --destdir with a non-absolute path causes this.

Version-Release number of selected component:
pungi-2.13-2.fc19

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python -tt /bin/pungi --destdir=dest -c spin-kickstarts/fedora-install-server.ks
executable:     /bin/pungi
kernel:         3.14.8-100.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
genericpath.py:54:getmtime:OSError: [Errno 2] No such file or directory: 'dest/work/x86_64/yumroot/var/lib/rpm/Packages'

Traceback (most recent call last):
  File "/bin/pungi", line 256, in <module>
    main()
  File "/bin/pungi", line 98, in main
    mypungi.getPackageObjects()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 504, in getPackageObjects
    self.ayum.tsInfo.addInstall(match)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 465, in addInstall
    if self.rpmdb.contains(po=txmbr.po):
  File "/usr/lib/python2.7/site-packages/yum/packageSack.py", line 127, in contains
    return bool(self.searchNevra(name=name, arch=arch, epoch=epoch, ver=ver, rel=rel))
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1286, in searchNevra
    return self._search(name, epoch, ver, rel, arch)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1348, in _search
    po = self._makePackageObject(hdr, idx)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1374, in _makePackageObject
    self._cached_rpmdb_mtime = os.path.getmtime(rpmdbfname)
  File "/usr/lib64/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'dest/work/x86_64/yumroot/var/lib/rpm/Packages'

Local variables in innermost frame:
filename: 'dest/work/x86_64/yumroot/var/lib/rpm/Packages'

Comment 1 Miloslav Trmač 2014-07-08 12:26:11 UTC
Created attachment 916347 [details]
File: backtrace

Comment 2 Miloslav Trmač 2014-07-08 12:26:12 UTC
Created attachment 916348 [details]
File: dso_list

Comment 3 Miloslav Trmač 2014-07-08 12:26:13 UTC
Created attachment 916349 [details]
File: environ

Comment 4 Fedora End Of Life 2015-01-09 21:26:34 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 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, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 5 Fedora End Of Life 2015-02-18 11:46:12 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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.