<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>19681</bug_id>
          
          <creation_ts>2003-04-20 12:54 0000</creation_ts>
          <short_desc>epm 0.8 -q reports incorrectly package installed if package version specified</short_desc>
          <delta_ts>2003-04-24 15:59:11 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nmcc@zizz.org</reporter>
          <assigned_to>agriffis@gentoo.org</assigned_to>
          <cc>gentoo@blorf.net</cc>

      

      
          <long_desc isprivate="0">
            <who>nmcc@zizz.org</who>
            <bug_when>2003-04-20 12:54:57 0000</bug_when>
            <thetext>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 &apos;not installed&apos;. 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nmcc@zizz.org</who>
            <bug_when>2003-04-20 12:58:42 0000</bug_when>
            <thetext>Created an attachment (id=10921)
make epm -q  version aware
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2003-04-23 21:28:44 0000</bug_when>
            <thetext>Thanks, I fixed this in cvs as 0.8.1.  The patch is much appreciated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@blorf.net</who>
            <bug_when>2003-04-24 15:25:21 0000</bug_when>
            <thetext>Note that the epm ChangeLog for 0.8.1 refers to bug 19438, not this bug.

Also, I&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2003-04-24 15:59:11 0000</bug_when>
            <thetext>Yes, please assign epm bugs to me.  And thanks regarding the ChangeLog, I&apos;ll fix it.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>10921</attachid>
            <date>2003-04-20 12:58 0000</date>
            <desc>make epm -q  version aware</desc>
            <filename>epm-qspecific.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvYmluL2VwbQkyMDAzLTA0LTE5IDIzOjQ3OjMyLjAwMDAwMDAwMCArMDEwMAorKysg
ZXBtCTIwMDMtMDQtMjAgMTY6MDY6NTEuMDAwMDAwMDAwICswMTAwCkBAIC00MDQsMTIgKzQwNCwx
OCBAQAogCSMgbXVzdCBoYXZlIGJlZW4gcG9wdWxhdGVkIGJ5LCBmb3IgaW5zdGFuY2UsIC1xZgog
ICAgIH0KICAgICBlbHNlIHsKLQlmb3IgbXkgJGEgKEBBUkdWKSB7CisJVVNFUkFSRzogZm9yIG15
ICRhIChAQVJHVikgewogCSAgICBpZiAoJGEgPX4gLyRwa2dyZWdleC9vKSB7CiAJCXZlcmIgIiRh
IG1hdGNoZXMgcGtncmVnZXgiOwogCQl2dmVyYiAibmFtZT0kMSwgdmVyc2lvbj0kMiwgc3VmZml4
PSQzLCByZXZpc2lvbj0kNCI7Ci0JCXB1c2ggQHBrZ3MsICRhOwotCQluZXh0OworCQkjIHVzZXIg
aGFzIGFza2VkIGZvciBzcGVjaWZpYyB2ZXJzaW9uLCBjaGVjayBpZiBhbnkgaW5zdGFsbGVkIHZl
cnNpb24gbWF0Y2hlcworCQlmb3IgbXkgJHB2ZXIgKEB7JGRuYW1wa2d7JDF9fSkgeworCQkJdnZl
cmIgImZvdW5kIHZlcnNpb246ICRwdmVyIjsKKwkJCWlmICgkcHZlciBlcSAkYSkgeworCQkJCXB1
c2ggQHBrZ3MsICRhOworCQkJCW5leHQgVVNFUkFSRzsKKwkJCX0KKwkJfQogCSAgICB9CiAJICAg
IGlmIChkZWZpbmVkICRkbmFtcGtneyRhfSkgewogCQl2ZXJiICIkYSBmb3VuZCBpbiBkbmFtcGtn
IjsK
</data>        

          </attachment>
    </bug>

</bugzilla>