Tuesday, January 10, 2006

A sticky lesson

With a dial-up connection reaching 14kbps at max, an ‘emerge-delta-webrsync’ consuming only 5 minutes of your uptime, a free access from 0000H - 0800H, and a script that does nasty things like disconnect after ‘emerge -f foo’ and switch to ‘init 0′, You will not be able to resist the clamor for an up-to-date box.


The lesson began here:



root@kee# emerge =sys-devel/gcc-3.4.4

This does not mean dirty!



joset@kee$ eix -e gcc

* sys-devel/gcc
...
Installed: 3.3.6 3.4.4-r1
Homepage: http://www.gnu.org/software/gcc/gcc.html
...

Found 1 matches
joset@kee$

Not realizing that having multiple GCCs installed is normal, and without following the upgrading-gcc-guide, a stupid action followed.



root@kee# emerge -C =sys-devel/gcc-3.3.6

Bang! libstdc++.so.5.0.6, where the hell are you? All programs linked dynamically to this library were paralized! My intention was to clean up gcc-3.3.6 since I have emerged gcc-3.4.4 recently.


After abusing /dev/ppp0’s abnormal upstream and downstream rates, I have finally learned my lessons.

Luckily, my box was revived!
The solution found in http://gentoo-wiki.org proved its worth.

No comments: