Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th April 2012, 05:54 AM
bart3005 Offline
Registered User
 
Join Date: May 2005
Posts: 77
linuxfirefox
Error on yum update

Hi

Gettig this on yum update, it is trying to update the rpm packages. If I excelude the rpm package the update works so appears not to be an issue with yum of the rpm DBs but rather the packages.

/usr/lib/python2.7/site-packages/yum/history.py:761: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if checksum == sql_checksum:
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 321, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 229, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 646, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1631, in runTransaction
self.skipped_packages, rpmdb_problems, cmdline)
File "/usr/lib/python2.7/site-packages/yum/history.py", line 941, in beg
pid = self.pkg2pid(txmbr.po)
File "/usr/lib/python2.7/site-packages/yum/history.py", line 798, in pkg2pid
return self._ipkg2pid(po, create)
File "/usr/lib/python2.7/site-packages/yum/history.py", line 792, in _ipkg2pid
return self._pkgtup2pid(po.pkgtup, csum, create)
File "/usr/lib/python2.7/site-packages/yum/history.py", line 775, in _pkgtup2pid
checksum))
File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark
return cursor.execute(query, params)
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Reply With Quote
  #2  
Old 26th April 2012, 03:42 PM
goodfella Offline
Registered User
 
Join Date: Mar 2012
Location: SFBay Area
Posts: 81
linuxfirefox
Re: Error on yum update

I stopped using yum because it has screw up my system more than once. Then I had to re-install. YUM is YUCK.
Reply With Quote
  #3  
Old 26th April 2012, 04:29 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: Error on yum update

Your yum database is corrupt I think. You might have to resync your database with repositories. Take a look at man pages for yumdb.

---------- Post added at 10:29 AM ---------- Previous post was at 10:24 AM ----------

If the sync does not work as expected, you can use the option sync-force.
Reply With Quote
  #4  
Old 26th April 2012, 05:26 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,225
linuxfirefox
Re: Error on yum update

Goodfella, sorry to take this off-topic a bit, but may I ask what you're using to update if not yum? As far as I can remember, neither apt nor smart is working well (if at all) in current Fedora versions.

Never had a problem with yum myself, but I'm careful what repos I enable.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #5  
Old 27th April 2012, 03:26 AM
goodfella Offline
Registered User
 
Join Date: Mar 2012
Location: SFBay Area
Posts: 81
linuxfirefox
Re: Error on yum update

Quote:
Originally Posted by bob View Post
Goodfella, sorry to take this off-topic a bit, but may I ask what you're using to update if not yum? As far as I can remember, neither apt nor smart is working well (if at all) in current Fedora versions.

Never had a problem with yum myself, but I'm careful what repos I enable.
Bob, I use Package Manager for Gnome recently. I usually build from source which gives
me total control of what gets installed.
Reply With Quote
  #6  
Old 27th April 2012, 08:12 AM
bart3005 Offline
Registered User
 
Join Date: May 2005
Posts: 77
linuxfirefox
Re: Error on yum update

I have tried various thing and cant get this to work.

yumdb sync-force
rpmdb --rebuilddb
fsck on the filesystem

All commands complete fine.

Just fails on the rpm packages. If I do a 'yum update --exclude=rpm --skip-broken' the updates works Ok but with out updating rpm and depandacies. kinda bugging me.

Last edited by bart3005; 27th April 2012 at 08:18 AM.
Reply With Quote
  #7  
Old 29th April 2012, 12:17 PM
bart3005 Offline
Registered User
 
Join Date: May 2005
Posts: 77
linuxfirefox
Re: Error on yum update

BTW I fixed this by downloading the packages manually from the repo and doing a 'rpm -Uvh' on them.
Reply With Quote
  #8  
Old 29th April 2012, 06:22 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: Error on yum update

Are you able to update succesfully with yum now that rpm package has been fixed? Just curious.
Reply With Quote
Reply

Tags
error, update, 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
Yum update error: Error: Package tuple (...) not found in packagesack MuadNu EOL (End Of Life) Versions 8 12th January 2011 02:06 PM
software update error could not update packages accboy Using Fedora 2 29th June 2010 12:19 AM
Error with yum update kmarien Using Fedora 3 10th September 2009 01:14 PM
Update Error from System\Admin\Update glmarsh Using Fedora 1 12th December 2008 06:11 AM
Yum update - error juny20 Using Fedora 7 9th April 2008 02:58 PM


Current GMT-time: 10:58 (Saturday, 25-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