[Eug-lug] update-world from GWN
Mr O
notanatheist at yahoo.com
Thu Dec 7 09:15:25 PST 2006
Stop that. I'm trying not to reconsider Gentoo on my main system
and you are not helping.
--- Rob Hudson <rob at euglug.net> wrote:
> > -----Original Message-----
> 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
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
>
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
More information about the EUGLUG
mailing list