1 |
On 07/09/2010 07:45 PM, Valmor de Almeida wrote: |
2 |
> Dale wrote: |
3 |
> [snip] |
4 |
>> |
5 |
>> Is rebuilding the whole system needed for that upgrade tho? |
6 |
>> |
7 |
>> Dale |
8 |
>> |
9 |
>> :-) :-) |
10 |
>> |
11 |
> |
12 |
> Thought it would be a good idea to have a consistent system; not sure |
13 |
> whether it is necessary. |
14 |
> |
15 |
> Thanks for the replies. |
16 |
|
17 |
The only real need to re-emerge packages is if the new gcc version updates |
18 |
your version of libstdc++, because that lib is supplied by each new version |
19 |
of the gcc package: |
20 |
|
21 |
$ls -l /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++* |
22 |
-rw-r--r-- 1 root root 2237388 2010-06-06 13:16 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++.a |
23 |
lrwxrwxrwx 1 root root 19 2010-06-06 13:17 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++.so -> libstdc++.so.6.0.13* |
24 |
lrwxrwxrwx 1 root root 19 2010-06-06 13:17 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++.so.6 -> libstdc++.so.6.0.13* |
25 |
-rwxr-xr-x 1 root root 954472 2010-06-06 13:16 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++.so.6.0.13* |
26 |
-rw-r--r-- 1 root root 2384572 2010-06-06 13:16 /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libstdc++_pic.a |
27 |
|
28 |
The only packages on your machine that would be affected by the gcc update are those |
29 |
packages that are linked against the OLD version of libstdc++.so. Running revdep-rebuild |
30 |
should rebuild/reinstall all of those packages. Theoretically speaking, of course :) |