Jarry wrote:
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...

Jarry



I think you are correct. When you use the -u option, it shouldn't add anything to the world file. Than again, weird things happen from time to time. Take the two entries out and see what emerge says to a emerge -uavDN world which should catch about everything. Then see what -a --depclean says. If it tries to remove the older version then that may be why it was added.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!


Reply via email to