
Code: Select all
emerge --resume --skipfirstDoes this work with 'emerge -e world' as well i.e. can I do 'emerge -e --resume --skipfirst world'?NeddySeagoon wrote:mshmsh,
will contine the emerge, skipping the broken packages.Code: Select all
emerge --resume --skipfirst
It will attempt to emerge all of the remaining packages and may fail again if something needs the package that was skipped.

Code: Select all
emerge -e worldCode: Select all
emerge --resumeCode: Select all
emerge --resume --skipfirstI'll find out what failed when I wake up (by doing 'emerge -NDup world' and looking at the output). If there was something like an upgrade of GCC from 3.4 to 4.1 then sure I likely wouldn't do it but for normal purposes it's fine. It's normally high level packages that fail, not toolchain programs.po0f wrote:It's not a good idea to do that. If a package fails, you'll likely want to know the error. If it's an important enough package, say glibc, you want to resolve the error before continuing. Blindly resuming an emerge may break your system.
yeah, I figured that works. Now I do this typically:NeddySeagoon wrote:devsk,
It works but not in the way you describe.
Code: Select all
\rm /tmp/emerge-progress.log
emerge -e world || until emerge --resume --skipfirst; do echo "Skipping a package" >> /tmp/emerge-progress.log; echo "" >> /tmp/emerge-progress.log; tail -5 /var/log/emerge.log >> /tmp/emerge-progress.log; done