From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --update behavior
Date: Mon, 2 Jan 2012 12:56:06 +0200 [thread overview]
Message-ID: <20120102125606.108b752b@rohan.example.com> (raw)
In-Reply-To: <4F0184BB.5010307@gmail.com>
On Mon, 02 Jan 2012 04:19:39 -0600
Dale <rdalek1967@gmail.com> wrote:
> Alan McKinnon wrote:
> > The current behaviour is the correct and expected one - you told
> > portage to emerge something and it did. Why else would you emerge
> > something if you didn't intend it to become a permanent feature of
> > the system and part of world? This has always been the definition
> > of emerge - to make it permanent. If you want to emerge something
> > and NOT have portage put it in world then you must use the -1
> > option. Remember that emerging something is supposed to be a
> > permanent action that you (as root) intended to happen. If what you
> > intend is something more unusual like a mere test or "just to see
> > what would happen" then you must take additional steps (to make it
> > clear that you are doing something out of the ordinary). It's the
> > same logic as rm uses: the user told the computer to delete a file
> > so the computer did what it was told by it's master and deleted the
> > file. What else would you expect it to do? p.s. before I forget:
> > Happy New Year :-)
>
> I didn't tell it to add it to the world file tho, I just told it to
> update it hence the option --update. I update things all the time
> but it doesn't mean I want them added to the world file. If I want
> to emerge something and have it added to the world file, I leave the
> -u option out of it, then it should be added because I requested it
> to be emerged not updated.
>
> Example:
>
> emerge phonon
>
> That means I want it emerged on my system and should be added to the
> world file.
>
> emerge -u phonon
>
> That means I want to update/upgrade phonon. I don't want it in my
> world file, just updated. This is the way it worked before --oneshot
> came along. It is not the way it is now but it was that way a good
> while back.
>
> Happy New Year to you too. Mine are getting better. I lost my Dad
> on New Years Day many years ago. It's not the same since.
The current behaviour seems more logical to me. You also seem to have
gotten used to the old way and can't see past it :-)
When Zac needs to define when something does, he needs to keep the big
picture in mind to get consistency. So what's the purpose of emerge?
Well, read the DESCRIPTION in the man page:
=====
DESCRIPTION
emerge is the definitive command-line interface to the
Portage system. It is primarily used for installing packages, and
emerge can automatically handle any dependencies that the desired
package has. emerge can also update the portage tree, making new and
updated packages available. emerge gracefully handles updating
installed packages to newer releases as well. It handles both source
and binary packages, and it can be used to create binary packages for
distribution.
=====
Obviously it must maintain system and the world file to do this. That
is the primary function, everything else is secondary. When emerge
merges something to the live system, it puts everything listed on the
command line into world; everything brought along automagically as
a dep does not go into world. Any changes to that purpose must have a
very good reason.
Emergeing something puts it in world, we have established that. But
this thing called an "update" does not imply that the packages are not
to go in world - an update is just an update, not "merge this but also
do something weird with world". Actually --update makes little sense
with just individual packages, if they are not already installed they
will be (which is exactly what you get by omitting --update). It does
make a lot of sense when used with system, world, and sets though.
So it seems to me Zac has removed a peculiar bahaviour and made it much
more consistent:
When you emerge packages explicitly by name, they go into world always.
The only way to do it differently is to use -1 which tells portage to
not put them in world.
Makes sense to me.
--
Alan McKinnnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2012-01-02 10:57 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
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 [this message]
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=20120102125606.108b752b@rohan.example.com \
--to=alan.mckinnon@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