Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19681 - epm 0.8 -q reports incorrectly package installed if package version specified
Summary: epm 0.8 -q reports incorrectly package installed if package version specified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-20 12:54 UTC by Neil McCalden
Modified: 2003-04-24 15:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
make epm -q version aware (epm-qspecific.patch,687 bytes, patch)
2003-04-20 12:58 UTC, Neil McCalden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil McCalden 2003-04-20 12:54:57 UTC
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.
Comment 1 Neil McCalden 2003-04-20 12:58:42 UTC
Created attachment 10921 [details, diff]
make epm -q  version aware
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-04-23 21:28:44 UTC
Thanks, I fixed this in cvs as 0.8.1.  The patch is much appreciated.
Comment 3 Wayne Davison 2003-04-24 15:25:21 UTC
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?
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-04-24 15:59:11 UTC
Yes, please assign epm bugs to me.  And thanks regarding the ChangeLog, I'll fix it.