Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-19 Thread Dale
»Q« wrote:
> On Sat, 19 Mar 2016 19:03:24 +0200
> Alan McKinnon  wrote:
>
 Recording @testset in "world_sets" favorites file...
> I had also been under the mistaken impression that --update 
> implied --oneshot, but I see that it's not so.
>
>
>
>

Don't worry, a lot of us learned that the hard way. 

Dale

:-)  :-)



Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-19 Thread Alan McKinnon
On 19/03/2016 18:43, »Q« wrote:
> On Fri, 18 Mar 2016 23:55:19 +0200
> Alan McKinnon  wrote:
> 
>> On 18/03/2016 20:43, »Q« wrote:
>>> On Thu, 17 Mar 2016 20:37:04 -0400
>>> Alec Ten Harmsel  wrote:
>>>   
> emerge --update --newuse --deep --with-bdeps=y system
> --keep-going

 Add "--oneshot", same reasoning as above.  
>>>
>>> When the target is a set (in this case @system), does portage ever
>>> add all of it to @world? 
>>
>> Effectively, yes. That's not what the code does of course (they go
>> into world_sets) but the behaviour is as if the set was in world, and
>> gets added/removed as a complete unit
> 
> Hmm, that doesn't match my experience.  I just tested with the smallest
> set I ever use, @module-rebuild :
> 
> # emerge @module-rebuild
> Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
 Installing (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
 Jobs: 1 of 1 complete   Load avg: 2.04,
 0.80, 0.52 Auto-cleaning packages...
> 
 No outdated packages were found on your system.
> 
>  * GNU info directory index is up-to-date.
> # cat /var/lib/portage/world_sets 
> # file /var/lib/portage/world_sets 
> /var/lib/portage/world_sets: empty
> 
> I don't think I have anything in make.conf which would change the
> default behavior WRT world_sets, but here's what I have anyway:
> 
> FEATURES="binpkg-logs buildsyspkg collision-protect downgrade-backup
>  fail-clean fixlafiles news parallel-fetch parallel-install
>  preserve-libs sandbox strict unknown-features-warn userfetch
>  userpriv usersandbox usersync"
> 
> EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=8 --load-average 11.2 
> --with-bdeps y"
> 
> 
> 


@module-rebuild is a dynamic set. It translates to "all the packages you
have emerged that install out-of-tree kernel modules"

So not really a fair comparison. Compare instead against a regular
static set - "a bunch of packages defined by you that go together and
live in /etc/portage/sets/"

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-19 Thread Alan McKinnon
On 18/03/2016 20:43, »Q« wrote:
> On Thu, 17 Mar 2016 20:37:04 -0400
> Alec Ten Harmsel  wrote:
> 
>>> emerge --update --newuse --deep --with-bdeps=y system --keep-going  
>>
>> Add "--oneshot", same reasoning as above.
> 
> When the target is a set (in this case @system), does portage ever add
> all of it to @world?
> 
> 

Effectively, yes. That's not what the code does of course (they go into
world_sets) but the behaviour is as if the set was in world, and gets
added/removed as a complete unit


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-18 Thread Alec Ten Harmsel
On Fri, Mar 18, 2016 at 01:43:53PM -0500, »Q« wrote:
> On Thu, 17 Mar 2016 20:37:04 -0400
> Alec Ten Harmsel  wrote:
> 
> > > emerge --update --newuse --deep --with-bdeps=y system --keep-going  
> > 
> > Add "--oneshot", same reasoning as above.
> 
> When the target is a set (in this case @system), does portage ever add
> all of it to @world?
> 

Apparently it does not. I know it does that for individual packages, so
I just assumed it did that for sets as well. I stand corrected.

Alec