* [gentoo-user] continue emerge on failure
@ 2007-09-20 15:28 Pawel K
2007-09-20 16:24 ` Neil Bothwick
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Pawel K @ 2007-09-20 15:28 UTC (permalink / raw
To: gentoo-user
Hello
When package build fails during:
emerge --update world
I use the:
emerge --resume --skipfirst
How to force emerge to continue build with the next
package in case previous build failed.
Thank you for help.
____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] continue emerge on failure
2007-09-20 15:28 [gentoo-user] continue emerge on failure Pawel K
@ 2007-09-20 16:24 ` Neil Bothwick
2007-09-20 18:42 ` Bo Ørsted Andresen
2007-09-20 19:23 ` Daevid Vincent
2 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2007-09-20 16:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
On Thu, 20 Sep 2007 08:28:14 -0700 (PDT), Pawel K wrote:
> When package build fails during:
>
> emerge --update world
>
> I use the:
>
> emerge --resume --skipfirst
>
> How to force emerge to continue build with the next
> package in case previous build failed.
emerge --update world || while emerge --resume --skipfirst; do : done
But be aware that you have have a significant number of packages fail to
compile as they depend on previous failures.
--
Neil Bothwick
Sex is better than logic. You can't prove it, but it is.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] continue emerge on failure
2007-09-20 15:28 [gentoo-user] continue emerge on failure Pawel K
2007-09-20 16:24 ` Neil Bothwick
@ 2007-09-20 18:42 ` Bo Ørsted Andresen
2007-09-20 19:23 ` Daevid Vincent
2 siblings, 0 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2007-09-20 18:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 758 bytes --]
On Thursday 20 September 2007 17:28:14 Pawel K wrote:
> How to force emerge to continue build with the next
> package in case previous build failed.
Paludis >= 0.25 now has support for the ideal solution to this.. :)
# paludis --help | grep continue -A 4
--continue-on-failure Whether to continue after a fetch or install error
if-fetch-only If fetching only (default)
never Never
if-satisfied If remaining packages' dependencies are satisfied
always Always (UNSAFE)
# paludis --version
paludis 0.25.0
[...]
Until 0.26.x gets released this requires paludis-scm from trunk. 0.26.x
shouldn't be too far away though..
http://paludis.pioto.org
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [gentoo-user] continue emerge on failure
2007-09-20 15:28 [gentoo-user] continue emerge on failure Pawel K
2007-09-20 16:24 ` Neil Bothwick
2007-09-20 18:42 ` Bo Ørsted Andresen
@ 2007-09-20 19:23 ` Daevid Vincent
2 siblings, 0 replies; 4+ messages in thread
From: Daevid Vincent @ 2007-09-20 19:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
> -----Original Message-----
> From: Pawel K [mailto:pawlaczus@yahoo.com]
> Sent: Thursday, September 20, 2007 8:28 AM
>
> Hello
> When package build fails during:
>
> emerge --update world
>
> I use the:
>
> emerge --resume --skipfirst
>
> How to force emerge to continue build with the next
> package in case previous build failed.
>
> Thank you for help.
Ah yes, quite possibly one of the most useful 'tricks' ever discovered:
emerge -Davu world || until emerge --resume --skipfirst; do :; done
Why there isn't an option like --auto_resume as part of emerge, is beyond
me...
If they went through, I attached the original emails I got this tip from and
thanks to Boyd Stephen and Neil Bothwick. Some interesting dialogs in there
too...
[-- Attachment #2: Type: message/rfc822, Size: 10580 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 3017 bytes --]
I think this is a given, but just in case...
It certainly should allow me to do an 'emerge -Davu world' equivallent, and
allow me to then select only the packages (or all or none) to install and of
course their dependencies.
It should show me the 'blocking' packages (if any), and allow me to easily
unmerge them right there.
It should absolutely be smart enough that if a package fails to compile,
SKIP IT! And move on to the next one. There is nothing more frustrating than
having like 100 packages to install, setting it up to run through the night,
excited to see the new stuff, and then the utter dissapointment to see that
portage shit the bed on the second package and just sat there doing nothing
all night long. GRR. :) why "emerge --resume --skipfirst" is not the
default exception handling routine for 'emerge' is beyond my comprehension.
'emerge' should at least have a command line option to invoke that!
It should also alert me to all the 'notifications' that are in the
PORTAGE_LOGS for things that I might have to manually do after the packages
are installed.
It should do a revdep-rebuild to make sure all packages are proper.
> -----Original Message-----
> From: Arturo 'Buanzo' Busleiman [mailto:buanzo@buanzo.com.ar]
> Sent: Tuesday, May 16, 2006 2:29 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] New Portage browser
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> People,
>
> I'm working on a new portage browser, and I was looking
> for ideas from USERS, that's why I'm
> posting here.
>
> I've never found a program that would allow me to
> browse portage categories, then packages, showing
> in one window description, version, etc, etc.
>
> Thus, I'm working on one now, but I want to develop
> something that will run in console and X, too,
> like suse's yast.
>
> So, I would like to know:
>
> 1) do you prefer a console, a GUI, or both?
> 2) what additional functionality would you like?
> (mask/unmask packages, install/remove, emerge
> command generator [much like nmapfe], etc)
>
> If you have any idea regarding development (because of
> the both console and X-compatible
> script/program), please let me know. If not, I may end up
> writing an API, and two different programs.
>
> Sincerely,
>
> - --
> Arturo "Buanzo" Busleiman - VPN Mail Project -
> http://vpnmail.buanzo.com.ar
> Consultor en Seguridad Informatica - http://www.buanzo.com.ar
> My Linux and Security Blog at http://linux-consulting.buanzo.com.ar/
>
> Romper un sistema de seguridad los acerca tanto a ser hackers como
> encender autos puenteando los convierte en ingenieros automotrices.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFEakQgAlpOsGhXcE0RAu1BAJ9VUuXbrASHULoEAp2H8cjp4tJajACfZYW5
> mGlOmqARA9F3LM7gqNywopY=
> =SGKH
> -----END PGP SIGNATURE-----
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
[-- Attachment #2.1.2: Type: text/html, Size: 6126 bytes --]
[-- Attachment #3: Type: message/rfc822, Size: 2663 bytes --]
[-- Attachment #3.1.1: Type: text/plain, Size: 1140 bytes --]
On Wednesday 17 May 2006 20:47, "Daevid Vincent" <daevid@daevid.com> wrote
about 'RE: [gentoo-user] New Portage browser':
> It should absolutely be smart enough that if a package fails to compile,
> SKIP IT! And move on to the next one. There is nothing more frustrating
> than having like 100 packages to install, setting it up to run through
> the night, excited to see the new stuff, and then the utter
> dissapointment to see that portage shit the bed on the second package
> and just sat there doing nothing all night long. GRR. :) why "emerge
> --resume --skipfirst" is not the default exception handling routine for
> 'emerge' is beyond my comprehension. 'emerge' should at least have a
> command line option to invoke that!
Is there some problem with:
emerge -uND world || until emerge --resume --skipfirst; do :; done
?
A more complex version of that is in my nightly update script.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #3.1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #4: Type: message/rfc822, Size: 2136 bytes --]
[-- Attachment #4.1.1: Type: text/plain, Size: 473 bytes --]
On Wed, 17 May 2006 22:31:14 -0500, Boyd Stephen Smith Jr. wrote:
> Is there some problem with:
> emerge -uND world || until emerge --resume --skipfirst; do :; done
> ?
I would add 'emerge -uDNp world' to the end of that, so you can see any
packages that were missed.
> A more complex version of that is in my nightly update script.
Maybe you've already covered that case. Please share :)
--
Neil Bothwick
When there's a will, I want to be in it.
[-- Attachment #4.1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #5: Type: message/rfc822, Size: 3746 bytes --]
[-- Attachment #5.1.1.1: Type: text/plain, Size: 1218 bytes --]
On Thursday 18 May 2006 03:10, Neil Bothwick <neil@digimed.co.uk> wrote
about 'Re: [gentoo-user] New Portage browser':
> On Wed, 17 May 2006 22:31:14 -0500, Boyd Stephen Smith Jr. wrote:
> > Is there some problem with:
> > emerge -uND world || until emerge --resume --skipfirst; do :; done
> > ?
>
> I would add 'emerge -uDNp world' to the end of that, so you can see any
> packages that were missed.
I don't throw that in, mainly cause I mostly ignore all output for the
script. I do usually go and check what I've missed later though.
> > A more complex version of that is in my nightly update script.
>
> Maybe you've already covered that case. Please share :)
It "works", but it's not all I had hoped it would be. Anyway, it's
attached so perhaps it could be useful to someone else.
<fine print>
As with any work produced in the US, it is under copyright, even if I don't
assert it. Therefore, I hereby release it into the public domain.
</fine print>
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #5.1.1.2: sys_update.sh --]
[-- Type: application/x-shellscript, Size: 534 bytes --]
[-- Attachment #5.1.2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-20 19:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 15:28 [gentoo-user] continue emerge on failure Pawel K
2007-09-20 16:24 ` Neil Bothwick
2007-09-20 18:42 ` Bo Ørsted Andresen
2007-09-20 19:23 ` Daevid Vincent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox