Bug 298350

Summary: Error reading repository '20070807-190029': database is locked
Product: [openSUSE] openSUSE 10.3 Reporter: Jörg Hermsdorf <funtasyspace>
Component: libzyppAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None CC: olaf-goergen, rastislav.krupansky
Version: Alpha 7   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.log for '# zypper -v refresh'

Description Jörg Hermsdorf 2007-08-08 10:00:53 UTC
It's the 3rd time I did a fresh install of Alpha 7 now, and every time I wasn't able to access the main factory repository any longer, after some hours. Seems like the cache database locks up somehow. The problem is only with the main repository, but maybe, because the other repositories didn't change until the lock.


Here's the output of 'zypper -v refresh' when I try to refresh the repository cache (I attached the corresponding zypper.log as file to my post) :
# zypper -v refresh
Verbosity: 1
Skipping disabled repository '20070807-191539'
Skipping disabled repository '20070807-191531'
Skipping disabled repository '20070807-203136'
Refreshing 20070807-190029
Downloading: http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/content
* Downloading [100%]
Creating repository cache...
* Cleaning repository '20070807-190029' cache
* Building repository '20070807-190029' cache
Error reading repository '20070807-190029':
database is locked
Skipping repository '20070807-190029' because of the above error.
Refreshing 20070807-190155
Downloading: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/content
* Downloading [100%]
Creating repository cache...
* Building repository '20070807-190155' cache
Some of the repositories have not been refreshed because of error.
Comment 1 Jörg Hermsdorf 2007-08-08 10:05:36 UTC
Created attachment 156141 [details]
zypper.log for '# zypper -v refresh'
Comment 2 Nikolay Derkach 2007-08-08 10:14:24 UTC

*** This bug has been marked as a duplicate of bug 297627 ***
Comment 3 Jan Kupec 2007-08-10 08:09:04 UTC
Nikolay, why did you mark this bug as duplicate of bug 297627? Although the problem with locked database may be related to the 'SQL logic error or missing database', we don't know that yet. Reopening.
Comment 5 Duncan Mac-Vicar 2007-08-10 14:31:22 UTC
I am sure it is the same bug

*** This bug has been marked as a duplicate of bug 297627 ***
Comment 6 Ladislav Slezák 2007-08-13 09:25:04 UTC
*** Bug 297544 has been marked as a duplicate of this bug. ***
Comment 7 Duncan Mac-Vicar 2007-08-20 13:34:15 UTC
*** Bug 300110 has been marked as a duplicate of this bug. ***