LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2009, 03:44 PM   #1
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Rep: Reputation: 16
Unhappy Yum & the Weird Error!


All:

I have just got fedora 10 into my desktop. I tried 'yum list available'.

The error I got was the following: [I wasn't able to see any posts which listed this error.]

Error: Caching enabled and local cache: //var/cache/yum/fedora/04da721e41b80b2a003de83f73387a6d7d30833f-primary.sqlite.bz2 does not match checksum

Is there anyway by which I could get through this?

Any help would be greatly appreciated!

Thanks!
Senthil
 
Old 05-06-2009, 03:49 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can try
Code:
yum clean dbcache
to eliminate the sqlite cache used for faster access to metadata. Then run yum list available again.
 
Old 05-06-2009, 07:50 PM   #3
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Original Poster
Rep: Reputation: 16
Thanks Colucix! That worked. May I ask what exactly happened in this process?

~Senthil
 
Old 05-07-2009, 03:31 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
I can point you to a brief explanation in the Yum User Guide: http://docs.fedoraproject.org/yum/en...m-caching.html.
The command clean dbcache deletes all the sqlite databases (you got an error message about one of these files). Look at the content of the yum cache on your system: it should be under /var/cache/yum. For each repository it stores the installed packages and all the related information. If you clean the cache, yum will rebuild it at the next run.

The advantage of the yum cache is to perform faster operations. The dis-advantage is that the cache requires some extra disk space in the /var partition.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rpm & yum "unsupported hash version: 8" error on RHEL 5.1 Muddoll Red Hat 4 02-12-2009 05:40 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
yum plays weird.. SofNine Fedora 3 05-11-2006 05:23 PM
weird yum problem vegetassj2 Linux - Software 1 02-20-2005 03:56 AM
Patched through Yum last night, weird errors since. Fenster Fedora 0 11-20-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration