<?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>aBinaryMind &#187; upgrade</title>
	<atom:link href="http://www.abinarymind.com/tag/upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abinarymind.com</link>
	<description>Some thoughts, some info, some rants</description>
	<lastBuildDate>Wed, 30 Jun 2010 15:36:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to prevent a package from being updated in Ubuntu</title>
		<link>http://www.abinarymind.com/2009/06/how-to-prevent-a-package-from-being-updated-in-ubuntu/</link>
		<comments>http://www.abinarymind.com/2009/06/how-to-prevent-a-package-from-being-updated-in-ubuntu/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 00:04:52 +0000</pubDate>
		<dc:creator>lexhung</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.abinarymind.com/?p=46</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>If you want to update all the packages other than one package in your Ubuntu system follow this procedure</p>
<p>There are three ways of holding back packages, with dpkg, aptitude or with dselect.</p>
<p>Using dpkg</p>
<p>Put a package on hold</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo echo “package hold” | dpkg --set-selections</div></div>
<p>Example</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo echo “apache2 hold” | dpkg --set-selections</div></div>
<p>Remove the hold</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo echo “package install” | dpkg --set-selections</div></div>
<p>Example</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo echo “apache2 install” | dpkg --set-selections</div></div>
<p>Knowing the status of your packages</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo dpkg --set-selections</div></div>
<p>Using aptitude</p>
<p>With aptitude, you can hold a package using</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo aptitude hold package_name</div></div>
<p>Example</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo aptitude hold apache2</div></div>
<p>and remove the hold with</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo aptitude unhold package_name</div></div>
<p>Example</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo aptitude unhold apache2</div></div>
<p>Using dselect</p>
<p>With dselect, you just have to enter the [S]elect screen, find the package you wish to hold in its present state, and press the `=’ key (or `H’). The changes will go live immediately after you exit the [S]elect screen.</p>
<p>via <a href="http://www.ubuntugeek.com/how-to-prevent-a-package-from-being-updated-in-ubuntu.html">How to prevent a package from being updated in Ubuntu | Ubuntu Geek</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abinarymind.com/2009/06/how-to-prevent-a-package-from-being-updated-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
