<?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>Andrew Beaton :: FAQ &#187; package removal</title>
	<atom:link href="http://andrewbeaton.net/faq/tag/package-removal/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewbeaton.net/faq</link>
	<description>Tips from the world of a software developer</description>
	<lastBuildDate>Wed, 13 Jul 2011 17:03:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>RPM scriptlet failed</title>
		<link>http://andrewbeaton.net/faq/2009/12/17/rpm-scriptlet-failed/</link>
		<comments>http://andrewbeaton.net/faq/2009/12/17/rpm-scriptlet-failed/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:16:48 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[package removal]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[scriptlet failed]]></category>

		<guid isPermaLink="false">http://andrewbeaton.net/faq/?p=83</guid>
		<description><![CDATA[I came across a problem when trying to remove an RPM using `rpm -e` which caused this following error to come up. # rpm -e PACKAGE find: ....... No such file or directory error: %preun&#40;PACKAGE&#41; scriptlet failed, exit status 1 To fix this, I added `&#8212;noscripts` to the end of the line and it removed [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a problem when trying to remove an RPM using `<strong>rpm -e</strong>` which caused this following error to come up.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># rpm -e PACKAGE </span>
<span style="color: #c20cb9; font-weight: bold;">find</span>: ....... No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory
error: <span style="color: #000000; font-weight: bold;">%</span>preun<span style="color: #7a0874; font-weight: bold;">&#40;</span>PACKAGE<span style="color: #7a0874; font-weight: bold;">&#41;</span> scriptlet failed, <span style="color: #7a0874; font-weight: bold;">exit</span> status <span style="color: #000000;">1</span></pre></div></div>

<p>To fix this, I added `<strong>&#8212;noscripts</strong>` to the end of the line and it removed without a problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewbeaton.net/faq/2009/12/17/rpm-scriptlet-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

