<?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>WiredRevolution.com &#187; parallel-fetch</title>
	<atom:link href="http://www.wiredrevolution.com/tag/parallel-fetch/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Update your entire Gentoo Linux system</title>
		<link>http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-your-entire-gentoo-linux-system</link>
		<comments>http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system#comments</comments>
		<pubDate>Fri, 10 Oct 2008 12:42:55 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[gentoolkit]]></category>
		<category><![CDATA[make.conf]]></category>
		<category><![CDATA[oneshot]]></category>
		<category><![CDATA[parallel-fetch]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[revdep-rebuild]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[USE flags]]></category>
		<category><![CDATA[world]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=264</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>Gentoo Portage makes it fairly easy to update all the installed packages on your system. The emerge and revdep-rebuild tools are powerful and make the process of recompiling everything much less painful than it sounds. The emerge and revdep-rebuild commands require root privileges so switch to root or use sudo. The first step is to [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch' rel='bookmark' title='Permanent Link: Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;'>Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo' rel='bookmark' title='Permanent Link: Install Java browser plugin in Gentoo'>Install Java browser plugin in Gentoo</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge' rel='bookmark' title='Permanent Link: View the status of a long emerge'>View the status of a long emerge</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>Gentoo Portage makes it fairly easy to update all the installed packages on your system. The emerge and revdep-rebuild tools are powerful and make the process of recompiling everything much less painful than it sounds.</p>
<p>The emerge and revdep-rebuild commands require root privileges so switch to root or <a href="http://www.wiredrevolution.com/commands/submit-commands-as-root-with-sudo">use sudo</a>.</p>
<p>The first step is to synchronize your Portage tree with the latest mirror.  This command will get you information on the latest packages that are currently available. </p>
<pre>
# emerge --sync
</pre>
<p>Perform an &#8220;pretend&#8221; emerge to see what packages will be updated and installed on your system.</p>
<pre>
# emerge -uDNvp world
</pre>
<pre>
These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild     U ] dev-util/pkgconfig-0.23 [0.22] USE="-hardened" 1,009 kB
[ebuild     U ] media-sound/wavpack-4.50.1 [4.41.0] USE="mmx" 367 kB
[ebuild     U ] dev-libs/gmp-4.2.2-r2 [4.2.2] USE="-doc -nocxx" 0 kB
.
.
.
[ebuild  N    ] sys-apps/man-pages-posix-2003a  949 kB 

Total: 149 packages (100 upgrades, 36 new, 2 in new slots, 11 reinstalls), Size of downloads: 354,800 kB
</pre>
<p>Lets go over these options.</p>
<p><strong>-u</strong> update packages<br />
<strong>-D</strong> consider entire dependency tree for all packages<br />
<strong>-N</strong> include packages with USE flag changes<br />
<strong>-v</strong> verbose emerge output<br />
<strong>-p</strong> pretend to do the emerge</p>
<p>The &#8216;<strong>world</strong>&#8216; argument tells emerge to use the list of packages in your world file.  This list contains all packages that have been directly emerged on your system.  These packages do not include dependences or packages that were emerged using the &#8216;<strong>&#8211;oneshot</strong>&#8216; option. Your world file is located here <strong>/var/lib/portage/world</strong>.</p>
<p>The output of this command will tell you one of two things.  Either everything is good and you can go ahead and perform the update, or Portage has found some conflicts such as blocking packages that must be fixed before you continue. Hopefully the former is the case, but if there are conflicts Portage messages will usually point you in the right direction.</p>
<p>Before performing the actual update you can <a href="http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch">use the parallel-fetch feature</a> to speed up the package downloads and shorten the update process. To do this add the following line to <strong>/etc/make.conf</strong>.</p>
<pre>
FEATURES="parallel-fetch"
</pre>
<p>If there are no Portage issues, you have reviewed the list of packages to be installed and everything looks correct, then you can start the update. To perform the update run the same command as before but remove the &#8216;<strong>-p</strong>&#8216; option.</p>
<pre>
# emerge -uDNv world
</pre>
<p>Occasionally a system update will break shared library dependencies as an upgraded package may no longer be compatible with packages which use it. Enter the <strong>revdep-rebuild</strong> reverse dependency re-builder tool. </p>
<p>The revdep-rebuild tool is part of the <strong>gentoolkit</strong> package which you must emerge first.</p>
<p>Run this command after a large system update to ensure all packages are in good shape.</p>
<pre>
# revdep-rebuild
</pre>
<p>This command will scan your system for missing shared library dependencies and fix them by re-emerging those missing packages.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch' rel='bookmark' title='Permanent Link: Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;'>Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo' rel='bookmark' title='Permanent Link: Install Java browser plugin in Gentoo'>Install Java browser plugin in Gentoo</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge' rel='bookmark' title='Permanent Link: View the status of a long emerge'>View the status of a long emerge</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed up Gentoo emerge with &#8220;parallel-fetch&#8221;</title>
		<link>http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=speed-up-gentoo-emerge-with-parallel-fetch</link>
		<comments>http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch#comments</comments>
		<pubDate>Mon, 29 Sep 2008 00:03:03 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[make.conf]]></category>
		<category><![CDATA[parallel-fetch]]></category>
		<category><![CDATA[portage]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=160</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/>By default when you emerge a long list of packages in Gentoo you have to download each package completely before the build process can begin. This can be a large bottleneck, especially if your internet connection is not very fast. Luckily Portage has a great solution. Go to the file /etc/make.conf and add &#8220;parallel-fetch&#8221; to [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge' rel='bookmark' title='Permanent Link: View the status of a long emerge'>View the status of a long emerge</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo' rel='bookmark' title='Permanent Link: Install Java browser plugin in Gentoo'>Install Java browser plugin in Gentoo</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/gentoo_icon.png" width="80" height="82" alt="" title="gentoo" /><br/><p>By default when you emerge a long list of packages in Gentoo you have to download each package completely before the build process can begin. This can be a large bottleneck, especially if your internet connection is not very fast.</p>
<p>Luckily Portage has a great solution. </p>
<p>Go to the file <strong>/etc/make.conf</strong> and add &#8220;<strong>parallel-fetch</strong>&#8221; to the <strong>FEATURES</strong> variable like this.</p>
<pre>
FEATURES="parallel-fetch"
</pre>
<p>If the <strong>FEATURE</strong> variable already exists add &#8220;<strong>parallel-fetch</strong>&#8221; to the end separated by whitespace.</p>
<pre>
FEATURES="sandbox parallel-fetch"
</pre>
<p>From now on Portage will fetch the source files for the next package in the list even while it is compiling another package.</p>
<p>To see parallel fetch progress, run this command.</p>
<pre>
$ tail -f /var/log/emerge-fetch.log
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/gentoo/update-your-entire-gentoo-linux-system' rel='bookmark' title='Permanent Link: Update your entire Gentoo Linux system'>Update your entire Gentoo Linux system</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/view-the-status-of-a-long-emerge' rel='bookmark' title='Permanent Link: View the status of a long emerge'>View the status of a long emerge</a></li>
<li><a href='http://www.wiredrevolution.com/gentoo/install-java-browser-plugin-gentoo' rel='bookmark' title='Permanent Link: Install Java browser plugin in Gentoo'>Install Java browser plugin in Gentoo</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/gentoo/speed-up-gentoo-emerge-with-parallel-fetch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

