Bug 1138902 - [abrt] dnf: sqlutils.py:167:executeSQLQmark:OperationalError: database is locked
Summary: [abrt] dnf: sqlutils.py:167:executeSQLQmark:OperationalError: database is locked
Keywords:
Status: CLOSED DUPLICATE of bug 1089810
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e549aad60aae3d9ae41f0fefa9c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-06 06:33 UTC by Igor Gnatenko
Modified: 2014-09-08 04:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-08 04:45:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.75 KB, text/plain)
2014-09-06 06:33 UTC, Igor Gnatenko
no flags Details
File: environ (2.88 KB, text/plain)
2014-09-06 06:33 UTC, Igor Gnatenko
no flags Details

Description Igor Gnatenko 2014-09-06 06:33:11 UTC
Description of problem:
tried use dnf after `dnf history undo last`

Version-Release number of selected component:
dnf-0.6.0-1.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -OO /bin/dnf erase ORBit2-2.14.19-13.fc21.x86_64 avahi-ui-tools-0.6.31-29.fc21.x86_64 farstream-python-0.1.2-9.fc21.x86_64 fltk-1.3.2-7.fc21.x86_64 gajim-0.16-0.3.rc2.fc21.noarch gamin-0.1.10-17.fc21.x86_64 gnome-python2-2.28.1-15.fc21.x86_64 gnome-python2-bonobo-2.28.1-15.fc21.x86_64 gnome-python2-canvas-2.28.1-15.fc21.x86_64 gnome-python2-desktop-2.32.0-18.fc21.x86_64 gnome-python2-gnome-2.28.1-15.fc21.x86_64 gnome-python2-gnomevfs-2.28.1-15.fc21.x86_64 gnome-vfs2-2.24.4-16.fc21.x86_64 gstreamer-python-0.10.22-7.fc21.x86_64 gtkspell-2.0.16-9.fc21.x86_64 gupnp-igd-python-0.2.3-4.fc21.x86_64 libIDL-0.8.14-9.fc21.x86_64 libXScrnSaver-1.2.2-8.fc21.x86_64 libart_lgpl-2.3.21-12.fc21.x86_64 libbonobo-2.32.1-8.fc21.x86_64 libbonoboui-2.24.5-8.fc21.x86_64 libgnome-2.32.1-9.fc21.x86_64 libgnomecanvas-2.30.3-9.fc21.x86_64 libgnomeui-2.24.5-10.fc21.x86_64 notify-python-0.1.1-27.fc21.x86_64 pyorbit-2.24.0-16.fc21.x86_64 python-gnupg-0.3.6-4.fc21.noarch python-kerberos-1.1-16.fc21.x86_64 python-libasyncns-0.7.1-11.fc21.x86_64 python-nbxmpp-0.5-1.fc21.noarch python-pyasn1-0.1.7-4.fc21.noarch tigervnc-1.3.1-10.fc21.x86_64 tigervnc-icons-1.3.1-10.fc21.noarch tigervnc-license-1.3.1-10.fc21.noarch
executable:     /bin/dnf
kernel:         3.16.1-301.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
sqlutils.py:167:executeSQLQmark:OperationalError: database is locked

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 141, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 160, in resolving
    base.do_transaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 244, in do_transaction
    super(BaseCli, self).do_transaction(display)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 554, in do_transaction
    self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/dnf/lock.py", line 93, in wrapped
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 588, in runTransaction
    [], [], cmdline)
  File "/usr/lib/python2.7/site-packages/dnf/yum/history.py", line 1017, in beg
    self._trans_cmdline(cmdline)
  File "/usr/lib/python2.7/site-packages/dnf/yum/history.py", line 979, in _trans_cmdline
    if cur is None or not self._update_db_file_2():
  File "/usr/lib/python2.7/site-packages/dnf/yum/history.py", line 1638, in _update_db_file_2
    executeSQL(cur, "PRAGMA table_info(trans_skip_pkgs)")
  File "/usr/lib/python2.7/site-packages/dnf/yum/sqlutils.py", line 167, in executeSQLQmark
    return cursor.execute(query)
OperationalError: database is locked

Local variables in innermost frame:
cursor: <sqlite3.Cursor object at 0x7fa1f396d500>
query: u'PRAGMA table_info(trans_skip_pkgs)'
params: None

Potential duplicate: bug 1102899

Comment 1 Igor Gnatenko 2014-09-06 06:33:15 UTC
Created attachment 934948 [details]
File: backtrace

Comment 2 Igor Gnatenko 2014-09-06 06:33:16 UTC
Created attachment 934949 [details]
File: environ

Comment 3 Ales Kozumplik 2014-09-08 04:45:20 UTC

*** This bug has been marked as a duplicate of bug 1089810 ***


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