[gentoo-user] Looking for a way to exclude packages from emerge -e

2009-08-08 Thread Nikos Chantziaras
I will need to perform an emerge -e world on a system.  However, I 
would like to be able to exclude some packages from being rebuild 
without uninstalling them.  Does portage provide for that?





Re: [gentoo-user] Looking for a way to exclude packages from emerge -e

2009-08-08 Thread Dale
Nikos Chantziaras wrote:
 I will need to perform an emerge -e world on a system.  However, I
 would like to be able to exclude some packages from being rebuild
 without uninstalling them.  Does portage provide for that?




You could mask the version higher than what you have or just mask the
specific version it is trying to upgrade to.  The former will not
upgrade until you remove the mask.  The later will remind you the next
time there is a version bump.  I sort of prefer the later version just
in case I forget that I masked something. 

There may be other ways to tho.

Dale

:-)  :-)



Re: [gentoo-user] Looking for a way to exclude packages from emerge -e

2009-08-08 Thread Alan McKinnon
On Saturday 08 August 2009 21:30:59 Nikos Chantziaras wrote:
 I will need to perform an emerge -e world on a system.  However, I
 would like to be able to exclude some packages from being rebuild
 without uninstalling them.  Does portage provide for that?


No.

-e is intended to rebuild *eveything*, not everything except something.

You need to take the long way round and find everything in /var/db/pkg, 
compile a list of everything there, remove the ones to be excluded and 
redirect the whole list to emerge. It might even fit on one command line.

-- 
alan dot mckinnon at gmail dot com