Bug 713345 - pkgtag DB decompression tracebacks, when caching is on
Summary: pkgtag DB decompression tracebacks, when caching is on
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 15
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6274a34c06f575458039d986a2c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-15 03:20 UTC by Eduardo Villagrán Morales
Modified: 2014-01-21 23:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 17:57:55 UTC
Type: ---


Attachments (Terms of Use)

Description Eduardo Villagrán Morales 2011-06-15 03:20:08 UTC
abrt version: 2.0.1
architecture:   i686
cmdline:        
component:      yum
executable:     /usr/bin/yum
kernel:         2.6.38.7-30.fc15.i686
os_release:     Fedora release 15 (Lovelock)
package:        yum-3.2.29-6.fc15
reason:         pkgtag_db.py:54:__init__:OperationalError: unable to open database file
time:           Tue Jun 14 23:16:22 2011
uid:            500
username:       eduardo

backtrace:
:pkgtag_db.py:54:__init__:OperationalError: unable to open database file
:
:Traceback (most recent call last):
:  File "/usr/bin/yum", line 29, in <module>
:    yummain.user_main(sys.argv[1:], exit_code=True)
:  File "/usr/share/yum-cli/yummain.py", line 267, in user_main
:    errcode = main(args)
:  File "/usr/share/yum-cli/yummain.py", line 120, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/share/yum-cli/cli.py", line 432, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/share/yum-cli/yumcommands.py", line 684, in doCommand
:    return base.search(extcmds)
:  File "/usr/share/yum-cli/cli.py", line 994, in search
:    for (po, keys, matched_value) in matching:
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2482, in searchGenerator
:    tmpres = self.searchPackageTags(real_crit_lower)
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2550, in searchPackageTags
:    res = self.pkgtags.search_tags(c)
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 891, in <lambda>
:    pkgtags = property(fget=lambda self: self._getTags(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 836, in _getTags
:    self._tags.add(repo.id, tag_sqlite)
:  File "/usr/lib/python2.7/site-packages/yum/pkgtag_db.py", line 110, in add
:    dbobj = PackageTagDB(repoid, sqlite_file)
:  File "/usr/lib/python2.7/site-packages/yum/pkgtag_db.py", line 54, in __init__
:    self._conn = sqlite.connect(sqlite_file)
:OperationalError: unable to open database file
:
:Local variables in innermost frame:
:self: <yum.pkgtag_db.PackageTagDB object at 0xac2470c>
:repoid: 'updates'
:sqlite_file: '/var/cache/yum/i386/15/updates/gen/pkgtags.sqlite'

comment:
:1. Search a package using --cacheonly option
:2. Crash

Comment 1 James Antill 2011-06-15 14:09:55 UTC
 To reproduce:

% sudo rm -f /var/cache/yum/x86_64/15/updates/gen/pkgtags.sqlite
% yum -C search yum
[... snip above traceback ...]


 For another error, or two:

% sudo rm -f /var/cache/yum/x86_64/15/updates/gen/pkgtags.sqlite
% sudo yum -C search yum
Loaded plugins: PT, aliases, auto-update-debuginfo, keys, noop, ps, security,
              : tmprepo, updater, verify, versionlock
Error: no such table: packagetags
[1]    8971 exit 1     sudo yum -C search yum
% l /var/cache/yum/x86_64/15/updates/gen/pkgtags.sqlite
0 /var/cache/yum/x86_64/15/updates/gen/pkgtags.sqlite

Comment 2 Fedora Admin XMLRPC Client 2012-04-27 15:39:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2012-08-07 17:57:59 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached 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 to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

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.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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