<?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>kb.hurricane-ridge.com &#187; rpm</title>
	<atom:link href="http://kb.hurricane-ridge.com/tag/rpm/feed" rel="self" type="application/rss+xml" />
	<link>http://kb.hurricane-ridge.com</link>
	<description>My personal - but public - knowledge base</description>
	<lastBuildDate>Tue, 31 Aug 2010 22:18:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Extracting an RPM without installing it</title>
		<link>http://kb.hurricane-ridge.com/os/linux/rhel/extracting-an-rpm-without-installing-it</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/rhel/extracting-an-rpm-without-installing-it#comments</comments>
		<pubDate>Wed, 01 Apr 2009 22:55:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=396</guid>
		<description><![CDATA[If you want to inspect files in an RPM without installing it, use rpm2cpio piped to cpio:
rpm2cpio file.rpm &#124; cpio -id
Note that this will create a (local) directory tree under which the extracted files will be placed.  In other words, expect the files to be extracted under a newly created &#8220;usr&#8221; directory or similar.
]]></description>
			<content:encoded><![CDATA[<p>If you want to inspect files in an RPM without installing it, use rpm2cpio piped to cpio:</p>
<p><code>rpm2cpio file.rpm | cpio -id</code></p>
<p>Note that this will create a (local) directory tree under which the extracted files will be placed.  In other words, expect the files to be extracted under a newly created &#8220;usr&#8221; directory or similar.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/rhel/extracting-an-rpm-without-installing-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing RPM Database Errors After an Upgrade of the RPM Package</title>
		<link>http://kb.hurricane-ridge.com/os/linux/rhel/fixing-rpm-database-errors-after-an-upgrade-of-the-rpm-package</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/rhel/fixing-rpm-database-errors-after-an-upgrade-of-the-rpm-package#comments</comments>
		<pubDate>Mon, 29 Dec 2008 05:09:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=27</guid>
		<description><![CDATA[For errors similar to these:
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv-&#62;open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Do this:
# rm -f /var/lib/rpm/__*
]]></description>
			<content:encoded><![CDATA[<p>For errors similar to these:</p>
<p><code>rpmdb: Program version 4.2 doesn't match environment version<br />
error: db4 error(22) from dbenv-&gt;open: Invalid argument<br />
error: cannot open Packages index using db3 - Invalid argument (22)<br />
error: cannot open Packages database in /var/lib/rpm</code></p>
<p>Do this:</p>
<p><code># rm -f /var/lib/rpm/__*</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/rhel/fixing-rpm-database-errors-after-an-upgrade-of-the-rpm-package/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
