Fedora Linux Support Community & Resources Center
  #1  
Old 26th September 2009, 09:31 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
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
  #2  
Old 26th September 2009, 10:29 AM
SteveGYBE's Avatar
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309
linuxfedorafirefox
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
Code:
rpm --rebuilddb
just in case it is the RPM DBs causing the problem.

Last edited by SteveGYBE; 26th September 2009 at 10:41 AM. Reason: spelling ...
  #3  
Old 26th September 2009, 10:53 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
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.
  #4  
Old 26th September 2009, 12:27 PM
ryptyde Offline
Registered User
 
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,605
linuxfedorafirefox
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.
  #5  
Old 26th September 2009, 07:25 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxmozilla
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
  #6  
Old 28th September 2009, 09:03 AM
typerlc Offline
Registered User
 
Join Date: Apr 2009
Posts: 109
linuxfedorafirefox
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
  #7  
Old 28th September 2009, 09:37 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
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
  #8  
Old 28th September 2009, 09:43 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
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
  #9  
Old 28th September 2009, 09:59 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
Quote:
Originally Posted by glennzo View Post
Hi Demz. It's part of the yum-utils package.
isnt the yum-utils package installed by default?
  #10  
Old 28th September 2009, 10:10 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
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
  #11  
Old 28th September 2009, 10:15 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
i'll have to have a look when the beta comes out
  #12  
Old 28th September 2009, 10:18 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
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
  #13  
Old 2nd October 2009, 03:43 AM
diamond_ramsey's Avatar
diamond_ramsey Offline
Registered User
 
Join Date: Aug 2009
Posts: 752
windows_98_nt_2000mozilla
Hope this helps. ;)

Quote:
Originally Posted by glennzo View Post
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.
 

Tags
error, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount error - error mounting /dev/root on sysroot as ext3 : invalid argument marko Using Fedora 7 5th February 2013 11:00 AM
Error: DBus error org.freedesktop.DBus.Error.NoReply: -- F10 -- bluetooth kamil Using Fedora 4 12th April 2009 02:29 PM
madman error freshrpm error repository error! ilbh Using Fedora 5 1st June 2006 10:52 PM


Current GMT-time: 01:19 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat