<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digital Journal &#187; yum database</title>
	<atom:link href="http://digitaljournal.sg/wp/?feed=rss2&#038;tag=yum-database" rel="self" type="application/rss+xml" />
	<link>http://digitaljournal.sg/wp</link>
	<description>My Digital Journal</description>
	<lastBuildDate>Mon, 20 Oct 2014 00:32:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Rebuild a corrupted RPM database</title>
		<link>http://digitaljournal.sg/wp/?p=156</link>
		<comments>http://digitaljournal.sg/wp/?p=156#comments</comments>
		<pubDate>Sat, 24 Nov 2012 01:45:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips&Info]]></category>
		<category><![CDATA[fix corrupted rpm database]]></category>
		<category><![CDATA[rpm database]]></category>
		<category><![CDATA[rpm database corrupted]]></category>
		<category><![CDATA[yum database]]></category>

		<guid isPermaLink="false">http://digitaljournal.sg/wp/?p=156</guid>
		<description><![CDATA[Strange things sometimes happen,one of them is a rpm database got corrupted . This means that the computer tells you something is installed and it really is not. i personally encountered this few times before and usually this happens when the ssh session/connection to the server cut off(i used to ssh to the server , [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: left;">Strange things sometimes happen,one of them is a rpm database got corrupted . This means that the computer tells you something is installed and it really is not. i personally encountered this few times before and usually this happens when the ssh session/connection to the server cut off(i used to ssh to the server , and it is behind the vpn connection when i was doing yum update on server and when i re-login again to the server i just kill the yum right away <img src='http://digitaljournal.sg/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , my bad,  better to use screen <img src='http://digitaljournal.sg/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</div>
</p>
<div>the symptom:</div>
<div>If rpm / yum command hangs during operations or you see error messages &#8211; it means your rpm database corrupted.  just backup your current rpm database, remove it and rebuild it most likely will solve the problem</div>
<div><em><strong># rm -f /var/lib/rpm/__db*</strong></em></div>
<div><em><strong># rpm &#8211;rebuilddb</strong></em></div>
<div><em><strong># yum update</strong></em></div>
]]></content:encoded>
			<wfw:commentRss>http://digitaljournal.sg/wp/?feed=rss2&#038;p=156</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
