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

2009-08-08 Thread Nikos Chantziaras

On 08/08/2009 11:20 PM, Dale wrote:

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.


I think you're confusing emerge -e with emerge -u :)




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

2009-08-08 Thread Nikos Chantziaras

On 08/08/2009 11:31 PM, Alan McKinnon wrote:

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.


I just thought of something.  I can apparently just quickpgk them, 
unmerge them, emerge -e world, and then emerge the binary packages again.





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

2009-08-08 Thread Dale
Nikos Chantziaras wrote:
 On 08/08/2009 11:20 PM, Dale wrote:
 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.

 I think you're confusing emerge -e with emerge -u :)




I don't think so.  If it is masked, it shouldn't try to upgrade the
package.  I have a few packages that are masked and when I do my
occasional emerge -e world, it installs or recompiles the previous or
older version.  From what I have seen, if it is masked, portage can't
see it.  Sort of like when you put a mask on your face.  It can't be seen. 

I do bet there are other ways tho.

Dale

:-)  :-) 



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

2009-08-08 Thread Neil Bothwick
On Sat, 08 Aug 2009 23:43:56 +0300, Nikos Chantziaras wrote:

 I just thought of something.  I can apparently just quickpgk them, 
 unmerge them, emerge -e world, and then emerge the binary packages
 again.

Or you could temporarily remove them from the world file, unless they are
dependencies of something else.


-- 
Neil Bothwick

Top Oxymorons Number 18: Taped live


signature.asc
Description: PGP signature


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

2009-08-08 Thread Alan McKinnon
On Saturday 08 August 2009 23:36:26 Neil Bothwick wrote:
 On Sat, 08 Aug 2009 23:43:56 +0300, Nikos Chantziaras wrote:
  I just thought of something.  I can apparently just quickpgk them,
  unmerge them, emerge -e world, and then emerge the binary packages
  again.

 Or you could temporarily remove them from the world file, unless they are
 dependencies of something else.

package.provided perhaps?

-- 
alan dot mckinnon at gmail dot com