 |
 |
 |
 |
| Fedora 12 Alpha, Beta & Release Candidates For discussions on the Bleeding Edge of Fedora - the builds that will one day become Fedora 12. |

26th September 2009, 09:31 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
A different yum error
There is no lack of yum errors around here. Could someone please translate the following into Swahili for me? That way, I can probably understand it a little better.
Code:
Transaction Test Succeeded
Running Transaction
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 315, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 263, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 492, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1081, in runTransaction
self.history.end(rpmdbv, 2, errors=errors)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 385, in end
self._log_errors(errors)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 351, in _log_errors
(tid, msg) VALUES (?, ?)""", (self._tid, error))
File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark
return cursor.execute(query, params)
sqlite3.InterfaceError: Error binding parameter 1 - probably unsupported type.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

26th September 2009, 10:29 AM
|
 |
Registered User
|
|
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309

|
|
From the last line, it sounds like yum is having problems reading (or even recognising) some of its SQLlite data. You could try some of the "yum clean" options
Code:
yum clean dbcache
yum clean metadata
yum clean headers
and run "yum update" again after each one. Probably want to avoid "yum clean packages" and "yum clean all" unless you are happy to download all your updates again.
If all else fails you might want to try just in case it is the RPM DBs causing the problem.
Last edited by SteveGYBE; 26th September 2009 at 10:41 AM.
Reason: spelling ...
|

26th September 2009, 10:53 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
Thanks for the reply Steve. I tried your suggestions one at a time. Same thing. Oddly, I am able to update one or two packages at a time with no trouble. As I whittle away at the list I imagine that I'll finally find out exactly what the root of the problem is.
Edit: I've gotten the list of updates down to kernel stuff only. Everything else updated as one would expect. I try to update these remaining kernel packages and I still get the error...
Edit2: The updates are complete. I've manually whittled away at the list until there's nothing left to update. I left the kernel updates for last. If I tried yum update I still got the error. When I updated kernel.i686 only it worked. Then I did yum update again (only kernel-PAE left) that worked too. Huh? Whatever. All done.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Last edited by glennzo; 26th September 2009 at 11:26 AM.
|

26th September 2009, 12:27 PM
|
|
Registered User
|
|
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,605

|
|
I was experiencing yum hangups and stalling when trying to update large amounts of packages and did the same as you and done them in smaller increments.
|

26th September 2009, 07:25 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
Worked for me. I am, or was, still getting an error telling me that I need to run yum-complete-transaction as root. I did, 18 times, since that's what it took to get the system to stop bothering me. Wonder if that was related to the other issue?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

28th September 2009, 09:03 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 109

|
|
|
I had this problem, and found I could work around it with a few commands.
But first, my guess is that the root cause of the error is that your /boot partition is full or close to full. At least that *seems* to have been the problem for me. If someone with this problem wants to test this theory, try doing:
yum remove kernel-2.6.31-23.fc12 kernel-devel-2.6.31-23.fc12 kernel-PAE-2.6.31-23.fc12 kernel-PAE-devel-2.6.31-23.fc12
Before doing that, make sure that's not your running kernel by comparing with the output from uname -a.
After that, try
/usr/sbin/yum-complete-transaction --cleanup-only
yum update
Did that work? If not, then you can try what others in this thread have suggested (worked for me too), by running something similar to:
/usr/sbin/yum-complete-transaction --cleanup-only
yum update '[a-jl-z]*' 'k[a-df-z]*'
yum update
Last edited by typerlc; 28th September 2009 at 10:53 AM.
Reason: fixed some typos in commands
|

28th September 2009, 09:37 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
yum-complete-transaction is a plugin of yum right? just my 2cents but wouldnt that be better built into yum itself than have it as a plugin
|

28th September 2009, 09:43 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
Hi Demz. It's part of the yum-utils package.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

28th September 2009, 09:59 AM
|
|
Guest
|
|
Posts: n/a

|
|
Quote:
Originally Posted by glennzo
Hi Demz. It's part of the yum-utils package.
|
isnt the yum-utils package installed by default?
|

28th September 2009, 10:10 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
I'm not so sure it is. In the past I know I've had to install it with yum.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

28th September 2009, 10:15 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
i'll have to have a look when the beta comes out
|

28th September 2009, 10:18 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
My laptop running Fedora 12 ...
Quote:
[glenn@leonardo ~]$ yum list yum*
Loaded plugins: presto, refresh-packagekit
Installed Packages
yum.noarch 3.2.24-6.fc12 @koji-i386
yum-metadata-parser.i686 1.1.2-14.fc12 @rawhide
yum-presto.noarch 0.6.1-1.fc12 @koji-i386
yum-utils.noarch 1.1.23-3.fc12 @rawhide
|
Basically the same thing on my Fedora 10 box.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

2nd October 2009, 03:43 AM
|
 |
Registered User
|
|
Join Date: Aug 2009
Posts: 752

|
|
|
Hope this helps. ;)
Quote:
Originally Posted by glennzo
There is no lack of yum errors around here. Could someone please translate the following into Swahili for me? That way, I can probably understand it a little better.
Code:
Transaction Test Succeeded
Running Transaction
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 315, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 263, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 492, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1081, in runTransaction
self.history.end(rpmdbv, 2, errors=errors)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 385, in end
self._log_errors(errors)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 351, in _log_errors
(tid, msg) VALUES (?, ?)""", (self._tid, error))
File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark
return cursor.execute(query, params)
sqlite3.InterfaceError: Error binding parameter 1 - probably unsupported type.
|
glennzo, please see "Bug 526294 - yum history causes sqlite traceback on RPM transaction error" -
https://bugzilla.redhat.com/show_bug.cgi?id=526294
Hope this helps.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:19 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|