Jason Stubbs posted <[EMAIL PROTECTED]>, excerpted
below,  on Sun, 04 Dec 2005 11:13:54 +0900:

>> Reading this reminds me of a question I've had since I tried emerge -eav
>> world last time:
>>
>> When portage merges, it stops the emerge process, updates its metadata or
>> whatever, then restarts the process.  With the -e in there, at least here,
>> it reissued the same command over again, thereby restarting the process
>> from the beginning and of course, upon getting to portage, looping yet
>> again!
> 
> This is incorrect. Portage should only restart if the version that was merged 
> does not match the internally recorded version. There was one or two releases 
> that had an incorrect internal version but not for at least a year. However, 
> if the version has changed and portage does restart itself then any packages 
> listed before portage will be merged again.
> 
>> Maybe it was because I was using -KuD also, to remerge/upgrade from binary
>> packages? (Hard disk trouble, I was remerging the binary packages to
>> bring up2date an old installation snapshot.)
> 
> Perhaps you were using one of the broken versions?

Most likely so.  At the time, the portage database was out of sync with
what was actually merged, because the database was new (on /var, which
wasn't affected) but I was working from an old root and /usr set.  Since I
had all the binary packages, I figured the easiest way to get everything
back upto-date and lined up again, was to do an emerge --emptytree
--packageonly, and I was rather frustrated to find it kept looping, when
I'd never seen anything in the documentation saying to watch out for
portage or the easiest way to avoid the loop.  =8^\

Honestly, I didn't expect it to be absolutely smooth, because that's not
"functioning within design specifications", and I knew it.  It's just that
was the only experience with emerge --emptytree I'd had, and I didn't
expect /that/ problem, because it was just too obvious not to be mentioned
if it was happening to everyone, or whatever.

Anyway, I have an explanation for what had been an unexplained anomaly,
now, and my level of peace with the world just went up accordingly, so
very much thanks!

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-dev@gentoo.org mailing list

Reply via email to