Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ARGH I uninstalled python
Date: Sun, 24 May 2009 19:16:14
Message-Id: 4A199CCC.7020502@gmail.com
In Reply to: Re: [gentoo-user] ARGH I uninstalled python by Alan McKinnon
1 Alan McKinnon wrote:
2 > On Sunday 24 May 2009 20:11:03 Dale wrote:
3 >
4 >> Alan McKinnon wrote:
5 >>
6 >>> On Sunday 24 May 2009 19:26:43 Dale wrote:
7 >>>
8 >>>> Also, is this the file that contains the system set?
9 >>>>
10 >>>> /usr/portage/profiles/base/packages
11 >>>>
12 >>>> If so, python is commented out as is a few others. Is there a way to
13 >>>> add files to something in /etc that emerge would consider in addition to
14 >>>> this file? In other words, if a user is using portage, is there a place
15 >>>> that they could set this in /etc so that it overrides the fact it is
16 >>>> missing in the system set? Just add python and other missing packages
17 >>>> to the file and we can carry on. I assume adding it to world would not
18 >>>> do any good with buildsyspkg enabled?
19 >>>>
20 >>> profiles are cascading and support multiple inheritance (parent files can
21 >>> contain several entries). So, you have to run
22 >>>
23 >>> find /usr/portage/profiles -name packages
24 >>>
25 >>> to find them all, and apply brain power to find the few that actually
26 >>> apply to you
27 >>>
28 >> Something like this?
29 >>
30 >> root@smoker / # ls -al /etc/make.profile
31 >> lrwxrwxrwx 1 root root 55 Dec 16 22:09 /etc/make.profile ->
32 >> /usr/portage/profiles/default/linux/x86/2008.0/desktop/
33 >> root@smoker / #
34 >>
35 >> I would assume it uses what the make.profile is linked to. Correct?
36 >> Thing is, is there some file supported in /etc/ that is user editable?
37 >> If not, then it doesn't matter. If a user edits the file in
38 >> /usr/portage, it will default back when re-syncing.
39 >>
40 >
41 > OK, I see what your question is now.
42 >
43 > According to 'man 5 portage' you would add it to /etc/portage/profile/packages
44 > which you likely have to create yourself
45 >
46 >
47
48 I just did. I did a emerge -ep system to see what it lists. From my
49 understanding emerge lists things in the "system" set in bold green.
50 There are three that are in light or not bold green. They are:
51
52 [ebuild R ] app-admin/eselect-1.1_rc2
53 [ebuild R ] sys-libs/cracklib-2.8.13
54 [ebuild R ] dev-java/sun-jdk-1.6.0.13
55
56 I assume those are pulled in as a dependency of something else but I
57 don't consider them "critical" for portage or to boot.
58
59 Python is listed as dark or bold green so I guess it is included in the
60 system set.
61
62 Am I OK now? Well, as OK as I ever get anyway. ;-)
63
64 Dale
65
66 :-) :-)