* [gentoo-user] How to help portage to be become a bit smarter
@ 2009-06-29 8:22 Helmut Jarausch
2009-06-29 9:06 ` Dale
2009-06-29 9:10 ` Dale
0 siblings, 2 replies; 5+ messages in thread
From: Helmut Jarausch @ 2009-06-29 8:22 UTC (permalink / raw
To: gentoo-user
Hi,
I'm using portage-2.2_rc33. And it has become smarter with every new
release. Still, I don't understand why it's sometimes smarter than other
times.
In most cases now, it's able to handle cases where installed old
packages which depend on, say, libXX-version-1, block emerging
libXX-version-2 by unmerging the old version itself.
But sometimes, like today when upgrading from various qt-...-4.5.1
to qt-...-4.5.2 packages it produces tons of blockings which it
cannot resolve itself.
How can I help portage to resolve this blockings itself in a smart way?
(trying to do
emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
automatically.
)
Many thanks for a hint,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to help portage to be become a bit smarter
2009-06-29 8:22 [gentoo-user] How to help portage to be become a bit smarter Helmut Jarausch
@ 2009-06-29 9:06 ` Dale
2009-06-29 9:10 ` Dale
1 sibling, 0 replies; 5+ messages in thread
From: Dale @ 2009-06-29 9:06 UTC (permalink / raw
To: gentoo-user
Helmut Jarausch wrote:
> Hi,
>
> I'm using portage-2.2_rc33. And it has become smarter with every new
> release. Still, I don't understand why it's sometimes smarter than other
> times.
>
> In most cases now, it's able to handle cases where installed old
> packages which depend on, say, libXX-version-1, block emerging
> libXX-version-2 by unmerging the old version itself.
>
> But sometimes, like today when upgrading from various qt-...-4.5.1
> to qt-...-4.5.2 packages it produces tons of blockings which it
> cannot resolve itself.
>
> How can I help portage to resolve this blockings itself in a smart way?
> (trying to do
> emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
> automatically.
> )
>
> Many thanks for a hint,
> Helmut.
>
>
Well, I have a question that may help. I went through this upgrade and
it did fine. Do you have anything qt in your world file? You shouldn't
unless you are a developer that works with qt. That's what I have read
anyway.
Another unrelated question. Why do you have -j2 on the command? If
that is the MAKEOPTS setting, why not have it in make.conf? I also put
--keep-going in mine to save typing.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to help portage to be become a bit smarter
2009-06-29 8:22 [gentoo-user] How to help portage to be become a bit smarter Helmut Jarausch
2009-06-29 9:06 ` Dale
@ 2009-06-29 9:10 ` Dale
2009-06-29 9:31 ` Helmut Jarausch
1 sibling, 1 reply; 5+ messages in thread
From: Dale @ 2009-06-29 9:10 UTC (permalink / raw
To: gentoo-user
Helmut Jarausch wrote:
> Hi,
>
> I'm using portage-2.2_rc33. And it has become smarter with every new
> release. Still, I don't understand why it's sometimes smarter than other
> times.
>
> In most cases now, it's able to handle cases where installed old
> packages which depend on, say, libXX-version-1, block emerging
> libXX-version-2 by unmerging the old version itself.
>
> But sometimes, like today when upgrading from various qt-...-4.5.1
> to qt-...-4.5.2 packages it produces tons of blockings which it
> cannot resolve itself.
>
> How can I help portage to resolve this blockings itself in a smart way?
> (trying to do
> emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
> automatically.
> )
>
> Many thanks for a hint,
> Helmut.
>
>
Another thought to. The option --with-bdeps y may help. It may not but
it could be worth a try. I have ran into problems where that helped and
have read where a few others have ran into similar problems and that
fixed it. It just tells emerge to dig a little deeper from my
understanding.
Can't think of anything else at the moment.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to help portage to be become a bit smarter
2009-06-29 9:10 ` Dale
@ 2009-06-29 9:31 ` Helmut Jarausch
2009-06-29 11:20 ` Dale
0 siblings, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2009-06-29 9:31 UTC (permalink / raw
To: gentoo-user
On 29 Jun, Dale wrote:
> Helmut Jarausch wrote:
>> Hi,
>>
>> I'm using portage-2.2_rc33. And it has become smarter with every new
>> release. Still, I don't understand why it's sometimes smarter than other
>> times.
>>
>> In most cases now, it's able to handle cases where installed old
>> packages which depend on, say, libXX-version-1, block emerging
>> libXX-version-2 by unmerging the old version itself.
>>
>> But sometimes, like today when upgrading from various qt-...-4.5.1
>> to qt-...-4.5.2 packages it produces tons of blockings which it
>> cannot resolve itself.
>>
>> How can I help portage to resolve this blockings itself in a smart way?
>> (trying to do
>> emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
>> automatically.
>> )
>>
>> Many thanks for a hint,
>> Helmut.
>>
>>
>
> Another thought to. The option --with-bdeps y may help. It may not but
> it could be worth a try. I have ran into problems where that helped and
> have read where a few others have ran into similar problems and that
> fixed it. It just tells emerge to dig a little deeper from my
> understanding.
>
> Can't think of anything else at the moment.
>
Thanks Dale, --with-bdeps y seems to help.
By the way, the '-j <n>' option of emerge has nothing to do
with the MAKEOPTS option.
The -j option of emerge require parallel emerging of several packages at
a time while the -j option in MAKEOPTS requires parallel make of a
single package.
In some phases (like configure, bzip of the man pages, etc) emerge
cannot use multiple cores for a single package. Therefore the -j option
of emerge tries to emerge several packages at a time unless dependencies
forbid that. It's quite clever in that respect.
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to help portage to be become a bit smarter
2009-06-29 9:31 ` Helmut Jarausch
@ 2009-06-29 11:20 ` Dale
0 siblings, 0 replies; 5+ messages in thread
From: Dale @ 2009-06-29 11:20 UTC (permalink / raw
To: gentoo-user
Helmut Jarausch wrote:
> On 29 Jun, Dale wrote:
>
>> Helmut Jarausch wrote:
>>
>>> Hi,
>>>
>>> I'm using portage-2.2_rc33. And it has become smarter with every new
>>> release. Still, I don't understand why it's sometimes smarter than other
>>> times.
>>>
>>> In most cases now, it's able to handle cases where installed old
>>> packages which depend on, say, libXX-version-1, block emerging
>>> libXX-version-2 by unmerging the old version itself.
>>>
>>> But sometimes, like today when upgrading from various qt-...-4.5.1
>>> to qt-...-4.5.2 packages it produces tons of blockings which it
>>> cannot resolve itself.
>>>
>>> How can I help portage to resolve this blockings itself in a smart way?
>>> (trying to do
>>> emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
>>> automatically.
>>> )
>>>
>>> Many thanks for a hint,
>>> Helmut.
>>>
>>>
>>>
>> Another thought to. The option --with-bdeps y may help. It may not but
>> it could be worth a try. I have ran into problems where that helped and
>> have read where a few others have ran into similar problems and that
>> fixed it. It just tells emerge to dig a little deeper from my
>> understanding.
>>
>> Can't think of anything else at the moment.
>>
>>
>
> Thanks Dale, --with-bdeps y seems to help.
>
> By the way, the '-j <n>' option of emerge has nothing to do
> with the MAKEOPTS option.
> The -j option of emerge require parallel emerging of several packages at
> a time while the -j option in MAKEOPTS requires parallel make of a
> single package.
>
> In some phases (like configure, bzip of the man pages, etc) emerge
> cannot use multiple cores for a single package. Therefore the -j option
> of emerge tries to emerge several packages at a time unless dependencies
> forbid that. It's quite clever in that respect.
>
> Helmut.
>
>
Dang portage. It just gets better all the time. ;-)
Glad that helped.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-29 11:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 8:22 [gentoo-user] How to help portage to be become a bit smarter Helmut Jarausch
2009-06-29 9:06 ` Dale
2009-06-29 9:10 ` Dale
2009-06-29 9:31 ` Helmut Jarausch
2009-06-29 11:20 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox