<?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>The _khAttAm_ blog &#187; uninstall</title>
	<atom:link href="http://www.khattam.info/tag/uninstall/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khattam.info</link>
	<description>Sharing views and experiences</description>
	<lastBuildDate>Sat, 22 Oct 2011 06:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[SOLVED] &#8220;subprocess pre-removal script returned error exit status 2&#8243; error</title>
		<link>http://www.khattam.info/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error-2009-08-04.html</link>
		<comments>http://www.khattam.info/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error-2009-08-04.html#comments</comments>
		<pubDate>Tue, 04 Aug 2009 10:08:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jaunty Jackalope 9.04]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[synaptic]]></category>
		<category><![CDATA[ubuntu 9.04]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[uninstall problem]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=303</guid>
		<description><![CDATA[Recently, I encountered a package management related error in Ubuntu Jaunty Jackalope 64bit. The package was python-beagle and the error was: &#8220;E: python-beagle: subprocess pre-removal script returned error exit status 2&#8243; and details showed: dpkg (subprocess): unable to execute pre-removal script: Exec format error dpkg: error processing python-beagle (&#8211;remove): subprocess pre-removal script returned error exit [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p> Recently, I encountered a package management related error in Ubuntu Jaunty Jackalope 64bit.</p>
<p>The package was python-beagle and the error was: &#8220;E: python-beagle: subprocess pre-removal script returned error exit status 2&#8243; and details showed:</p>
<blockquote><p>dpkg (subprocess): unable to execute pre-removal script: Exec format error<br />
dpkg: error processing python-beagle (&#8211;remove):<br />
subprocess pre-removal script returned error exit status 2<br />
dpkg (subprocess): unable to execute post-installation script: Exec format error<br />
dpkg: error while cleaning up:<br />
subprocess post-installation script returned error exit status 2<br />
Errors were encountered while processing:<br />
python-beagle<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)</p></blockquote>
<p>I managed to fix it. Read on for how I did it.<span id="more-303"></span></p>
<p>Precaution: The process can break your system if not followed as mentioned (you may get into problems even if you follow the process). Please proceed at your own risk.</p>
<p>First, please try the following in terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #660033;">-f</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>If it does not work, then you may want to try:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--force</span> all <span style="color: #660033;">--remove</span></pre></div></div>

<p>If both of them still produce similar errors, then continue. If the above commands fix your problem, you should not continue.</p>
<p>1. Close Synaptic or any package manager. Wait for or cancel any updates or install\uninstall.<br />
2. Make Backups of current /var/lib/dpkg/status file. Just copy and paste to your home directory or Desktop.<br />
3. Alt+F2 and launch type in gksu gedit /var/lib/dpkg/status and run it. Gedit will be launched with a text file open.<br />
4. Now, search for the exact name of the package with problems and find it.<br />
5. In my case, it I found the entry for the package python-beagle:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Package: python-beagle
Status: deinstall ok half-configured
Priority: optional
Section: python
Installed-Size: 168
Maintainer: Ubuntu Core Developers
Architecture: amd64
Source: libbeagle
Version: 0.3.5-2build1
Replaces: python2.4-beagle (&amp;lt;&amp;lt; 0.2.7-1)
Provides: python2.6-beagle
Depends: python (&amp;lt;&amp;lt; 2.7), python (&amp;gt;= 2.6), python-support (&amp;gt;= 0.7.1), libbeagle1 (&amp;gt;= 0.3.5), libc6 (&amp;gt;= 2.4), python-gtk2
Conflicts: python2.4-beagle (&amp;lt;&amp;lt; 0.2.7-1)
Description: Python bindings for beagle
Allow accessing Beagle daemon and peforming searches using Python.</pre></div></div>

<p>6. Select and delete that information and that much information only, i.e. you will remove &#8220;Package: culprit-package-name&#8221; to &#8220;Description: culprit package description&#8221;. Remmber, &#8220;culprit package description&#8221; may be multiline and you will need to remove all the lines till a blank line. Don&#8217;t forget to leave a line blank between the package description above and the one below. To clarify things out, I have placed the images here, pelase have a look. Here the package to be removed is python-beagle.</p>
<div class="wp-caption alignnone" style="width: 406px"><a href="http://www.khattam.info/img/before.png"><img title="Before Deletion" src="http://www.khattam.info/img/before.png" alt="before [SOLVED] subprocess pre removal script returned error exit status 2 error" width="402" height="249" /></a><p class="wp-caption-text">Before Deletion</p></div>
<div class="wp-caption alignnone" style="width: 406px"><a href="http://www.khattam.info/img/selection.png"><img title="Selection" src="http://www.khattam.info/img/selection.png" alt="selection [SOLVED] subprocess pre removal script returned error exit status 2 error" width="402" height="262" /></a><p class="wp-caption-text">Selection</p></div>
<div class="wp-caption alignnone" style="width: 405px"><a href="http://www.khattam.info/img/after.png"><img title="After" src="http://www.khattam.info/img/after.png" alt="after [SOLVED] subprocess pre removal script returned error exit status 2 error" width="401" height="257" /></a><p class="wp-caption-text">After</p></div>
<p>7. Launch Synaptic (or any package manager) and then search for package. You will see the package as not installed. Mark it for installation and install it. If you start to see the same error, restart the same process from Step 1 but the next time, stop at step 6.<br />
8. Now, you should be able to remove it if you no longer want the package. If you can&#8217;t, restart the same process from Step 1 but the next time, stop at step 6.</p>
<p>Hope this was helpful. Please post in comments.</p>
<div class="shr-publisher-303"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error-2009-08-04.html/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>&#8220;Could not Open Install.Log File!&#8221; Problem Solved!!</title>
		<link>http://www.khattam.info/could-not-open-installlog-file-problem-solved-2009-04-21.html</link>
		<comments>http://www.khattam.info/could-not-open-installlog-file-problem-solved-2009-04-21.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 22:54:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[count not open install.log file]]></category>
		<category><![CDATA[install.log]]></category>
		<category><![CDATA[install.log file missing]]></category>
		<category><![CDATA[install.log missing]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[uninstall]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=64</guid>
		<description><![CDATA[You may have noticed a problem when uninstalling some programs, if you have Ntfs in Windows XP, Vista or 7, you are likely to face this problem. When you try to uninstall &#8216;em from Add/Remove Programs List, they show a message &#8220;Could not Open Install.Log File!&#8221;. This problem is generally seen with &#8220;Wise Installation Wizard&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>You may have noticed a problem when uninstalling some programs, if you have Ntfs in Windows XP, Vista or 7, you are likely to face this problem. When you try to uninstall &#8216;em from Add/Remove Programs List, they show a message &#8220;Could not Open Install.Log File!&#8221;. This problem is generally seen with &#8220;Wise Installation Wizard&#8221;. I have seen it only with &#8220;Wise Installation Wizard&#8221;. I don&#8217;t know if other installers give rise to same problem.</p>
<p>When you try to uninstall them from<br />
Start Menu&gt;&gt;Programs&gt;&gt;%ProgramName%&gt;&gt;Uninstall<br />
It again gives the same error.</p>
<p>This can be solved and the program can be un-installed without having to remove the directory, shortcuts and registry entries manually, which is really difficult and tiresome. I have found a solution to this problem and sharing with you all.<span id="more-64"></span></p>
<p><strong>Procedure:</strong><br />
1. Open the directory where the program is installed. (Eg. For System Mechanic 5, By default, it is C:\Program Files\iolo\System Mechanic 5, if you have installed XP on C:\)<br />
2. You will see a file named &#8220;Install.log&#8221; in there.<br />
3. Move (cut and paste somewhere else) the &#8220;install.log&#8221; to say an empty new folder in desktop (first create a new folder and then paste the install.log into it).<br />
4. Now, double click the un-installer (uninstall.exe or unwise.exe)<br />
5. It will ask you to open the installation log. Locate to the &#8220;install.log&#8221; file on your desktop.<br />
6. Now, uninstall will work fine and you can un-install the program.</p>
<p><strong>Alternate Procedure<br />
</strong>You can simply drag the install.log to unwise.exe or uninstall.exe and it should work.<strong></strong></p>
<p>This should solve your problem and the program should be uninstalled.</p>
<p>PS: This was originally posted at <a title="&quot;Could not Open Install.Log File!&quot; Problem Solved!!" href="http://www.thinkdigit.com/forum/showthread.php?t=11563" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.thinkdigit.com/forum/showthread.php?t=11563&amp;referer=');">Thinkdigit Forums</a> a few years back. Please view older comments in the original post.</p>
<p>Still Can&#8217;t uninstall?</p>
<div class="shr-publisher-64"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/could-not-open-installlog-file-problem-solved-2009-04-21.html/feed/</wfw:commentRss>
		<slash:comments>143</slash:comments>
		</item>
	</channel>
</rss>

