1 |
Alex Schuster wrote: |
2 |
> Jarry writes: |
3 |
> |
4 |
>> On 15-Nov-11 20:36, Andrey Moshbear wrote: |
5 |
>>> On Tue, Nov 15, 2011 at 13:58, Jarry<mr.jarry@×××××.com> wrote: |
6 |
>>>> today I upgraded gcc from 4.4.5 to the last stable version |
7 |
>>>> But at the and I noticed gcc 4.4 has not been unmerged |
8 |
>>>> and my "world" file is somehow larger. To my surprise, |
9 |
>>>> it contains these lines: |
10 |
>>>> |
11 |
>>>> sys-devel/gcc |
12 |
>>>> sys-devel/gcc:4.4 |
13 |
>>> Because your forgot the -1 / --oneshot flag when manually upgrading gcc. |
14 |
>> Hm, I always thought "--oneshot" was not necessary when |
15 |
>> doing update. Even "Gentoo GCC Upgrade Guide" says just |
16 |
>> "emerge -u gcc" (or "emerge -uav gcc" in DE-version). |
17 |
>> The option "--oneshot" is used there only for libtool. |
18 |
>> |
19 |
>> And I'm pretty sure I've never used "--oneshot" when |
20 |
>> updating any packages, yet they have never been added |
21 |
>> to world-file... |
22 |
> Nope. Just try again with a small package, as I just did, emerge -u will |
23 |
> add it to the world file. This has not always been the case, but it has |
24 |
> been changed at least some years ago. I'm using the newest portage, but |
25 |
> I believe the stable portage works the same. |
26 |
> |
27 |
> Wonko |
28 |
> |
29 |
> |
30 |
|
31 |
|
32 |
I tested this and it does add it to the world file. |
33 |
|
34 |
root@fireball / # emerge -uv kwrite |
35 |
|
36 |
These are the packages that would be merged, in order: |
37 |
|
38 |
Calculating dependencies... done! |
39 |
|
40 |
Total: 0 packages, Size of downloads: 0 kB |
41 |
|
42 |
* kde-base/kwrite |
43 |
|
44 |
>>> Recording kde-base/kwrite in "world" favorites file... |
45 |
>>> Jobs: 0 of 0 complete Load avg: 0.76, |
46 |
0.39, 0.30 |
47 |
>>> Auto-cleaning packages... |
48 |
|
49 |
>>> No outdated packages were found on your system. |
50 |
root@fireball / # |
51 |
|
52 |
Then this: |
53 |
|
54 |
root@fireball / # cat /var/lib/portage/world | grep kwrite |
55 |
kde-base/kwrite |
56 |
root@fireball / # |
57 |
|
58 |
Is this a bug? Just because you update a package doesn't mean you want |
59 |
it in the world file. |
60 |
|
61 |
Maybe a I need to set --oneshot in make.conf and just use -n when I |
62 |
really want something in the world file. |
63 |
|
64 |
Dale |
65 |
|
66 |
:-) :-) |
67 |
|
68 |
-- |
69 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |