Jarry writes:

> On 15-Nov-11 20:36, Andrey Moshbear wrote:
>> On Tue, Nov 15, 2011 at 13:58, Jarry<mr.ja...@gmail.com>  wrote:
>>> today I upgraded gcc from 4.4.5 to the last stable version
>>> But at the and I noticed gcc 4.4 has not been unmerged
>>> and my "world" file is somehow larger. To my surprise,
>>> it contains these lines:
>>>
>>> sys-devel/gcc
>>> sys-devel/gcc:4.4
>>
>> Because your forgot the -1 / --oneshot flag when manually upgrading gcc.
> 
> Hm, I always thought "--oneshot" was not necessary when
> doing update. Even "Gentoo GCC Upgrade Guide" says just
> "emerge -u gcc" (or "emerge -uav gcc" in DE-version).
> The option "--oneshot" is used there only for libtool.
> 
> And I'm pretty sure I've never used "--oneshot" when
> updating any packages, yet they have never been added
> to world-file...

Nope. Just try again with a small package, as I just did, emerge -u will
add it to the world file. This has not always been the case, but it has
been changed at least some years ago. I'm using the newest portage, but
I believe the stable portage works the same.

        Wonko

Reply via email to