I got the following message from epm: epm: Could't parse name/version/suffix/rev from -0.3.3 at /usr/bin/epm line 78. Uppon a little debugging I found that the flightgear dependency entries in /var/db/flightgear-0.9.2 had erroneous information. The files DEPEND and RDEPEND had this line: >=dev-gamessimgear/-0.3.3 when they should read: >=dev-games/simgear-0.3.3. The file flightgear-0.9.2.ebuild has line 22 as: DEPEND=">=dev-gamessimgear/-0.3.3" when it should be: DEPEND=">=dev-games/simgear-0.3.3" Finally, /var/db/pkg had the following directory: dev-gamessimgear/-0.3.3 The correct placement and naming for this directory would be: /var/db/pkg/dev-games/simgear-0.3.3 It clearly seems to be a bug in the database generation. Reproducible: Always Steps to Reproduce: 1.emerge flightgear 2.emerge epm 3.type "epm -qa" Actual Results: epm returned the following error: epm: Could't parse name/version/suffix/rev from -0.3.3 at /usr/bin/epm line 78. Expected Results: Assuming this is not a typo in the database, Epm should have done some error checking to verify the validity of the database entry, and the database generation utility should be corrected to generate the right directory name.
this was a 1 time thing ... i fixed the bug in portage sometime ago ... i guess epm only needs to be updated to handle invalid DEPEND values ...
I don't see anything to fix here in epm. The problem was a typo in the package. Epm gave an error message because the typo couldn't be parsed. Seems like correct behavior to me! ;-)