Do epm -q slocate-2.7-r1 when slocate-2.7-r2 is installed returns slocate-2.7-r1 as if it was installed. Reproducible: Always Steps to Reproduce: 1. Find package with older ebuild 2. epm -q package-installed-ver 3. epm -q package-old-ver Expected Results: I believe it should return 'not installed'. This allows scripts to check postively if a given version is installed eg: checking for old packages in pakages/All directory. Would also be consistent with RPM output. I have a patch which makes -q test the version if specified on command line.
Created attachment 10921 [details, diff] make epm -q version aware
Thanks, I fixed this in cvs as 0.8.1. The patch is much appreciated.
Note that the epm ChangeLog for 0.8.1 refers to bug 19438, not this bug. Also, I'd love to see my 4-month-old epm patches (see bug 8832 and bug 12798) get incorporated into epm -- should these bugs be reassigned to you, Aron?
Yes, please assign epm bugs to me. And thanks regarding the ChangeLog, I'll fix it.