* [gentoo-user] emerge --update : how to keep it going?
@ 2012-11-30 12:26 Helmut Jarausch
2012-11-30 12:42 ` Francisco Ares
` (6 more replies)
0 siblings, 7 replies; 16+ messages in thread
From: Helmut Jarausch @ 2012-11-30 12:26 UTC (permalink / raw
To: gentoo-user
Hi,
this is nuissance all the time.
Updating a machine which hasn't been updated for a long(er) time I try
emerge -vup --changed-use --deep --tree --with-bdeps y @system
@world >/root/UPD
But many times this stops prematurely with messages like
emerge: there are no ebuilds to satisfy
">=app-text/poppler-bindings-0.5.0"
How can I keep emerge going and tell me these message all at once in
the end?
Many thanks for hint,
Helmut.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
@ 2012-11-30 12:42 ` Francisco Ares
2012-11-30 12:43 ` Michael Mol
` (5 subsequent siblings)
6 siblings, 0 replies; 16+ messages in thread
From: Francisco Ares @ 2012-11-30 12:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
2012/11/30 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
> Hi,
> this is nuissance all the time.
>
> Updating a machine which hasn't been updated for a long(er) time I try
>
> emerge -vup --changed-use --deep --tree --with-bdeps y @system @world
> >/root/UPD
>
> But many times this stops prematurely with messages like
>
> emerge: there are no ebuilds to satisfy ">=app-text/poppler-bindings-**
> 0.5.0"
>
> How can I keep emerge going and tell me these message all at once in the
> end?
>
> Many thanks for hint,
> Helmut.
>
>
>
Check the option --keep-going , but you will not have all messages at the
end, as far as I remember. If so, you can redirect the output to a file.
Francisco
--
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw
[-- Attachment #2: Type: text/html, Size: 1319 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
2012-11-30 12:42 ` Francisco Ares
@ 2012-11-30 12:43 ` Michael Mol
2012-11-30 12:46 ` Dale
` (4 subsequent siblings)
6 siblings, 0 replies; 16+ messages in thread
From: Michael Mol @ 2012-11-30 12:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
On Nov 30, 2012 7:29 AM, "Helmut Jarausch" <jarausch@igpm.rwth-aachen.de>
wrote:
>
> Hi,
> this is nuissance all the time.
>
> Updating a machine which hasn't been updated for a long(er) time I try
>
> emerge -vup --changed-use --deep --tree --with-bdeps y @system @world
>/root/UPD
>
> But many times this stops prematurely with messages like
>
> emerge: there are no ebuilds to satisfy
">=app-text/poppler-bindings-0.5.0"
>
> How can I keep emerge going and tell me these message all at once in the
end?
>
> Many thanks for hint,
> Helmut.
>
>
--keep-going
:)
[-- Attachment #2: Type: text/html, Size: 830 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
2012-11-30 12:42 ` Francisco Ares
2012-11-30 12:43 ` Michael Mol
@ 2012-11-30 12:46 ` Dale
2012-11-30 12:52 ` Yohan Pereira
` (3 subsequent siblings)
6 siblings, 0 replies; 16+ messages in thread
From: Dale @ 2012-11-30 12:46 UTC (permalink / raw
To: gentoo-user
Helmut Jarausch wrote:
> Hi,
> this is nuissance all the time.
>
> Updating a machine which hasn't been updated for a long(er) time I try
>
> emerge -vup --changed-use --deep --tree --with-bdeps y @system @world
> >/root/UPD
>
> But many times this stops prematurely with messages like
>
> emerge: there are no ebuilds to satisfy
> ">=app-text/poppler-bindings-0.5.0"
>
> How can I keep emerge going and tell me these message all at once in
> the end?
>
> Many thanks for hint,
> Helmut.
>
>
>
This should help. From man emerge:
--keep-going [ y | n ]
Continue as much as possible after an error. When an error occurs,
dependencies are recalculated for remaining packages and any with
unsatisfied dependencies are automatically dropped. Also see the
related --skipfirst option.
You can also add that to make.conf if you want that all the time. There
are times when emerge can't continue but if it can, it will.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
` (2 preceding siblings ...)
2012-11-30 12:46 ` Dale
@ 2012-11-30 12:52 ` Yohan Pereira
2012-11-30 13:05 ` 2sb7vwu
` (2 subsequent siblings)
6 siblings, 0 replies; 16+ messages in thread
From: Yohan Pereira @ 2012-11-30 12:52 UTC (permalink / raw
To: gentoo-user
On Friday 30 Nov 2012 13:26:07 Helmut Jarausch wrote:
>=app-text/poppler-bindings-0.5.0"
>
> How can I keep emerge going and tell me these message all at once in
> the end?
Maybe --keep-going ?
:)
--
- Yohan Pereira
The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
` (3 preceding siblings ...)
2012-11-30 12:52 ` Yohan Pereira
@ 2012-11-30 13:05 ` 2sb7vwu
2012-11-30 16:44 ` Michael Orlitzky
2012-11-30 17:53 ` Keith Dart
2012-11-30 18:01 ` Helmut Jarausch
6 siblings, 1 reply; 16+ messages in thread
From: 2sb7vwu @ 2012-11-30 13:05 UTC (permalink / raw
To: gentoo-user
> Hi,
> this is nuissance all the time.
>
> Updating a machine which hasn't been updated for a long(er) time I try
>
> emerge -vup --changed-use --deep --tree --with-bdeps y @system
> @world >/root/UPD
>
> But many times this stops prematurely with messages like
>
> emerge: there are no ebuilds to satisfy
> ">=app-text/poppler-bindings-0.5.0"
>
> How can I keep emerge going and tell me these message all at once in
> the end?
Get
ANGRY
and
--keep-going
:)
> Many thanks for hint,
> Helmut.
yw
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 13:05 ` 2sb7vwu
@ 2012-11-30 16:44 ` Michael Orlitzky
2012-12-01 13:02 ` 2sb7vwu
0 siblings, 1 reply; 16+ messages in thread
From: Michael Orlitzky @ 2012-11-30 16:44 UTC (permalink / raw
To: gentoo-user
On 11/30/12 08:05, 2sb7vwu@gmail.com wrote:
>
>> Hi,
>> this is nuissance all the time.
>>
>> Updating a machine which hasn't been updated for a long(er) time I try
>>
>> emerge -vup --changed-use --deep --tree --with-bdeps y @system
>> @world >/root/UPD
>>
>> But many times this stops prematurely with messages like
>>
>> emerge: there are no ebuilds to satisfy
>> ">=app-text/poppler-bindings-0.5.0"
>>
>> How can I keep emerge going and tell me these message all at once in
>> the end?
>
> Get
> ANGRY
> and
> --keep-going
> :)
Now all we need is,
emerge --i-dont-care
for when you have 100 packages ready to be updated and one stupid ruby
package has conflicting dependencies.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
` (4 preceding siblings ...)
2012-11-30 13:05 ` 2sb7vwu
@ 2012-11-30 17:53 ` Keith Dart
2012-11-30 18:01 ` Helmut Jarausch
6 siblings, 0 replies; 16+ messages in thread
From: Keith Dart @ 2012-11-30 17:53 UTC (permalink / raw
To: gentoo-user; +Cc: jarausch
Re , Helmut Jarausch said:
> How can I keep emerge going and tell me these message all at once in
> the end?
The --keep-going option, plus this in your make.conf:
PORTAGE_ELOG_SYSTEM="echo save"
Then emerge the elogv program. Use that to view all the emerge logs at
the end.
-- Keith
--
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Dart <keith@dartworks.biz>
public key: ID: 19017044
<http://www.dartworks.biz/>
=====================================================================
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
` (5 preceding siblings ...)
2012-11-30 17:53 ` Keith Dart
@ 2012-11-30 18:01 ` Helmut Jarausch
6 siblings, 0 replies; 16+ messages in thread
From: Helmut Jarausch @ 2012-11-30 18:01 UTC (permalink / raw
To: gentoo-user
Many thanks to all who helped me.
I didn't think of --keep-going having an effect if --pretend is active.
Helmut.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-11-30 16:44 ` Michael Orlitzky
@ 2012-12-01 13:02 ` 2sb7vwu
2012-12-01 18:56 ` Volker Armin Hemmann
0 siblings, 1 reply; 16+ messages in thread
From: 2sb7vwu @ 2012-12-01 13:02 UTC (permalink / raw
To: gentoo-user
>
> Now all we need is,
>
> emerge --i-dont-care
>
> for when you have 100 packages ready to be updated and one stupid ruby
> package has conflicting dependencies.
I doubt if there is point to runaway from problms. In your case I'd say "keep
calm and --keep-going" :)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-01 13:02 ` 2sb7vwu
@ 2012-12-01 18:56 ` Volker Armin Hemmann
2012-12-01 19:58 ` Graham Murray
0 siblings, 1 reply; 16+ messages in thread
From: Volker Armin Hemmann @ 2012-12-01 18:56 UTC (permalink / raw
To: gentoo-user; +Cc: 2sb7vwu
Am Samstag, 1. Dezember 2012, 15:02:10 schrieb 2sb7vwu@gmail.com:
> > Now all we need is,
> >
> > emerge --i-dont-care
> >
> > for when you have 100 packages ready to be updated and one stupid ruby
> > package has conflicting dependencies.
>
> I doubt if there is point to runaway from problms. In your case I'd say
> "keep calm and --keep-going" :)
--keep-going does not help you, if the emerge does not start because of
missing dep/slot conflict/blocking/masking whatever...
--
#163933
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-01 18:56 ` Volker Armin Hemmann
@ 2012-12-01 19:58 ` Graham Murray
2012-12-01 20:19 ` Mark Knecht
2012-12-02 14:12 ` Alan McKinnon
0 siblings, 2 replies; 16+ messages in thread
From: Graham Murray @ 2012-12-01 19:58 UTC (permalink / raw
To: gentoo-user
Volker Armin Hemmann <volkerarmin@googlemail.com> writes:
> --keep-going does not help you, if the emerge does not start because of
> missing dep/slot conflict/blocking/masking whatever...
Though it would be nice if there was some flag, probably mainly of use
with either ' -u @world' or --resume, to tell portage to get on and
merge what it can and leave any masked packages or those which would
generate blockers or conflicts.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-01 19:58 ` Graham Murray
@ 2012-12-01 20:19 ` Mark Knecht
2012-12-01 20:30 ` Volker Armin Hemmann
2012-12-02 14:12 ` Alan McKinnon
1 sibling, 1 reply; 16+ messages in thread
From: Mark Knecht @ 2012-12-01 20:19 UTC (permalink / raw
To: Gentoo User
On Sat, Dec 1, 2012 at 11:58 AM, Graham Murray <graham@gmurray.org.uk> wrote:
> Volker Armin Hemmann <volkerarmin@googlemail.com> writes:
>
>> --keep-going does not help you, if the emerge does not start because of
>> missing dep/slot conflict/blocking/masking whatever...
>
> Though it would be nice if there was some flag, probably mainly of use
> with either ' -u @world' or --resume, to tell portage to get on and
> merge what it can and leave any masked packages or those which would
> generate blockers or conflicts.
>
emerge -fDuN @world
will both check/resolve dependencies as well as insure that all files
required to do the build are downloaded. I typically run this command
prior to emerging anything as I dislike coming back and hour later and
finding the emerge didn't finish because a file either couldn't be
downloaded or its manifest didn't check out.
Just an alternative way to do things.
HTH,
Mark
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-01 20:19 ` Mark Knecht
@ 2012-12-01 20:30 ` Volker Armin Hemmann
0 siblings, 0 replies; 16+ messages in thread
From: Volker Armin Hemmann @ 2012-12-01 20:30 UTC (permalink / raw
To: gentoo-user; +Cc: Mark Knecht
Am Samstag, 1. Dezember 2012, 12:19:17 schrieb Mark Knecht:
> On Sat, Dec 1, 2012 at 11:58 AM, Graham Murray <graham@gmurray.org.uk>
wrote:
> > Volker Armin Hemmann <volkerarmin@googlemail.com> writes:
> >> --keep-going does not help you, if the emerge does not start because of
> >> missing dep/slot conflict/blocking/masking whatever...
> >
> > Though it would be nice if there was some flag, probably mainly of use
> > with either ' -u @world' or --resume, to tell portage to get on and
> > merge what it can and leave any masked packages or those which would
> > generate blockers or conflicts.
>
> emerge -fDuN @world
>
> will both check/resolve dependencies as well as insure that all files
> required to do the build are downloaded. I typically run this command
> prior to emerging anything as I dislike coming back and hour later and
> finding the emerge didn't finish because a file either couldn't be
> downloaded or its manifest didn't check out.
>
> Just an alternative way to do things.
>
> HTH,
> Mark
that doesn't solve the problem I mentioned above.
--
#163933
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-01 19:58 ` Graham Murray
2012-12-01 20:19 ` Mark Knecht
@ 2012-12-02 14:12 ` Alan McKinnon
2012-12-02 14:58 ` kwkhui
1 sibling, 1 reply; 16+ messages in thread
From: Alan McKinnon @ 2012-12-02 14:12 UTC (permalink / raw
To: gentoo-user
On Sat, 01 Dec 2012 19:58:45 +0000
Graham Murray <graham@gmurray.org.uk> wrote:
> Volker Armin Hemmann <volkerarmin@googlemail.com> writes:
>
> > --keep-going does not help you, if the emerge does not start
> > because of missing dep/slot conflict/blocking/masking whatever...
>
> Though it would be nice if there was some flag, probably mainly of use
> with either ' -u @world' or --resume, to tell portage to get on and
> merge what it can and leave any masked packages or those which would
> generate blockers or conflicts.
>
That is a terribly bad idea, and you need to have a fairly deep
understanding of IT theory to see it (which is why so few people see
it). I don't know which camp you are in.
The command is to emerge world, and it's supposed to be determinate,
i.e. when it's ready to start you can tell what it's going to do, and
that should be what you told it to do, no more and no less[1]
the command is
"emerge world"
not
"emerge the-bits-of-world-you-think-you-can-deal-with"
If portage cannot emerge world and fully obey what root told it to do,
then portage correctly refuses to continue. It could not possibly be
any other way, as eg all automated build tools (puppet, chef and
friends, even flameeyes's sandbox) break horribly if you do it any
other way. Life is hard enough dealing with build failures without
adding portage do somethign different to what it was told into the mix.
[1] "determinate" excludes build failures, as those are not predictable.
Dep graph failures happen before the meaty work begins.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] emerge --update : how to keep it going?
2012-12-02 14:12 ` Alan McKinnon
@ 2012-12-02 14:58 ` kwkhui
0 siblings, 0 replies; 16+ messages in thread
From: kwkhui @ 2012-12-02 14:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2543 bytes --]
On Sun, 2 Dec 2012 16:12:02 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Sat, 01 Dec 2012 19:58:45 +0000
> Graham Murray <graham@gmurray.org.uk> wrote:
>
> > Volker Armin Hemmann <volkerarmin@googlemail.com> writes:
> >
> > > --keep-going does not help you, if the emerge does not start
> > > because of missing dep/slot conflict/blocking/masking whatever...
> >
> > Though it would be nice if there was some flag, probably mainly of
> > use with either ' -u @world' or --resume, to tell portage to get on
> > and merge what it can and leave any masked packages or those which
> > would generate blockers or conflicts.
> >
>
> That is a terribly bad idea, and you need to have a fairly deep
> understanding of IT theory to see it (which is why so few people see
> it). I don't know which camp you are in.
>
> The command is to emerge world, and it's supposed to be determinate,
> i.e. when it's ready to start you can tell what it's going to do, and
> that should be what you told it to do, no more and no less[1]
>
> the command is
> "emerge world"
> not
> "emerge the-bits-of-world-you-think-you-can-deal-with"
>
> If portage cannot emerge world and fully obey what root told it to do,
> then portage correctly refuses to continue. It could not possibly be
> any other way, as eg all automated build tools (puppet, chef and
> friends, even flameeyes's sandbox) break horribly if you do it any
> other way. Life is hard enough dealing with build failures without
> adding portage do somethign different to what it was told into the
> mix.
>
> [1] "determinate" excludes build failures, as those are not
> predictable. Dep graph failures happen before the meaty work begins.
>
>
>
While there are good reasons not to implement it in portage itself, you
can implement it with a bit of help from shell scripts telling portage
what to do.
Do an "emerge -uDpv world", use sed or awk or whatever to replace the
beginning [ebuild ...] and whatever come after the package
name&version, and finally loop "emerge -1 =${package}" for each package
in that list. Now provided you discard the return value of emerge, if
such ${package} will give you something that portage doesn't think is a
good idea (e.g. unsatisfiable dependencies), the loop will go on to the
next package instead of completely halting.
The shell script is thus left as an exercise.
The usual warning applies:- it can be done doesn't necessarily mean it
is a good idea to do it.
Kerwin.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2012-12-02 15:00 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 12:26 [gentoo-user] emerge --update : how to keep it going? Helmut Jarausch
2012-11-30 12:42 ` Francisco Ares
2012-11-30 12:43 ` Michael Mol
2012-11-30 12:46 ` Dale
2012-11-30 12:52 ` Yohan Pereira
2012-11-30 13:05 ` 2sb7vwu
2012-11-30 16:44 ` Michael Orlitzky
2012-12-01 13:02 ` 2sb7vwu
2012-12-01 18:56 ` Volker Armin Hemmann
2012-12-01 19:58 ` Graham Murray
2012-12-01 20:19 ` Mark Knecht
2012-12-01 20:30 ` Volker Armin Hemmann
2012-12-02 14:12 ` Alan McKinnon
2012-12-02 14:58 ` kwkhui
2012-11-30 17:53 ` Keith Dart
2012-11-30 18:01 ` Helmut Jarausch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox