public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] emerge world via ssh
@ 2007-01-28 11:51 Dieter Ries
  2007-01-28 11:55 ` Richard Freeman
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Dieter Ries @ 2007-01-28 11:51 UTC (permalink / raw
  To: gentoo-amd64

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

Hi,

how can i run emerge -vD world, when i only have the possibility to access the 
machine via ssh for a short time?

i have tried emerge -vD world &

but that seems to stop before even the first ebuild is compiled. Then i tried 
putting the emerge command into a bash script, and running

emergeworld.sh&

but that had the same effect.

There has to be a possibility...

cu
Dieter
-- 
Frank Castle is dead!
Call me 'The PUNISHER'!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
@ 2007-01-28 11:55 ` Richard Freeman
  2007-01-28 11:56 ` Alex Smith
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Richard Freeman @ 2007-01-28 11:55 UTC (permalink / raw
  To: gentoo-amd64

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dieter Ries wrote:
> how can i run emerge -vD world, when i only have the possibility to access the 
> machine via ssh for a short time?
> 

emerge screen

I use it all the time even in X-windows.  It is exactly what you're
looking for.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvI9OG4/rWKZmVWkRAgmMAJ45qHklZAFn+j3Fh+vRrejdehIIFgCeOzSt
FKWskOdCH2MB3Re1Ib4c8Os=
=4x4W
-----END PGP SIGNATURE-----

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3875 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
  2007-01-28 11:55 ` Richard Freeman
@ 2007-01-28 11:56 ` Alex Smith
  2007-01-28 11:58 ` Mathieu Seigneurin
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Alex Smith @ 2007-01-28 11:56 UTC (permalink / raw
  To: gentoo-amd64

Dieter Ries wrote:
> Hi,
>
> how can i run emerge -vD world, when i only have the possibility to access the 
> machine via ssh for a short time?
>   
Install screen (emerge screen) then run emerge -vD inside that.

screen
emerge -vD
then press ctrl + a + d to disconnect from the session. Use screen -x to 
reconnect to it when you next login.

Regards,

Alex

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
  2007-01-28 11:55 ` Richard Freeman
  2007-01-28 11:56 ` Alex Smith
@ 2007-01-28 11:58 ` Mathieu Seigneurin
  2007-01-28 12:05   ` [gentoo-amd64] emerge world via ssh [SOLVED] Dieter Ries
  2007-01-28 13:00 ` [gentoo-amd64] emerge world via ssh Bernhard Berger
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Mathieu Seigneurin @ 2007-01-28 11:58 UTC (permalink / raw
  To: gentoo-amd64

On Sunday 28 January 2007 12:51:08 Dieter Ries wrote:
> Hi,
>
> how can i run emerge -vD world, when i only have the possibility to access
> the machine via ssh for a short time?
>
> i have tried emerge -vD world &
>
> but that seems to stop before even the first ebuild is compiled. Then i
> tried putting the emerge command into a bash script, and running
>
> emergeworld.sh&
>
> but that had the same effect.
>
> There has to be a possibility...
>
> cu
> Dieter


I think the easiest thing for this is to use the 'screen' utility. It will 
allow you to start emerge and disconnect/reconnect to that 'session'.
It is very usefull in this type of situation.

Regards,
Mat
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh [SOLVED]
  2007-01-28 11:58 ` Mathieu Seigneurin
@ 2007-01-28 12:05   ` Dieter Ries
  2007-01-28 12:46     ` Etaoin Shrdlu
  0 siblings, 1 reply; 14+ messages in thread
From: Dieter Ries @ 2007-01-28 12:05 UTC (permalink / raw
  To: gentoo-amd64

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

Am Sonntag 28 Januar 2007 12:58 schrieb Mathieu Seigneurin:
> On Sunday 28 January 2007 12:51:08 Dieter Ries wrote:
> > Hi,
> >
> > how can i run emerge -vD world, when i only have the possibility to
> > access the machine via ssh for a short time?
> >
> > i have tried emerge -vD world &
> >
> > but that seems to stop before even the first ebuild is compiled. Then i
> > tried putting the emerge command into a bash script, and running
> >
> > emergeworld.sh&
> >
> > but that had the same effect.
> >
> > There has to be a possibility...
> >
> > cu
> > Dieter
>
> I think the easiest thing for this is to use the 'screen' utility. It will
> allow you to start emerge and disconnect/reconnect to that 'session'.
> It is very usefull in this type of situation.
>
> Regards,
> Mat

Thanks, thats been it.
It's working perfectly, the only issue is that i am not able to detach a 
session which i am in. konsole seems not to pass the Ctrl-a Ctrl-d command to 
screen via ssh.

cu
Dieter


-- 
Frank Castle is dead!
Call me 'The PUNISHER'!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh [SOLVED(2x)]
  2007-01-28 12:46     ` Etaoin Shrdlu
@ 2007-01-28 12:22       ` Dieter Ries
  0 siblings, 0 replies; 14+ messages in thread
From: Dieter Ries @ 2007-01-28 12:22 UTC (permalink / raw
  To: gentoo-amd64

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

Am Sonntag 28 Januar 2007 13:46 schrieb Etaoin Shrdlu:
> On Sunday 28 January 2007 13:05, Dieter Ries wrote:
> > Thanks, thats been it.
> > It's working perfectly, the only issue is that i am not able to detach
> > a session which i am in. konsole seems not to pass the Ctrl-a Ctrl-d
> > command to screen via ssh.
>
> It's "ctrl-a" followed by "d", not "ctrl-a" followed by "ctrl-d".
Thank you, cow I am completely happy!

cu
Dieter
-- 
Frank Castle is dead!
Call me 'The PUNISHER'!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh [SOLVED]
  2007-01-28 12:05   ` [gentoo-amd64] emerge world via ssh [SOLVED] Dieter Ries
@ 2007-01-28 12:46     ` Etaoin Shrdlu
  2007-01-28 12:22       ` [gentoo-amd64] emerge world via ssh [SOLVED(2x)] Dieter Ries
  0 siblings, 1 reply; 14+ messages in thread
From: Etaoin Shrdlu @ 2007-01-28 12:46 UTC (permalink / raw
  To: gentoo-amd64

On Sunday 28 January 2007 13:05, Dieter Ries wrote:

> Thanks, thats been it.
> It's working perfectly, the only issue is that i am not able to detach
> a session which i am in. konsole seems not to pass the Ctrl-a Ctrl-d
> command to screen via ssh.

It's "ctrl-a" followed by "d", not "ctrl-a" followed by "ctrl-d".


-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
                   ` (2 preceding siblings ...)
  2007-01-28 11:58 ` Mathieu Seigneurin
@ 2007-01-28 13:00 ` Bernhard Berger
  2007-01-28 13:36 ` Bo Ørsted Andresen
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Bernhard Berger @ 2007-01-28 13:00 UTC (permalink / raw
  To: gentoo-amd64

Hi
> how can i run emerge -vD world, when i only have the possibility to access the 
> machine via ssh for a short time? [..]
> but that seems to stop before even the first ebuild is compiled. Then i tried 
> putting the emerge command into a bash script, and running

when you log out the shell and all subprocesses will be terminated (and
of course emerge). You can use nohup to make sure it will survive your
logout (nohup emerge -vD world &).

Bernhard

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
                   ` (3 preceding siblings ...)
  2007-01-28 13:00 ` [gentoo-amd64] emerge world via ssh Bernhard Berger
@ 2007-01-28 13:36 ` Bo Ørsted Andresen
  2007-01-28 14:03   ` Dieter Ries
  2007-01-28 21:30 ` Bernhard Auzinger
  2007-01-29 13:33 ` Alexis Lahouze
  6 siblings, 1 reply; 14+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-28 13:36 UTC (permalink / raw
  To: gentoo-amd64

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

On Sunday 28 January 2007 12:51:08 Dieter Ries wrote:
> how can i run emerge -vD world, when i only have the possibility to access
> the machine via ssh for a short time?

Although this has been answered I think it's worth noting that it's documented 
at:

http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml#leave_terminal

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 13:36 ` Bo Ørsted Andresen
@ 2007-01-28 14:03   ` Dieter Ries
  0 siblings, 0 replies; 14+ messages in thread
From: Dieter Ries @ 2007-01-28 14:03 UTC (permalink / raw
  To: gentoo-amd64

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

Am Sonntag 28 Januar 2007 14:36 schrieb Bo Ørsted Andresen:
> On Sunday 28 January 2007 12:51:08 Dieter Ries wrote:
> > how can i run emerge -vD world, when i only have the possibility to
> > access the machine via ssh for a short time?
>
> Although this has been answered I think it's worth noting that it's
> documented at:
>
> http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml#leave_terminal
Hi,

you are right, but it's nearly impossible to find this page via google. I 
tried many times, but since the chapter is named "leaving your terminal", and 
not something like "emerge and logout" or "emerge without being logged in all 
the time" or something similar, there are no google hits for it.

perhaps one should note that in the wiki. i have not much time, but if noone 
else is interested in doing so, i will sooner or later.

cu
Dieter
-- 
Frank Castle is dead!
Call me 'The PUNISHER'!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
                   ` (4 preceding siblings ...)
  2007-01-28 13:36 ` Bo Ørsted Andresen
@ 2007-01-28 21:30 ` Bernhard Auzinger
  2007-01-29 13:33 ` Alexis Lahouze
  6 siblings, 0 replies; 14+ messages in thread
From: Bernhard Auzinger @ 2007-01-28 21:30 UTC (permalink / raw
  To: gentoo-amd64

Am Sonntag 28 Januar 2007 schrieb Dieter Ries:
> Hi,
>
> how can i run emerge -vD world, when i only have the possibility to access
> the machine via ssh for a short time?
>
> i have tried emerge -vD world &
>
> but that seems to stop before even the first ebuild is compiled. Then i
> tried putting the emerge command into a bash script, and running
>
> emergeworld.sh&
>
> but that had the same effect.
>
> There has to be a possibility...
>
> cu
> Dieter

As already mentioned, screen is a good way to solve this.

By the way. The compiling stops because you are starting emerge within the 
shell as child process of this shell. An if you terminate the father process 
(in this case the shell) by logging out, all child processes will be 
terminated too.

rgds
Bernhard
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
                   ` (5 preceding siblings ...)
  2007-01-28 21:30 ` Bernhard Auzinger
@ 2007-01-29 13:33 ` Alexis Lahouze
  2007-01-29 13:57   ` Javi Moreno
  6 siblings, 1 reply; 14+ messages in thread
From: Alexis Lahouze @ 2007-01-29 13:33 UTC (permalink / raw
  To: gentoo-amd64

2007/1/28, Dieter Ries <clip2@gmx.de>:
> Hi,
Hello!

>
> how can i run emerge -vD world, when i only have the possibility to access the
> machine via ssh for a short time?
hm...
Did you tried nohup?
man ... :-)

regards!
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-29 13:33 ` Alexis Lahouze
@ 2007-01-29 13:57   ` Javi Moreno
  2007-01-29 14:08     ` Alexis Lahouze
  0 siblings, 1 reply; 14+ messages in thread
From: Javi Moreno @ 2007-01-29 13:57 UTC (permalink / raw
  To: gentoo-amd64

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

On 1/29/07, Alexis Lahouze <alexis.lahouze@gmail.com> wrote:
>
> 2007/1/28, Dieter Ries <clip2@gmx.de>:
> > Hi,
> Hello!
>
> >
> > how can i run emerge -vD world, when i only have the possibility to
> access the
> > machine via ssh for a short time?
> hm...
> Did you tried nohup?
> man ... :-)


Or screen

regards!
> --
> gentoo-amd64@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 917 bytes --]

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

* Re: [gentoo-amd64] emerge world via ssh
  2007-01-29 13:57   ` Javi Moreno
@ 2007-01-29 14:08     ` Alexis Lahouze
  0 siblings, 0 replies; 14+ messages in thread
From: Alexis Lahouze @ 2007-01-29 14:08 UTC (permalink / raw
  To: gentoo-amd64

2007/1/29, Javi Moreno <vierito5@gmail.com>:
>
>
>
> On 1/29/07, Alexis Lahouze <alexis.lahouze@gmail.com> wrote:
> > 2007/1/28, Dieter Ries <clip2@gmx.de>:
> > > Hi,
> > Hello!
> >
> > >
> > > how can i run emerge -vD world, when i only have the possibility to
> access the
> > > machine via ssh for a short time?
> > hm...
> > Did you tried nohup?
> > man ... :-)
>
> Or screen
Yes, but I think screen is very usefull when you want to launch
multiple "screens" and interact with them (I have a mutt and an irssi
launched within a screen) but emerge is non-interactive (this is not
true when you have to agree to a license) and nohup should be
sufficient (and a tail -F to follow later the log)
-- 
gentoo-amd64@gentoo.org mailing list



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

end of thread, other threads:[~2007-01-29 14:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-28 11:51 [gentoo-amd64] emerge world via ssh Dieter Ries
2007-01-28 11:55 ` Richard Freeman
2007-01-28 11:56 ` Alex Smith
2007-01-28 11:58 ` Mathieu Seigneurin
2007-01-28 12:05   ` [gentoo-amd64] emerge world via ssh [SOLVED] Dieter Ries
2007-01-28 12:46     ` Etaoin Shrdlu
2007-01-28 12:22       ` [gentoo-amd64] emerge world via ssh [SOLVED(2x)] Dieter Ries
2007-01-28 13:00 ` [gentoo-amd64] emerge world via ssh Bernhard Berger
2007-01-28 13:36 ` Bo Ørsted Andresen
2007-01-28 14:03   ` Dieter Ries
2007-01-28 21:30 ` Bernhard Auzinger
2007-01-29 13:33 ` Alexis Lahouze
2007-01-29 13:57   ` Javi Moreno
2007-01-29 14:08     ` Alexis Lahouze

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