public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Env-update missing
@ 2011-12-27  5:43 roger
  2011-12-27  8:42 ` Michael Hampicke
  0 siblings, 1 reply; 9+ messages in thread
From: roger @ 2011-12-27  5:43 UTC (permalink / raw
  To: gentoo-user

I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
into my new install I tried to run env-update but got a command not found.
I looked in sbin and the command isn't there. I downloaded again the stage
3 tarball i686 20111213 from another mirror and I'm still not finding the
command. I feel like a goof for asking but has anyone else run into this
error?

roger




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27  5:43 [gentoo-user] Env-update missing roger
@ 2011-12-27  8:42 ` Michael Hampicke
  2011-12-27 11:45   ` Mick
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Hampicke @ 2011-12-27  8:42 UTC (permalink / raw
  To: gentoo-user

> I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
> into my new install I tried to run env-update but got a command not found.
> I looked in sbin and the command isn't there. I downloaded again the stage
> 3 tarball i686 20111213 from another mirror and I'm still not finding the
> command. I feel like a goof for asking but has anyone else run into this
> error?

I just downloaded stage3-i686-20111213.tar.bz2
env-update is in '/usr/sbin/env-update'

Did you 'source /etc/profile' first. This normally solves problems like
this.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27  8:42 ` Michael Hampicke
@ 2011-12-27 11:45   ` Mick
  2011-12-27 12:31     ` Michael Mol
  2011-12-27 16:48     ` Michael Hampicke
  0 siblings, 2 replies; 9+ messages in thread
From: Mick @ 2011-12-27 11:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 761 bytes --]

On Tuesday 27 Dec 2011 08:42:29 Michael Hampicke wrote:
> > I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
> > into my new install I tried to run env-update but got a command not
> > found. I looked in sbin and the command isn't there. I downloaded again
> > the stage 3 tarball i686 20111213 from another mirror and I'm still not
> > finding the command. I feel like a goof for asking but has anyone else
> > run into this error?
> 
> I just downloaded stage3-i686-20111213.tar.bz2
> env-update is in '/usr/sbin/env-update'
> 
> Did you 'source /etc/profile' first. This normally solves problems like
> this.

I thought the incantation is:

  env-update && source /etc/profile

has this changed?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 11:45   ` Mick
@ 2011-12-27 12:31     ` Michael Mol
  2011-12-27 13:20       ` Dale
  2011-12-27 16:48     ` Michael Hampicke
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Mol @ 2011-12-27 12:31 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 27, 2011 at 6:45 AM, Mick <michaelkintzios@gmail.com> wrote:
> On Tuesday 27 Dec 2011 08:42:29 Michael Hampicke wrote:
>> > I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
>> > into my new install I tried to run env-update but got a command not
>> > found. I looked in sbin and the command isn't there. I downloaded again
>> > the stage 3 tarball i686 20111213 from another mirror and I'm still not
>> > finding the command. I feel like a goof for asking but has anyone else
>> > run into this error?
>>
>> I just downloaded stage3-i686-20111213.tar.bz2
>> env-update is in '/usr/sbin/env-update'
>>
>> Did you 'source /etc/profile' first. This normally solves problems like
>> this.
>
> I thought the incantation is:
>
>  env-update && source /etc/profile
>
> has this changed?

NAFAIK.

What's in $PATH?

Try /usr/sbin/env-update && source /etc/profile ...

-- 
:wq



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 12:31     ` Michael Mol
@ 2011-12-27 13:20       ` Dale
  0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2011-12-27 13:20 UTC (permalink / raw
  To: gentoo-user

Michael Mol wrote:
> On Tue, Dec 27, 2011 at 6:45 AM, Mick<michaelkintzios@gmail.com>  wrote:
>> On Tuesday 27 Dec 2011 08:42:29 Michael Hampicke wrote:
>>>> I just tried to reinstall Gentoo on my laptop(x86) and after chrooting
>>>> into my new install I tried to run env-update but got a command not
>>>> found. I looked in sbin and the command isn't there. I downloaded again
>>>> the stage 3 tarball i686 20111213 from another mirror and I'm still not
>>>> finding the command. I feel like a goof for asking but has anyone else
>>>> run into this error?
>>> I just downloaded stage3-i686-20111213.tar.bz2
>>> env-update is in '/usr/sbin/env-update'
>>>
>>> Did you 'source /etc/profile' first. This normally solves problems like
>>> this.
>> I thought the incantation is:
>>
>>   env-update&&  source /etc/profile
>>
>> has this changed?
> NAFAIK.
>
> What's in $PATH?
>
> Try /usr/sbin/env-update&&  source /etc/profile ...
>

According to the docs, it is this:

livecd / #env-update&&  source /etc/profile

So Mick is right.  I think it is Mick that posted it correctly.  Jeez, lots of Mick, Micheals and such on here.  o_O

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"




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 11:45   ` Mick
  2011-12-27 12:31     ` Michael Mol
@ 2011-12-27 16:48     ` Michael Hampicke
  2011-12-27 16:57       ` Michael Mol
  2011-12-27 19:08       ` Mark Knecht
  1 sibling, 2 replies; 9+ messages in thread
From: Michael Hampicke @ 2011-12-27 16:48 UTC (permalink / raw
  To: gentoo-user

> I thought the incantation is:
>
>   env-update && source /etc/profile
>
> has this changed?

No it hasn't, just looked in the gentoo handbook.
I never can remember what command to run first, so I execute both of
them two times :)



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 16:48     ` Michael Hampicke
@ 2011-12-27 16:57       ` Michael Mol
  2011-12-27 20:39         ` Neil Bothwick
  2011-12-27 19:08       ` Mark Knecht
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Mol @ 2011-12-27 16:57 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 27, 2011 at 11:48 AM, Michael Hampicke <gentoo-user@hadt.biz> wrote:
>> I thought the incantation is:
>>
>>   env-update && source /etc/profile
>>
>> has this changed?
>
> No it hasn't, just looked in the gentoo handbook.
> I never can remember what command to run first, so I execute both of
> them two times :)

Here's how I understand it:

1) env-update rebuilds /etc/environment from /etc/env.d/.
2) /etc/environment is sourced from /etc/profile, so
3) you get the updated /etc/environment when you source /etc/profile.

-- 
:wq



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 16:48     ` Michael Hampicke
  2011-12-27 16:57       ` Michael Mol
@ 2011-12-27 19:08       ` Mark Knecht
  1 sibling, 0 replies; 9+ messages in thread
From: Mark Knecht @ 2011-12-27 19:08 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 27, 2011 at 8:48 AM, Michael Hampicke <gentoo-user@hadt.biz> wrote:
>> I thought the incantation is:
>>
>>   env-update && source /etc/profile
>>
>> has this changed?
>
> No it hasn't, just looked in the gentoo handbook.
> I never can remember what command to run first, so I execute both of
> them two times :)
>

E before S (alphabetical) is the way I remember it.

- Mark



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Env-update missing
  2011-12-27 16:57       ` Michael Mol
@ 2011-12-27 20:39         ` Neil Bothwick
  0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2011-12-27 20:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

On Tue, 27 Dec 2011 11:57:18 -0500, Michael Mol wrote:

> Here's how I understand it:
> 
> 1) env-update rebuilds /etc/environment from /etc/env.d/.
> 2) /etc/environment is sourced from /etc/profile, so
> 3) you get the updated /etc/environment when you source /etc/profile.

Almost, but it's /etc/profile.env that is created by env-update and
sourced by /etc/profile. /etc/environment contains variable settings for
pam.


-- 
Neil Bothwick

"Designing pages in HTML is like having sex in a bathtub. If you
don't know anything about sex, it won't help to know a lot about
bathtubs."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-27 20:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-27  5:43 [gentoo-user] Env-update missing roger
2011-12-27  8:42 ` Michael Hampicke
2011-12-27 11:45   ` Mick
2011-12-27 12:31     ` Michael Mol
2011-12-27 13:20       ` Dale
2011-12-27 16:48     ` Michael Hampicke
2011-12-27 16:57       ` Michael Mol
2011-12-27 20:39         ` Neil Bothwick
2011-12-27 19:08       ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox