(Bear with me, this is a long post) I originally thought that perl-cleaner was horrible broken. It was trying to emerge packages that A) don't exist or B) were not the most recent. Have a look at this: ------------------- % sudo perl-cleaner all ask <snip> Press Enter to see the list of ebuilds we'll be evaluating app-editors/vim-6.4 dev-perl/Archive-Zip-1.16 dev-perl/Compress-Zlib-1.41 dev-perl/DateManip-5.44 dev-perl/Locale-gettext-1.05 dev-perl/XML-Parser-2.34 dev-perl/perl-tk-804.027 dev-util/subversion-1.2.3-r2 mail-mta/exim-4.60-r1 media-gfx/imagemagick-6.2.5.5 net-im/gaim-1.5.0 net-irc/irssi-0.8.10 net-nds/openldap-2.2.28-r3 perl-core/Test-Simple-0.62 <snip> Fri Jun 2 22:55:16 CDT 2006 : There are no unmasked ebuilds to satisfy app-editors/vim. Skipping dev-perl/Locale-gettext-1.05 is not the latest available. Use version 1.03? (Y/n) n net-irc/irssi-0.8.10_rc5-r1 is not the latest available. Use version 0.8.9-r1? (Y/n) n perl-core/Test-Simple-0.60 is not the latest available. Use version 0.54? (Y/n) n <snip> Press Enter to see the final list of ebuilds to install dev-perl/Archive-Zip dev-perl/Compress-Zlib dev-perl/DateManip =dev-perl/Locale-gettext-1.05 dev-perl/XML-Parser dev-perl/perl-tk dev-util/subversion mail-mta/exim media-gfx/imagemagick net-im/gaim =net-irc/irssi-0.8.10_rc5-r1 net-nds/openldap =perl-core/Test-Simple-0.60 <snip> ------------------- You can see here that perl-cleaner ignores vim, and tries to install a version of irssi that doesn't even exist in the tree. % eix irssi * net-irc/irssi Available versions: 0.8.10 ~0.8.10-r3 % eix -e vim * app-editors/vim Available versions: 6.4 ~7.0.17 After some additional digging, I found that this was releted to the new esearch feature of the script. I commented out all of the esearch part and re-ran the script, it worked beatifully. This is the kicker, I *NEVER* use esearch. I looked into it and found that it had horrible outdated info. I then ran eupdatedb and re-ran perl-cleaner. This time it worked better but not 100% it is still saying that there is no vim availible, "There are no unmasked ebuilds to satisfy app-editors/vim. Skipping" Logs and more info on its way.
I think this should be added to line 187. I am trying to follow the format of your script by using the printf. echo "Please make sure esearch is updated. This can be updated by running eupdatedb (as root)" printf "Continue? (Y/N) " read ANSWER
*** This bug has been marked as a duplicate of 135409 ***
.