instead of : ------------------------------------------------------------------------------ Code Listing 4.4: Rebuilding system # emerge -e system Cleaning up It is also safe to remove older GCC versions at this time. Please substitute YOUR-NEW-GCC-VERSION with the actual version you've upgraded to: Code Listing 4.5: Cleaning up # emerge -aC "<sys-devel/gcc-YOUR-NEW-GCC-VERSION" ------------------------------------------------------------------------------ should be : (...) Cleaning up It is also safe to remove older GCC versions at this time. Please substitute YOUR-OLD-GCC-VERSION with the actual version you've upgraded from: Code Listing 4.5: Cleaning up # emerge -aC "<sys-devel/gcc-YOUR-OLD-GCC-VERSION" (..) Reproducible: Always
Nope, read it again. See the < atom in front of the GCC version? This means "remove any version LESS THAN the specified version." Let's say you're upgrading from 4.1 to 4.2. Once the upgrade is complete, running "emerge -aC <gcc-4.2" will prompt to remove gcc 4.1, not 4.2. The guide is correct. Please read "man emerge" to learn more about atoms such as >, <, and =.
*** Bug 265664 has been marked as a duplicate of this bug. ***