1 |
Neil Bothwick wrote: |
2 |
> On Wed, 3 Feb 2010 21:29:30 +0200, Alan McKinnon wrote: |
3 |
> |
4 |
> |
5 |
>>> Taken more globally, maybe portage should warn whenever you are |
6 |
>>> trying to remove a package that is a dependency of anything in |
7 |
>>> @world. |
8 |
>>> |
9 |
>> |
10 |
>> Could be useful if implemented with an off switch |
11 |
>> |
12 |
>> Or leave it off by default, users can enable it in make.conf if they |
13 |
>> wish. I often unmerge deps of things in world, but I know (usually) |
14 |
>> what I'm doing and will follow up with a --deep later. Annoying "Are |
15 |
>> you sure?" "Are you REALLY sure?" might make me switch to Ubuntu :-) |
16 |
>> |
17 |
> |
18 |
> A command line argument (--force?) would be fine, but you can't complain |
19 |
> it's annoying when you have just complained that portage doesn't do this. |
20 |
> Either you want to be able to shoot yourself in the foot or you don't. |
21 |
> |
22 |
> |
23 |
|
24 |
I agree with this. I like the idea of --force. It would let portage |
25 |
know that you are aware of what you are doing. Thing is, sometimes new |
26 |
people remove python and they don't know YET that portage has to have |
27 |
python. They find that out afterwards. |
28 |
|
29 |
Thing is, if you try to unmerge portage, it will tell you it will break |
30 |
stuff. Removing portage can be recovered from easily. We don't really |
31 |
need a warning for that. You just untar the thing and carry on. |
32 |
Removing python is not that simple unless you happen to have a binary |
33 |
saved. The bad thing is, since python is not a "system" package, it |
34 |
doesn't even save the last compiled binary in /usr/portage/packages/All/ |
35 |
if you only have buildsyspkg in make.conf. It does portage but not |
36 |
python. If you want to have python saved, you have to do it manually or |
37 |
set buildpkg in make.conf which will save a copy of EVERYTHING. That |
38 |
would include the world packages as well. |
39 |
|
40 |
I seriously doubt the devs will change any of this anytime soon tho. |
41 |
This is pretty much a mute point. |
42 |
|
43 |
Dale |
44 |
|
45 |
:-) :-) |