Bug 919885 - [abrt] yum-utils-1.1.31-10.fc18: misc.py:1165:decompress:OSError: [Errno 2] No such file or directory: '/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite'
Summary: [abrt] yum-utils-1.1.31-10.fc18: misc.py:1165:decompress:OSError: [Errno 2] N...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f85ab59f7ef609411e7dc330556...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-10 16:53 UTC by Nandish Bhatt
Modified: 2023-09-14 01:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 19:50:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.08 KB, text/plain)
2013-03-10 16:53 UTC, Nandish Bhatt
no flags Details
File: core_backtrace (1.06 KB, text/plain)
2013-03-10 16:53 UTC, Nandish Bhatt
no flags Details
File: environ (1.06 KB, text/plain)
2013-03-10 16:53 UTC, Nandish Bhatt
no flags Details

Description Nandish Bhatt 2013-03-10 16:53:36 UTC
Version-Release number of selected component:
yum-utils-1.1.31-10.fc18

Additional info:
cmdline:        /usr/bin/python -tt /bin/yum-debug-dump
dso_list:       yum-3.4.3-51.fc18.noarch
executable:     /bin/yum-debug-dump
kernel:         3.8.1-201.fc18.x86_64
uid:            1000

Truncated backtrace:
misc.py:1165:decompress:OSError: [Errno 2] No such file or directory: '/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite'

Traceback (most recent call last):
  File "/bin/yum-debug-dump", line 210, in <module>
    main()
  File "/bin/yum-debug-dump", line 206, in main
    fn = my.create_debug_file(fn=filename)
  File "/bin/yum-debug-dump", line 182, in create_debug_file
    fo.write(self.dump_repos())
  File "/bin/yum-debug-dump", line 80, in dump_repos
    for po in sorted(self.pkgSack.returnPackages(repo.id)):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 352, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 230, in populate
    db_un_fn = self._check_uncompressed_db_gen(repo, mydbtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 281, in _check_uncompressed_db_gen
    cached=repo.cache)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1177, in repo_gen_decompress
    return decompress(filename, dest=dest, check_timestamps=True,fn_only=cached)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1165, in decompress
    os.utime(out, (fi.st_mtime, fi.st_mtime))
OSError: [Errno 2] No such file or directory: '/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite'

Local variables in innermost frame:
check_timestamps: True
dest: '/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite'
filename: '/var/tmp/yum-nandish-k8HmTB/updates/b23b5ce94b41e43ad2f920363518bd8480b333edc2b3eccb54178cc052cd5da7-primary.sqlite.bz2'
fo: None
fi: posix.stat_result(st_mode=33204, st_ino=4195209, st_dev=2055L, st_nlink=1, st_uid=1000, st_gid=1000, st_size=8123078, st_atime=1362934063, st_mtime=1362868121, st_ctime=1362934058)
out: '/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite'
fn_only: 0
ztype: 'bz2'

Comment 1 Nandish Bhatt 2013-03-10 16:53:41 UTC
Created attachment 707997 [details]
File: backtrace

Comment 2 Nandish Bhatt 2013-03-10 16:53:43 UTC
Created attachment 707998 [details]
File: core_backtrace

Comment 3 Nandish Bhatt 2013-03-10 16:53:46 UTC
Created attachment 707999 [details]
File: environ

Comment 4 Zdeněk Pavlas 2013-03-13 09:34:03 UTC
'/var/tmp/yum-nandish-k8HmTB/updates/gen/primary_db.sqlite' must have been decompressed just before we tried to os.utime() it.  Didn't you run "yum clean" at the same time?

yum-debug-dump dumps rpmdb AND available packages in all enabled repositories, so it should probably acquire the Yum lock.

Comment 5 Fedora End Of Life 2013-12-21 12:02:33 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

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 prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 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 to Fedora 18's end of life.

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 6 Fedora End Of Life 2014-02-05 19:50:04 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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.

Comment 7 Red Hat Bugzilla 2023-09-14 01:42:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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