On Thu, 28 Aug 2008 19:11:34 +0530, Suman Chakrabarty
<[EMAIL PROTECTED]> wrote:
> Dirk Heinrichs wrote:
>> Am Donnerstag, 28. August 2008 14:19:46 schrieb ext Suman Chakrabarty:
>>   
>>> Now my question is: why? "man emerge" says that the -1 option is
>>> equivalent to "--oneshot" which is "Emerge as normal, but do not add
> the
>>> packages to the world file for later updating." But how does it help
>>> emerge something which was not emerging without -1?! May be I am
> missing
>>> something obvious, but please explain.
>>>     
>>
>> emerge adds only those packages to the world file which you specify 
>> explicitely on the command line. All other packages which are installed
> to 
>> fulfill the dependencies are not added. When you do a normal update,
> only 
>> those packages listed in world are considered. To update dependencies as
> well, 
>> you need to use -D. Therefor you should emerge kdelibs with -1 to avoid
> having 
>> it added to the world file.
>>   
> 
> 
> Thanks, but I don't think my confusion was addressed fully. Let me
> explain. The following command did not work as reported (and suggested)
> before:
> 
>   ~ # emerge -D --newuse kdelibs
> Calculating dependencies... done!
>>>> Auto-cleaning packages...
> 
>>>> No outdated packages were found on your system.
> 
> 
> But, "emerge -1v kdelibs" worked as suggested. I don't understand why it
> works with -1 option added, but not without. Even if I had included
> kdelibs in the world file, it should have been re-emerged through the
> previous command, right? I didn't see through the additional magic done
> by -1!

This has not worked not because of the -1, but because you remove --newuse
! --newuse will emerge the package only if its use flags has changed, and
it wasn't the case :)

> 
> Regards,
> Suman Chakrabarty.
> 
> 
>
-- 
Xavier Parizet


Reply via email to