Bug 814606

Summary: OperationalError: database is locked
Product: [Fedora] Fedora Reporter: Aaron Sowry <aaron>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, g.kaviyarasu, jonathan, joshua, tflink, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:769f8f7a7047100c5ad5a31c87d0a03484f0672b9df71f3221b479a789bad75c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-04 23:02:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb-EnXHxU
none
anconda traceback and dump
none
/tmp/anaconda.log
none
yum.log none

Description Aaron Sowry 2012-04-20 08:42:41 UTC
libreport version: 2.0.10
cmdline:        /usr/bin/python  /usr/sbin/anaconda
executable:     /usr/sbin/anaconda
exnFileName:    /tmp/anaconda-tb-EnXHxU
hashmarkername: anaconda
kernel:         3.3.0-1.fc17.x86_64
other involved packages: 
product:        Fedora
release:        Cannot get release name.
time:           Fri 20 Apr 2012 12:41:18 PM CEST
version:        17-Beta

anaconda-tb-EnXHxU: Binary file, 1296808 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 17.20 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
:    return cursor.execute(query)
:  File "/usr/lib/python2.7/site-packages/yum/history.py", line 1214, in old
:    executeSQL(cur, sql, params)
:  File "/usr/lib/python2.7/site-packages/yum/history.py", line 1265, in last
:    ret = self.old([], 1, complete_transactions_only)
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1580, in runTransaction
:    lastdbv = self.history.last()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1030, in _run
:    self.runTransaction(cb=cb)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1013, in run
:    if self._run(instLog, cb, intf) == DISPATCH_BACK:
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1632, in doInstall
:    rc = self.ayum.run(self.instLog, cb, anaconda.intf)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/backend.py", line 205, in doInstall
:    return anaconda.backend.doInstall(anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
:    self.anaconda.dispatch.go_forward()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback
:    self.intf.icw.nextClicked()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1221, in handleRenderCallback
:    self.currentWindow.renderCallback()
:OperationalError: database is locked

environ:
:LANG=en_US.UTF-8
:LC_NUMERIC=C
:TERM=linux
:BOOT_IMAGE=vmlinuz
:XAUTHORITY=/root/.Xauthority
:GLADEPATH=/tmp/updates/:/tmp/updates/data/ui/:ui/:/usr/share/anaconda/ui/:/usr/share/python-meh/
:SHLVL=0
:PYTHONPATH=/tmp/updates
:PWD=/
:GNOME_DISABLE_CRASH_DIALOG=1
:LIBUSER_CONF=/tmp/libuser.ZW1rWH
:LVM_SUPPRESS_FD_WARNINGS=1
:initrd=initrd.img
:MALLOC_PERTURB_=204
:TZ=Europe/Stockholm
:GCONF_GLOBAL_LOCKS=1
:HOME=/tmp
:PIXMAPPATH=/tmp/updates/pixmaps/:/tmp/updates/:/tmp/product/pixmaps/:/tmp/product/:pixmaps/:/usr/share/anaconda/pixmaps/:/usr/share/pixmaps/:/usr/share/anaconda/:/usr/share/python-meh/:/usr/share/icons/Fedora/48x48/apps/
:PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin:/sbin:/usr/sbin
:MALLOC_CHECK_=2
:DISPLAY=:1

Comment 1 Aaron Sowry 2012-04-20 08:42:49 UTC
Created attachment 578919 [details]
File: anaconda-tb-EnXHxU

Comment 2 Jesse Keating 2012-04-20 14:08:46 UTC
Had you been running yum or rpm prior to launching the live installer?

Comment 3 John Reiser 2012-04-20 17:12:50 UTC
Created attachment 579057 [details]
anconda traceback and dump

I get the same error during a DVD fresh install of default Graphical desktop, upon [Back] to recover from file conflict of samba-client-3.6.4-... with samba-client4-... .  I composed the DVD myself about an hour ago, using updates-testing and fedora-17-branched; anaconda-17.21 was used during compose and on the DVD itself.

During install, I chose to proceed anyway despite incomplete dependencies.  The many file conflicts [20 ?] between samba-client-3.6.4-... and samba-client4-... where discovered during installation of some package.  I [Back]ed up to the repo selection screen, chose Customize Now, and removed samba (samba3; I could not find samba4 anywhere) from the Printing packages [beneath Servers ?].  Proceeding gave the attached traceback.

Comment 4 John Reiser 2012-04-20 17:15:54 UTC
Created attachment 579058 [details]
/tmp/anaconda.log

Comment 5 John Reiser 2012-04-20 17:16:17 UTC
Created attachment 579059 [details]
yum.log

Comment 6 Aaron Sowry 2012-04-21 14:48:31 UTC
My situation was very similar to John's, except for that I was installing from USB. My initial attempt at installation failed due to the samba dependency conflict - assuming this was an issue in updates-testing, I went back to the repository selection screen and disabled it. Then after proceeding again, I got the traceback.

Comment 7 Tim Flink 2012-05-10 16:35:36 UTC
I hit this in F17 final TC4 when I attempted to install on a disk that wasn't big enough for the default graphical install.

I went back to the package selection page, changed my selection to 'minimal'. I got the traceback once the install process started again.

Comment 8 Brian Lane 2012-06-04 23:02:43 UTC
Closing this because newui is going to change how this works.