I agree that my posts in these thread may be unkind; I should use more emoticons (

) and better explain my point of view.
I do not really know in which cases the dependencies may be included in the
world file. In my opinion, the script is not effective in all cases.
Currently, I'm confused: I wonder if we can proceed with different ways and get different results (
btw get unexpected results).
Here is the
algorithm that I will use to remove the dependencies included in the world file. The program must be adapted to work (
see the note, below).
Code: Select all
#!/bin/bash
while read i ; do \
if [[ -n $(qdepends -aQ $i) ]]; then \
echo $i' can be deselected'
echo $i >> /tmp/deselect
else
echo $i' needs to stay in @world'
fi
done < /var/lib/portage/world
Note: qdepends -aQ always display information and most important this applet has a critical [bug=390749]bug[/bug].
helecho