1 |
On Sun, Jan 24, 2010 at 19:02, Dale <rdalek1967@×××××.com> wrote: |
2 |
> Since unmerging python results in a broken system, I'm not sure how this |
3 |
> "pollutes" anything. The system set is to maintain a working and bootable |
4 |
> system that can install packages and portage requires python to work. What |
5 |
> good is a Gentoo system without a working package manager? |
6 |
|
7 |
There are two issues here: |
8 |
|
9 |
* Avoiding hacks for deciding which packages are needed for system |
10 |
* Helping users avoid the dangerous mistake of crippling the package manager. |
11 |
|
12 |
Here's how I see this break down. To avoid crippling the package |
13 |
manager, the user must be warned of an action that will cripple the |
14 |
package manager. If removing python cripples the package manager, then |
15 |
warn the user. It's quite simple. Adding python to the system set is |
16 |
messy, as pointed out, but somehow there must be a way to determine |
17 |
that python is needed by the package manager. |
18 |
|
19 |
The last remaining option (without adding any new features) is to |
20 |
track on which packages are required by the system set and warning |
21 |
about removing any packages required by any package in the system set. |
22 |
This seems like a good solution. |
23 |
|
24 |
|
25 |
I could also argue that using "emerge -C" period is dangerous, as some |
26 |
here have mentioned. As far as I can tell, the best way to remove a |
27 |
package is to edit the package out of /var/lib/portage/world file and |
28 |
then letting portage safely remove packages via "--depclean". (This is |
29 |
outside the current topic, of course, so if anyone wants to seriously |
30 |
propose this it should be re-posted under a new subject heading.) |
31 |
|
32 |
-- |
33 |
Jacob |
34 |
|
35 |
"For then there will be great distress, unequaled |
36 |
from the beginning of the world until now — and never |
37 |
to be equaled again. If those days had not been cut |
38 |
short, no one would survive, but for the sake of the |
39 |
elect those days will be shortened." |
40 |
|
41 |
Are you ready? |