Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --update behavior
Date: Mon, 02 Jan 2012 16:25:04
Message-Id: CAK2H+efr5RFzjJ8xSx4ObngyfGSDFHKmvwMdjtT5Vb-QkO-RdQ@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge --update behavior by Michael Orlitzky
1 On Mon, Jan 2, 2012 at 8:09 AM, Michael Orlitzky <michael@××××××××.com> wrote:
2 > On 01/02/2012 11:01 AM, Mark Knecht wrote:
3 >>
4 >>
5 >> I tell by knowing which files I want in @world. Everything in world
6 >> should be a package __I__ specifically want to use. Everything in
7 >> world (on my machines anyway) is something:
8 >>
9 >> 1)  I'd call from the command line
10 >> 2) Need to write a little software myself, most specifically a library
11 >> 3) Aid in displaying things, like font packages
12 >> 4) Something required by Gentoo that I don't totally understand, like
13 >> a virtual package.
14 >>
15 >> I just look through every so often and make sure everything seems to
16 >> meet those sorts of requirements. When I find a library or something
17 >> else then:
18 >>
19 >> 1) I make sure I'm clean with emerge -DuN @world AND emerge -p --depclean
20 >> 2) I'll delete the questionable item
21 >> 3) I'll see what happens with the two commands in #1
22 >>
23 >> To me it's pretty straight forward, but I'm also not bothered at all
24 >> by the idea that emerge package and emerge -u package do the same
25 >> thing. A machine that doesn't have a package, when updated, should
26 >> have the package and it should (IMO) be in world, but that's just me.
27 >
28 >
29 > Fine for your home PC, doesn't cut it on servers. I have the following in
30 > one of my world files:
31 >
32 >  dev-php/PEAR-Mail
33 >  dev-php/PEAR-Mail_Mime
34 >  dev-php/PEAR-PEAR
35 >  dev-php/PEAR-Structures_Graph
36 >
37 > which of those do I want? At least one of them was installed to support a
38 > customer's custom PHP application. Maybe all of them were and they all
39 > belong in world. No one knows, this server is older than the current
40 > --update behavior.
41 >
42 > So which ones can I remove?
43 >
44 > Solutions involving time travel and/or losing customers will be
45 > disqualified.
46 >
47
48 I'm not clear. You allow your server customers to modify your servers,
49 or what, they asked you to install stuff and now you don't know which
50 of them was needed and why? I'm just not clear.
51
52 My basic response, again allowing that I don't run servers that have
53 'customers' on them, is that 'equery depends' is the basic path to
54 determine if any of these are dependencies of other things in the
55 world file. If they are then they themselves possibly don't need to be
56 in the world file unless they meet my rule #2 as they are required for
57 some sort of development work your customer does.
58
59 I completely agree about travel time. My family lives 350 miles away.
60 I've managed their machines for 10 years this way and only once had a
61 problem that required me to get physical access. In the normal worst
62 case I have a Live CD with a couple of instructions they can execute
63 to get me back into the machine.
64
65 - Mark

Replies

Subject Author
Re: [gentoo-user] emerge --update behavior Michael Orlitzky <michael@××××××××.com>