# see https://bugs.gentoo.org/show_bug.cgi?id=472020 --- pym/gentoolkit/eclean/search.py.orig 2013-06-01 17:12:58.619341697 +0200 +++ pym/gentoolkit/eclean/search.py 2013-06-01 17:57:21.384179193 +0200 @@ -573,9 +570,9 @@ if dbapi.cpv_exists(cpv): # exclusion because pkg still exists (in porttree or vartree) del clean_me[cpv] continue - if portage.cpv_getkey(cpv) in cp_all: + if portage.cpv_getkey(cpv) in cp_all and port_dbapi.cpv_exists(cpv): # exlusion because of --package-names del clean_me[cpv] return clean_me