View previous topic :: View next topic |
Author |
Message |
alechiko Guru
Joined: 01 Feb 2004 Posts: 465 Location: Inside piano, do not disturb.
|
Posted: Sat Sep 02, 2006 2:18 am Post subject: Getting emerge to continue to next pkg after failed compile. |
|
|
Is there some way, that if im doing emerge -u world, and say, package 50 of 100 fails, that it can go straight on to 51? Because its really annoying when i leave the computer to do an update of some sort overnight, and one package halts the whole process in the middle, essentially wasting the other valuable hours that the system could be compiling the remaining packages. _________________ None |
|
Back to top |
|
|
vadik56 n00b
Joined: 14 Feb 2006 Posts: 70
|
Posted: Sat Sep 02, 2006 2:27 am Post subject: |
|
|
You can do: Code: | emerge --resume --skipfirst |
|
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Sat Sep 02, 2006 3:15 am Post subject: |
|
|
I generally do Code: | emerge <whatever flags here> world
(Ctrl-C to stop it)
while true ;do emerge --resume ; emerge --resume -p|grep "\[ebuild"| head -n 1 >> failed.log ; emerge --resume --skipfirst;done |
You may come back to a terminal full of 'nothing to resume', but it retries the failed package, logs it, then skips it. |
|
Back to top |
|
|
|