Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14264 - Endless loop when doing emerge --fetchonly --update world and new version of Portage is available
Summary: Endless loop when doing emerge --fetchonly --update world and new version of ...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 18:07 UTC by Chris Snyder
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Snyder 2003-01-20 18:07:59 UTC
Trying to do emerge --fetchonly --update world goes into an endless loop when an
update of Portage is available. Here's an example:

backup root # emerge -fu world
Calculating world dependencies ...done!
>>> emerge (1 of 2) sys-apps/portage-2.0.46-r9 to /
Calculating world dependencies ...done!
>>> emerge (1 of 2) sys-apps/portage-2.0.46-r9 to /
Calculating world dependencies ...done!
>>> emerge (1 of 2) sys-apps/portage-2.0.46-r9 to /
Calculating world dependencies ...done!
>>> emerge (1 of 2) sys-apps/portage-2.0.46-r9 to /
...

I think this is due to the fact that emerge is restarting after fetching the
package, not realizing that it did not actually install the package.

backup root # emerge -pu world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild    U ] sys-apps/portage-2.0.46-r9 [2.0.46-r6]
*** Portage will stop merging at this point and reload itself,
    recalculate dependancies, and complete the merge.
...

It shouldn't reload when it's in --fetchonly mode.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-01-21 01:12:40 UTC
update portage. Fixed in the version you're downloading.