public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --update behavior
Date: Sun, 1 Jan 2012 14:40:07 -0800	[thread overview]
Message-ID: <CAK2H+eeLmuDsPtDWe7tH3wKfCzHcf=vErNogiFcj2yoBOSJD6g@mail.gmail.com> (raw)
In-Reply-To: <4F00DEC5.5090500@gmail.com>

On Sun, Jan 1, 2012 at 2:31 PM, Dale <rdalek1967@gmail.com> wrote:
> Michael Orlitzky wrote:
>>
>> On 01/01/2012 05:06 PM, Michael Mol wrote:
>>>
>>> On Sun, Jan 1, 2012 at 4:50 PM, Michael Orlitzky<michael@orlitzky.com>
>>>  wrote:
>>>>
>>>> Using "emerge --update foo" adds "foo" to your world file. This is
>>>> responsible for pretty much every package that incorrectly found its way
>>>> into one of my world files.
>>>>
>>>> Is there any reason to desire the current behavior? I'd like to suggest
>>>> that
>>>> it be fixed, but want to be sure I'm not just being short-sighted.
>>>
>>>
>>> Pretty sure that's what -1 is for. I'm just getting the hang of it
>>> myself.
>>>
>>>
>>
>> Well, I know what I'm *supposed* to do. My complaint is basically that I
>> sometimes forget to add -1 with -u, and that bad things happen as a result.
>>
>> But why should I have to add -1 along with it? Is there any reason you
>> would ever want -u to add a package to your world file? If not, we can avoid
>> headaches in the future by making it do the sane (not harmful) thing.
>>
>>
>
> Using -u used to work the way you describe but that was a while ago.  The
> only thing I know of is to add --oneshot to make.conf so you don't forget.
>  I think they knew this was going to be a issue.  This is in man emerge:
>
> --select [ y | n ]
> Add specified packages to the world set (inverse of --oneshot). This is
> useful if you want to use  EMERGE_DEFAULT_OPTS  to  make  --oneshot behavior
> default.
>
> The way I read that is that they expect you to add --oneshot to make.conf.
>  Like you, this makes no sense to me.  I would rather they leave it the way
> it was and then not needed the --select option at all.  :/
>
> Then again, they add confusion so we can fix it in make.conf.  lol
>
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how
> you interpreted my words!
>
> Miss the compile output?  Hint:
> EMERGE_DEFAULT_OPTS="--quiet-build=n"
>
>

I'm not clear. Why does one ever bother with emerge -u package? In 10
years of Gentoo I've managed to get by with basically either emerge
package to add something or emerge -DuN @world to stay updated. (or
@system in the old days but no longer...)

Not picking on anyone but in my mind emerge -u package _should_ add
the package to the world file because any time I run emerge with a
package name and without -1 I'm telling it to make it part of @world.
If it's not part of @world, and is already on the machine, then emerge
-DuN @world is the right way to get it and everything else updated.

Just curious...

- Mark



  reply	other threads:[~2012-01-01 22:42 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 [this message]
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
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='CAK2H+eeLmuDsPtDWe7tH3wKfCzHcf=vErNogiFcj2yoBOSJD6g@mail.gmail.com' \
    --to=markknecht@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