Rob HudsonThu Dec 7 09:09:00 PST 2006
> -----Original Message----- > From: notanatheist at yahoo.com > To: euglug at euglug.org > Sent: Wed, 6 Dec 2006 8:48 PM > Subject: Re: [Eug-lug] update-world from GWN > > This seems almost scarier than having it fail at 3 of 200. Gee, > important package can't be emerged but others dependent upon it > are... Well, there goes the box. So sad to think how often I > want to revert my main box back to Gentoo again. I've been quite > happy with Archlinux on the desktop for some time now and Gentoo > on the fileserver. > > TBA, > MrO The shell script handles that case. It looks at what failed and uses equery to see what packages depend on the failed package and removes those from the list... echo "*** $failedpkg compile failed, skipping." # Is there a package in 'emergelist' that requires the failed pkg as a dep? If so, remove it too. failedpkgdeps=`echo $failedpkg | sed 's/-[0-9].*//'` deps=`equery depends $failedpkgdeps | sed '/^\[/d' | sed 's/-[0-9].*//'` for each in `echo $deps` do if [[ -n `cat $emergelist | grep "$each"` ]] then if [[ -n `emerge -p $each | grep "$failedpkg"` ]] then each2=`cat $emergelist | grep $each | sed 's/\=//'` echo "$each2 (depends on $failedpkg)" >> $failedlist eachsed=`echo $each | sed 's|\/|\\\/|'` cat $emergelist | sed "/$eachsed/d" > $emergetemp mv $emergetemp $emergelist echo "*** $each depends on $failedpkg, skipping." else : fi else : fi done