| Summary: | Yum update fails with traceback: sqlite3.OperationalError: no such table: trans_beg | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bryan Bishop <bryanjbishop> | ||||
| Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 14 | CC: | ffesti, james.antill, maxamillion, pmatilai, tla | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-04-26 15:51:01 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
Bryan Bishop
2011-04-22 18:55:49 UTC
Can you run: ls -l /var/lib/yum/history ...as root? Sure, I haven't cleared my yum history since creating this bug so there is actually history in that path now. Also, I haven't run across the "no such table" error yet when doing yum updates. total 656 drwxr-xr-x. 114 root root 4096 Apr 6 11:15 2010-10-21 drwxr-xr-x. 61 root root 4096 Apr 21 11:37 2011-04-06 drwxr-xr-x. 2 root root 4096 Apr 21 11:40 2011-04-21 drwxr-xr-x. 7 root root 4096 Apr 24 21:59 2011-04-22 -rw-------. 1 root root 464896 Apr 6 11:15 history-2010-10-21.sqlite -rw-------. 1 root root 140288 Apr 21 11:37 history-2011-04-06.sqlite -rw-------. 1 root root 0 Apr 21 11:40 history-2011-04-21.sqlite -rw-------. 1 root root 29696 Apr 24 22:02 history-2011-04-22.sqlite Ok, this is the problem:
history-2011-04-21.sqlite is zero bytes in size.
...but the fact it's created makes yum think it should work. Do you know why a new history file tried to get created on the 21st of April?
If you haven't done any transactions ("yum history list" is still empty). Then you can do:
cd /var/lib/yum/history
rm history-2011-04-21.sqlite
rm history-2011-04-22.sqlite
...and you should go back to history-2011-04-06.sqlite, which will have your old history data in it.
|