From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --update behavior
Date: Mon, 2 Jan 2012 19:01:53 -0500 [thread overview]
Message-ID: <CA+czFiBXhv6whF+js-Qzvwdt2aqsF8E4nZCVfsOH-BM42o-nxQ@mail.gmail.com> (raw)
In-Reply-To: <20120103013312.3872601b@rohan.example.com>
On Mon, Jan 2, 2012 at 6:33 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Mon, 2 Jan 2012 11:20:19 -0500
> Michael Mol <mikemol@gmail.com> wrote:
>
>> On Mon, Jan 2, 2012 at 11:16 AM, Michael Mol <mikemol@gmail.com>
>> wrote:
>> > On Mon, Jan 2, 2012 at 11:09 AM, Michael Orlitzky
>> > <michael@orlitzky.com> wrote:
>> >> On 01/02/2012 11:01 AM, Mark Knecht wrote:
>> >>>
>> >>>
>> >>> I tell by knowing which files I want in @world. Everything in
>> >>> world should be a package __I__ specifically want to use.
>> >>> Everything in world (on my machines anyway) is something:
>> >>>
>> >>> 1) I'd call from the command line
>> >>> 2) Need to write a little software myself, most specifically a
>> >>> library 3) Aid in displaying things, like font packages
>> >>> 4) Something required by Gentoo that I don't totally understand,
>> >>> like a virtual package.
>> >>>
>> >>> I just look through every so often and make sure everything seems
>> >>> to meet those sorts of requirements. When I find a library or
>> >>> something else then:
>> >>>
>> >>> 1) I make sure I'm clean with emerge -DuN @world AND emerge -p
>> >>> --depclean 2) I'll delete the questionable item
>> >>> 3) I'll see what happens with the two commands in #1
>> >>>
>> >>> To me it's pretty straight forward, but I'm also not bothered at
>> >>> all by the idea that emerge package and emerge -u package do the
>> >>> same thing. A machine that doesn't have a package, when updated,
>> >>> should have the package and it should (IMO) be in world, but
>> >>> that's just me.
>> >>
>> >>
>> >> Fine for your home PC, doesn't cut it on servers. I have the
>> >> following in one of my world files:
>> >>
>> >> dev-php/PEAR-Mail
>> >> dev-php/PEAR-Mail_Mime
>> >> dev-php/PEAR-PEAR
>> >> dev-php/PEAR-Structures_Graph
>> >>
>> >> which of those do I want? At least one of them was installed to
>> >> support a customer's custom PHP application. Maybe all of them
>> >> were and they all belong in world. No one knows, this server is
>> >> older than the current --update behavior.
>> >>
>> >> So which ones can I remove?
>> >>
>> >> Solutions involving time travel and/or losing customers will be
>> >> disqualified.
>> >
>> > Make a backup copy of your world file.
>> >
>> > 1a. Remove those four lines.
>> > 2a. emerge -p --depclean
>> > 3a. Did any of those show up in the to-be-removed set? Add them
>> > back.
>> >
>> > Alternately:
>> > 1b. emerge -pev --tree --with-bdeps=y @world
>> > 2b Find those packages in the output. The tree form of the display
>> > will help you see if anything is depending on them.
>> > 3b. If anything is depending on them, you should be able to safely
>> > remove them from your world file. I'd follow up with the 1a, 2a, 3a
>> > solution to be sure.
>>
>> It just occurred to me...in the future, you might be able to build
>> ebuilds for managing customer requests, to ensure that dependencies on
>> particular packages with USE flags and version requirements are met.
>>
>> I haven't built ebuilds myself yet, but it's on my TODO list.
>>
>
> It's quite easy actually, doubly so if the package follows some sane
> rational build process (like eg configure && make && make install). In
> that case the ebuild is very small as the portage framework does all
> the heavy lifting automagically.
>
> I'd move that TODO item higher up on the priority list if I were you,
> you'll be glad you did :-)
Oh, I know. There's a bunch of things I want to add or fix. Even if
that means taking some degree of ownership of them.
--
:wq
next prev parent reply other threads:[~2012-01-03 0:05 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-01 21:50 [gentoo-user] emerge --update behavior Michael Orlitzky
2012-01-01 22:06 ` Michael Mol
2012-01-01 22:13 ` Michael Orlitzky
2012-01-01 22:31 ` Dale
2012-01-01 22:40 ` Mark Knecht
2012-01-01 22:49 ` Dale
2012-01-01 22:54 ` Claudio Roberto França Pereira
2012-01-01 23:06 ` Dale
2012-01-01 23:07 ` Michael Orlitzky
2012-01-01 23:07 ` Michael Orlitzky
2012-01-01 23:22 ` Mark Knecht
2012-01-02 15:35 ` Tanstaafl
2012-01-02 15:47 ` Michael Orlitzky
2012-01-02 15:53 ` Michael Mol
2012-01-02 16:01 ` Mark Knecht
2012-01-02 16:09 ` Michael Orlitzky
2012-01-02 16:16 ` Michael Mol
2012-01-02 16:20 ` Michael Mol
2012-01-02 23:33 ` Alan McKinnon
2012-01-03 0:01 ` Michael Mol [this message]
2012-01-02 16:33 ` Michael Orlitzky
2012-01-02 17:06 ` Michael Mol
2012-01-02 17:39 ` Michael Orlitzky
2012-01-02 17:45 ` Michael Mol
2012-01-02 17:55 ` Michael Orlitzky
2012-01-02 18:07 ` Michael Mol
2012-01-02 18:20 ` Michael Orlitzky
2012-01-02 20:50 ` Neil Bothwick
2012-01-02 21:08 ` Michael Orlitzky
2012-01-02 21:25 ` Neil Bothwick
2012-01-02 21:33 ` Michael Orlitzky
2012-01-02 22:41 ` Neil Bothwick
2012-01-02 23:11 ` Michael Orlitzky
2012-01-02 23:29 ` Alan McKinnon
2012-01-02 23:48 ` Michael Orlitzky
2012-01-03 7:46 ` Alan McKinnon
2012-01-03 19:48 ` Walter Dnes
2012-01-03 0:01 ` Neil Bothwick
2012-01-02 23:25 ` Alan McKinnon
2012-01-02 23:49 ` Michael Orlitzky
2012-01-03 0:04 ` Neil Bothwick
2012-01-03 0:22 ` Dale
2012-01-03 2:00 ` Michael Orlitzky
2012-01-03 13:00 ` Mick
2012-01-03 2:00 ` Michael Orlitzky
2012-01-03 11:09 ` Neil Bothwick
2012-01-02 17:47 ` Mark Knecht
2012-01-02 17:55 ` Michael Mol
2012-01-02 17:58 ` Michael Orlitzky
2012-01-03 14:05 ` Hinnerk van Bruinehsen
2012-01-03 14:47 ` Alan McKinnon
2012-01-03 14:51 ` Hinnerk van Bruinehsen
2012-01-03 14:54 ` (Was) " Michael Mol
2012-01-03 14:55 ` Michael Mol
2012-01-03 16:00 ` Mick
2012-01-03 16:18 ` Michael Mol
2012-01-03 17:39 ` Mick
2012-01-03 17:43 ` Michael Mol
2012-01-03 17:52 ` Hinnerk van Bruinehsen
2012-01-03 18:12 ` Mick
2012-01-03 18:21 ` Michael Mol
2012-01-03 17:25 ` Michael Mol
2012-01-02 21:11 ` Alan McKinnon
2012-01-02 21:18 ` Michael Orlitzky
2012-01-02 21:28 ` Neil Bothwick
2012-01-02 21:37 ` Michael Orlitzky
2012-01-02 21:34 ` Michael Mol
2012-01-02 21:48 ` Michael Orlitzky
2012-01-02 21:58 ` Michael Mol
2012-01-02 22:13 ` Michael Orlitzky
2012-01-02 22:45 ` Michael Mol
2012-01-02 23:12 ` Alan McKinnon
2012-01-02 21:20 ` Neil Bothwick
2012-01-02 16:22 ` Mark Knecht
2012-01-02 16:33 ` Michael Orlitzky
2012-01-02 16:59 ` Neil Bothwick
2012-01-02 17:04 ` Neil Bothwick
2012-01-02 16:57 ` Neil Bothwick
2012-01-02 17:29 ` Mark Knecht
2012-01-02 17:47 ` Michael Orlitzky
2012-01-02 20:48 ` Neil Bothwick
2012-01-03 11:49 ` Tanstaafl
2012-01-03 12:04 ` Neil Bothwick
2012-01-04 11:57 ` Pandu Poluan
2012-01-02 18:14 ` Graham Murray
2012-01-02 0:09 ` Neil Bothwick
2012-01-02 0:24 ` Michael Orlitzky
2012-01-02 9:19 ` Neil Bothwick
2012-01-02 10:06 ` Alan McKinnon
2012-01-02 10:18 ` Mick
2012-01-02 13:46 ` Michael Orlitzky
2012-01-02 15:31 ` Tanstaafl
2012-01-02 15:47 ` Michael Orlitzky
2012-01-02 15:47 ` Michael Mol
2012-01-01 22:12 ` Dale
2012-01-02 9:58 ` Alan McKinnon
2012-01-02 10:19 ` Dale
2012-01-02 10:56 ` Alan McKinnon
2012-01-02 11:06 ` Dale
2012-01-02 13:36 ` Neil Bothwick
2012-01-02 13:50 ` Michael Orlitzky
2012-01-02 14:02 ` Neil Bothwick
2012-01-02 14:50 ` Michael Mol
2012-01-02 15:05 ` Alan McKinnon
2012-01-02 15:26 ` Michael Orlitzky
2012-01-02 16:25 ` Frank Steinmetzger
2012-01-02 16:34 ` Michael Orlitzky
2012-01-02 18:38 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+czFiBXhv6whF+js-Qzvwdt2aqsF8E4nZCVfsOH-BM42o-nxQ@mail.gmail.com \
--to=mikemol@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox