Iván Pérez Domínguez writes: > After installing Gentoo in different machines several times, I wonder if > is there any way to tell emerge to keep installing as much as possible > even when something goes wrong.
Sure there is. Have a look at the emerge man page, there 's lots uf useful information. portage also has a nice man page. > emerge stuff1 stuff2 stuff3 > > emerge says "the following packages will be emerged" and so on. > > Alright. Then stuff1 fails to compile. I'd like emerge to continue > trying to install stuff2 and stuff3 when possible. emerge --resume --skipfirst This resumes the last emerge, skipping the first package. Leave the --skipfirst to try again. I like to use "FEATURES=keepwork emerge --resume" to resume an interrupted emerge without restarting from scratch, but this feature seems to be broken at the moment. > I know I could write several emerges in different lines (something like > emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this > feature should have an option of its own in emerge (i.e. > --keep-going-as-far-as-possible). Maybe, but on the other hand it's a little bash one-liner. > This could be very handy when updating world or, in general, when the > emerge is going to take a lot of time and you decide to leave, expecting > everything to be merged when you come back. This will emerge world and continue after every error, skipping that package: emerge world -u || while ! emerge --resume --skipfirst; do :; done Alex -- gentoo-user@gentoo.org mailing list