Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ARGH I uninstalled python
Date: Sun, 24 May 2009 18:58:05
Message-Id: 200905242056.37129.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] ARGH I uninstalled python by Dale
1 On Sunday 24 May 2009 20:11:03 Dale wrote:
2 > Alan McKinnon wrote:
3 > > On Sunday 24 May 2009 19:26:43 Dale wrote:
4 > >> Also, is this the file that contains the system set?
5 > >>
6 > >> /usr/portage/profiles/base/packages
7 > >>
8 > >> If so, python is commented out as is a few others. Is there a way to
9 > >> add files to something in /etc that emerge would consider in addition to
10 > >> this file? In other words, if a user is using portage, is there a place
11 > >> that they could set this in /etc so that it overrides the fact it is
12 > >> missing in the system set? Just add python and other missing packages
13 > >> to the file and we can carry on. I assume adding it to world would not
14 > >> do any good with buildsyspkg enabled?
15 > >
16 > > profiles are cascading and support multiple inheritance (parent files can
17 > > contain several entries). So, you have to run
18 > >
19 > > find /usr/portage/profiles -name packages
20 > >
21 > > to find them all, and apply brain power to find the few that actually
22 > > apply to you
23 >
24 > Something like this?
25 >
26 > root@smoker / # ls -al /etc/make.profile
27 > lrwxrwxrwx 1 root root 55 Dec 16 22:09 /etc/make.profile ->
28 > /usr/portage/profiles/default/linux/x86/2008.0/desktop/
29 > root@smoker / #
30 >
31 > I would assume it uses what the make.profile is linked to. Correct?
32 > Thing is, is there some file supported in /etc/ that is user editable?
33 > If not, then it doesn't matter. If a user edits the file in
34 > /usr/portage, it will default back when re-syncing.
35
36 OK, I see what your question is now.
37
38 According to 'man 5 portage' you would add it to /etc/portage/profile/packages
39 which you likely have to create yourself
40
41 --
42 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] ARGH I uninstalled python Dale <rdalek1967@×××××.com>