View previous topic :: View next topic |
Author |
Message |
mooerito Apprentice
Joined: 16 Dec 2003 Posts: 187 Location: Zurich/Switzerland
|
Posted: Fri May 14, 2004 9:43 am Post subject: question about emerge |
|
|
hi everyone!
when im doing a emerge -u world im ususally not sitting next to my computer waiting for 2 hours till everything has emerged and reading all the notices that show up while emerging. but somethimes those messages that show up during an emerge can be important (eg when i did the gtk+-2.4 upgrade there was a message saying one should recompile gtk-themes for the old themes to work again). is there a way of reading those messages all together when the emerge is finished. are they saved to a file or maybe can they be piped to a file?
moo |
|
Back to top |
|
|
infamousmrsatan Apprentice
Joined: 08 Jan 2004 Posts: 201 Location: California
|
|
Back to top |
|
|
mooerito Apprentice
Joined: 16 Dec 2003 Posts: 187 Location: Zurich/Switzerland
|
Posted: Fri May 14, 2004 11:44 am Post subject: |
|
|
n havent tried it yet, since when piping you dont see the screen output and i wanna see that (dont ask for a reason, i have none). i wonder if those messages maybe are written on the rror console, so they can be caught by using 2> to redirect that stream to a file. dones anyone know anything about that? dev ... how about you? |
|
Back to top |
|
|
caffeine_junkie Tux's lil' helper
Joined: 08 Jan 2004 Posts: 133 Location: Vienna, Austria
|
Posted: Fri May 14, 2004 11:54 am Post subject: |
|
|
you could pipe it to more. then you should be able to see the screen output during and after emerge |
|
Back to top |
|
|
cjc n00b
Joined: 16 Mar 2004 Posts: 63 Location: Birmingham, United Kingdom
|
Posted: Fri May 14, 2004 12:10 pm Post subject: |
|
|
You could also pipe to tee (which writes it's stdin to stdout and a list of files you name). |
|
Back to top |
|
|
mooerito Apprentice
Joined: 16 Dec 2003 Posts: 187 Location: Zurich/Switzerland
|
Posted: Fri May 14, 2004 12:58 pm Post subject: |
|
|
cjc wrote: | You could also pipe to tee (which writes it's stdin to stdout and a list of files you name). |
sounds good so far, ill do it like that next time.
i just wonder if there is any non-hack way to do this, some way to log the * marked lines of the emerge process. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
jftuga Tux's lil' helper
Joined: 21 Jan 2004 Posts: 139 Location: Athens, GA
|
Posted: Fri May 14, 2004 2:42 pm Post subject: Re: question about emerge |
|
|
mooerito wrote: | hi everyone!
when im doing a emerge -u world im ususally not sitting next to my computer waiting for 2 hours till everything has emerged and reading all the notices that show up while emerging. but somethimes those messages that show up during an emerge can be important (eg when i did the gtk+-2.4 upgrade there was a message saying one should recompile gtk-themes for the old themes to work again). is there a way of reading those messages all together when the emerge is finished. are they saved to a file or maybe can they be piped to a file?
moo |
Instead of piping or teeing to a file, you can also do this:
script
emerge world ; exit
Then you will have a file called typescript that will contain everything that shows up on the screen. I guess this is similar to tee.
-John |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|