<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Gentoo/Layman/eix  -update problems.</title>
	<atom:link href="http://cranialtrauma.co.uk/2009/02/gentoolaymaneix-update-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://cranialtrauma.co.uk/2009/02/gentoolaymaneix-update-problems/</link>
	<description>Taking a wedge to the cracks in your psyche.</description>
	<lastBuildDate>Sun, 11 Sep 2011 15:41:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Toker</title>
		<link>http://cranialtrauma.co.uk/2009/02/gentoolaymaneix-update-problems/comment-page-1/#comment-3853</link>
		<dc:creator>Toker</dc:creator>
		<pubDate>Fri, 24 Dec 2010 14:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=286#comment-3853</guid>
		<description>seems to have been all my own sleep deprived fault; having the layman files in a path different to the one in make.conf doesn&#039;t help. Saying that the path changed 3 times in as many version bumps, so...</description>
		<content:encoded><![CDATA[<p>seems to have been all my own sleep deprived fault; having the layman files in a path different to the one in make.conf doesn&#8217;t help. Saying that the path changed 3 times in as many version bumps, so&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: totedati</title>
		<link>http://cranialtrauma.co.uk/2009/02/gentoolaymaneix-update-problems/comment-page-1/#comment-3233</link>
		<dc:creator>totedati</dc:creator>
		<pubDate>Mon, 20 Sep 2010 23:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://cranialtrauma.co.uk/?p=286#comment-3233</guid>
		<description>yeah ... same head scratching problem .... my layman:

$ layman -l                                                                                                            
* sabayon                   [Git       ] (git://sabayon.org/projects/overlay.git                                      )
* sunrise                   [Subversion] (svn://overlays.gentoo.org/proj/sunrise/reviewed/                            )

eix-update -a sunrise
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] &quot;gentoo&quot; /mnt/entropy/usr/portage/ (cache: metadata-flat)
     Reading category 154&#124;154 (100%) Finished             
[1] &quot;sabayon&quot; /mnt/entropy/usr/local/portage/layman/sabayon (cache: parse#metadata-flat#assign)
     Reading category 154&#124;154 (100%) Finished             
[2] &quot;sunrise&quot; /mnt/entropy/var/lib/layman/sunrise (cache: parse#metadata-flat#assign)
     Reading category 154&#124;154 (100%) Finished             
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 15178 packages in 154 categories.

but after that:

eix-update
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] &quot;gentoo&quot; /mnt/entropy/usr/portage/ (cache: metadata-flat)
     Reading category 154&#124;154 (100%) Finished             
[1] &quot;sabayon&quot; /mnt/entropy/usr/local/portage/layman/sabayon (cache: parse#metadata-flat#assign)
     Reading category 154&#124;154 (100%) Finished             
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 14469 packages in 154 categories.

this means eix-update -a sunrise do not make permanent changes ... grrrr ... eix-layman -a sunrise has no effect ... now a real puffy begginer linux user will run around screaming ;-D

but ... hey! lets do it again and this time MAKE OUR EYES EAGLES EYES:

eix-layman -a sunrise                                                                                  
Usage: eix-layman [options] command
Add or remove local layman overlays to the eix database (eix 0.20.6).

Explanation: If your /etc/make.conf does not source layman/make.conf,
then the layman overlays are not considered as part of you PORTDIR_OVERLAY;
in this case, they are are usually not added to your eix database and thus
cannot be found with eix.
However, you might want to add/remove them temporarily to your eix database
without changing your /etc/make.conf. This is the purpose of this script.
This script is also meant as an example how to use eix-functions.sh.

The following commands are provided:

add:    Add the local layman overlays to the eix database
remove: Remove the local layman overlays from the eix database.

Available options:

-a OVERLAY    Add overlay to the list of layman overlays.
-A PATH       Add PATH to the sourced make.confs used to determine
              the layman overlays. Current value:
              /usr/local/portage/layman/make.conf
-C            Clear the above list
-c LAYMAN_CFG Use layman.cfg file to determine entry for above list
-v            Verbose (default)
-q            Quiet

Current value: /usr/local/portage/layman/make.conf ... hmmmm ... let&#039;s see:

eix-update -a sunrise

cat &quot;/usr/local/portage/layman/make.conf&quot;                                                                            
PORTDIR_OVERLAY=&quot;
/usr/local/portage/layman/sabayon
$PORTDIR_OVERLAY
&quot;
ha! one step more:

cat /var/lib/layman/make.conf 
PORTDIR_OVERLAY=&quot;
/var/lib/layman/sabayon
/var/lib/layman/sunrise
$PORTDIR_OVERLAY

BINGO! look like layman use &quot;/var/lib/layman/make.conf&quot; but eix read &quot;/usr/local/portage/layman/make.conf&quot; ... yeah! smart!

sudo cp -i /var/lib/layman/make.conf /usr/local/portage/layman/make.conf
cp: overwrite `/usr/local/portage/layman/make.conf&#039;? y

eix-update
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] &quot;gentoo&quot; /mnt/entropy/usr/portage/ (cache: metadata-flat)
     Reading category 154&#124;154 (100%) Finished             
[1] &quot;sabayon&quot; /mnt/entropy/var/lib/layman/sabayon (cache: parse#metadata-flat#assign)
     Reading category 154&#124;154 (100%) Finished             
[2] &quot;sunrise&quot; /mnt/entropy/var/lib/layman/sunrise (cache: parse#metadata-flat#assign)
     Reading category 154&#124;154 (100%) Finished             
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 15245 packages in 154 categories.

problem solved ... as an extra investigation:

cat /etc/make.conf &#124; grep layman
source /usr/local/portage/layman/make.conf

&quot;If your /etc/make.conf does not source layman/make.conf&quot; is a confusing statement ... layman/make.conf is not a real path!</description>
		<content:encoded><![CDATA[<p>yeah &#8230; same head scratching problem &#8230;. my layman:</p>
<p>$ layman -l<br />
* sabayon                   [Git       ] (git://sabayon.org/projects/overlay.git                                      )<br />
* sunrise                   [Subversion] (<a href="svn://overlays.gentoo.org/proj/sunrise/reviewed/" rel="nofollow">svn://overlays.gentoo.org/proj/sunrise/reviewed/</a>                            )</p>
<p>eix-update -a sunrise<br />
Reading Portage settings ..<br />
Building database (/var/cache/eix) ..<br />
[0] &#8220;gentoo&#8221; /mnt/entropy/usr/portage/ (cache: metadata-flat)<br />
     Reading category 154|154 (100%) Finished<br />
[1] &#8220;sabayon&#8221; /mnt/entropy/usr/local/portage/layman/sabayon (cache: parse#metadata-flat#assign)<br />
     Reading category 154|154 (100%) Finished<br />
[2] &#8220;sunrise&#8221; /mnt/entropy/var/lib/layman/sunrise (cache: parse#metadata-flat#assign)<br />
     Reading category 154|154 (100%) Finished<br />
Applying masks ..<br />
Calculating hash tables ..<br />
Writing database file /var/cache/eix ..<br />
Database contains 15178 packages in 154 categories.</p>
<p>but after that:</p>
<p>eix-update<br />
Reading Portage settings ..<br />
Building database (/var/cache/eix) ..<br />
[0] &#8220;gentoo&#8221; /mnt/entropy/usr/portage/ (cache: metadata-flat)<br />
     Reading category 154|154 (100%) Finished<br />
[1] &#8220;sabayon&#8221; /mnt/entropy/usr/local/portage/layman/sabayon (cache: parse#metadata-flat#assign)<br />
     Reading category 154|154 (100%) Finished<br />
Applying masks ..<br />
Calculating hash tables ..<br />
Writing database file /var/cache/eix ..<br />
Database contains 14469 packages in 154 categories.</p>
<p>this means eix-update -a sunrise do not make permanent changes &#8230; grrrr &#8230; eix-layman -a sunrise has no effect &#8230; now a real puffy begginer linux user will run around screaming ;-D</p>
<p>but &#8230; hey! lets do it again and this time MAKE OUR EYES EAGLES EYES:</p>
<p>eix-layman -a sunrise<br />
Usage: eix-layman [options] command<br />
Add or remove local layman overlays to the eix database (eix 0.20.6).</p>
<p>Explanation: If your /etc/make.conf does not source layman/make.conf,<br />
then the layman overlays are not considered as part of you PORTDIR_OVERLAY;<br />
in this case, they are are usually not added to your eix database and thus<br />
cannot be found with eix.<br />
However, you might want to add/remove them temporarily to your eix database<br />
without changing your /etc/make.conf. This is the purpose of this script.<br />
This script is also meant as an example how to use eix-functions.sh.</p>
<p>The following commands are provided:</p>
<p>add:    Add the local layman overlays to the eix database<br />
remove: Remove the local layman overlays from the eix database.</p>
<p>Available options:</p>
<p>-a OVERLAY    Add overlay to the list of layman overlays.<br />
-A PATH       Add PATH to the sourced make.confs used to determine<br />
              the layman overlays. Current value:<br />
              /usr/local/portage/layman/make.conf<br />
-C            Clear the above list<br />
-c LAYMAN_CFG Use layman.cfg file to determine entry for above list<br />
-v            Verbose (default)<br />
-q            Quiet</p>
<p>Current value: /usr/local/portage/layman/make.conf &#8230; hmmmm &#8230; let&#8217;s see:</p>
<p>eix-update -a sunrise</p>
<p>cat &#8220;/usr/local/portage/layman/make.conf&#8221;<br />
PORTDIR_OVERLAY=&#8221;<br />
/usr/local/portage/layman/sabayon<br />
$PORTDIR_OVERLAY<br />
&#8221;<br />
ha! one step more:</p>
<p>cat /var/lib/layman/make.conf<br />
PORTDIR_OVERLAY=&#8221;<br />
/var/lib/layman/sabayon<br />
/var/lib/layman/sunrise<br />
$PORTDIR_OVERLAY</p>
<p>BINGO! look like layman use &#8220;/var/lib/layman/make.conf&#8221; but eix read &#8220;/usr/local/portage/layman/make.conf&#8221; &#8230; yeah! smart!</p>
<p>sudo cp -i /var/lib/layman/make.conf /usr/local/portage/layman/make.conf<br />
cp: overwrite `/usr/local/portage/layman/make.conf&#8217;? y</p>
<p>eix-update<br />
Reading Portage settings ..<br />
Building database (/var/cache/eix) ..<br />
[0] &#8220;gentoo&#8221; /mnt/entropy/usr/portage/ (cache: metadata-flat)<br />
     Reading category 154|154 (100%) Finished<br />
[1] &#8220;sabayon&#8221; /mnt/entropy/var/lib/layman/sabayon (cache: parse#metadata-flat#assign)<br />
     Reading category 154|154 (100%) Finished<br />
[2] &#8220;sunrise&#8221; /mnt/entropy/var/lib/layman/sunrise (cache: parse#metadata-flat#assign)<br />
     Reading category 154|154 (100%) Finished<br />
Applying masks ..<br />
Calculating hash tables ..<br />
Writing database file /var/cache/eix ..<br />
Database contains 15245 packages in 154 categories.</p>
<p>problem solved &#8230; as an extra investigation:</p>
<p>cat /etc/make.conf | grep layman<br />
source /usr/local/portage/layman/make.conf</p>
<p>&#8220;If your /etc/make.conf does not source layman/make.conf&#8221; is a confusing statement &#8230; layman/make.conf is not a real path!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

