for PACKAGE in sys-devel/perl sys-apps/iptables; do find /var/db/pkg -name 'RDEPEND' | xargs grep $PACKAGE | sed -e 's/^\/var\/db\/pkg\///' -e 's/\/RDEPEND.*//' done Isn't perl now dev-lang/perl not sys-devel perl? In fact, isn't sys-apps/iptables now net-firewall/iptables? How many others can we find and log in this bug?
nick, does the move file not adjust the entries in /var/db/pkg?
Not quite this way... It's a bug, and a non-trivial one at that. This will break reverse deps. :-/
Fixed for >=portage-2.0.48_pre3