Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2760

rpm package should not obsolete itself

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 100.3.0
    • Affects Version/s: 100.1.1, 100.2.0
    • Component/s: None
    • None
    • v4.4

      Hi,
      this about the the SuSE rpm we download from here: https://repo.mongodb.org/zypper/suse/15/mongodb-org/4.4/x86_64/RPMS/mongodb-database-tools-100.2.0.x86_64.rpm

      The rpm obsoletes itself:
      euler /root# rpm -q mongodb-database-tools --provides
      mongodb-database-tools = 100.2.0-1
      mongodb-database-tools(x86-64) = 100.2.0-1
      euler /root# rpm -q mongodb-database-tools --obsoletes
      mongodb-database-tools <= 100.2.0

      This leads to problems with some rpm management tools because the rpm will at the same time want to be installed but also to obsolete itself.

      The spec file obviously containsn "Obsoletes: %{name} <= %{version}".
      This should be changed to "Obsoletes: %{name}< %{version}"

       

      cu,

      Frank

            Assignee:
            ryan.chipman@mongodb.com Ryan Chipman
            Reporter:
            fsteiner-board@bio.ifi.lmu.de Frank Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: