rpm package should not obsolete itself

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Frank Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: