<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 08/17/2015 10:23 AM, Martin Basti
      wrote:<br>
    </div>
    <blockquote cite="mid:55D19A0C.7040607@redhat.com" type="cite">
      <br>
      <br>
      On 08/12/2015 01:10 PM, Milan Kubík wrote:
      <br>
      <blockquote type="cite">On 08/10/2015 04:41 PM, Jan Cholasta
        wrote:
        <br>
        <blockquote type="cite">Dne 10.8.2015 v 16:03 Milan Kubík
          napsal(a):
          <br>
          <blockquote type="cite">
            <br>
            <br>
            <br>
            -------- Forwarded Message --------
            <br>
            Subject:     Re: [Freeipa-devel] Unable to install bits from
            ipa-4-2 branch
            <br>
            Date:     Mon, 10 Aug 2015 15:55:35 +0200
            <br>
            From:     Jan Cholasta <a class="moz-txt-link-rfc2396E" href="mailto:jcholast@redhat.com"><jcholast@redhat.com></a>
            <br>
            To:     Milan Kubík <a class="moz-txt-link-rfc2396E" href="mailto:mkubik@redhat.com"><mkubik@redhat.com></a>
            <br>
            CC:     Martin Kosek <a class="moz-txt-link-rfc2396E" href="mailto:mkosek@redhat.com"><mkosek@redhat.com></a>
            <br>
            <br>
            <br>
            <br>
            Dne 10.8.2015 v 15:31 Milan Kubík napsal(a):
            <br>
            <blockquote type="cite">On 08/10/2015 03:22 PM, Jan Cholasta
              wrote:
              <br>
              <blockquote type="cite">Dne 7.8.2015 v 09:17 Martin Kosek
                napsal(a):
                <br>
                <blockquote type="cite">On 08/07/2015 08:46 AM, Jan
                  Cholasta wrote:
                  <br>
                  <blockquote type="cite">Dne 7.8.2015 v 08:44 Martin
                    Kosek napsal(a):
                    <br>
                    <blockquote type="cite">On 08/06/2015 05:26 PM,
                      Milan Kubík wrote:
                      <br>
                      <blockquote type="cite">Hi list,
                        <br>
                        <br>
                        I just noticed that the bits built from ipa-4-2
                        branch cannot be
                        <br>
                        installed.
                        <br>
                        The freeipa packages built have version such as
                        <br>
                        freeipa-server-dns-4.2.0-0.20150806083844Zjenkins9git2812242.fc22.x86_64
                        <br>
                        <br>
                        <br>
                        The version check in the spec file makes the
                        server-dns package
                        <br>
                        obsolete the
                        <br>
                        server package from tha same build.
                        <br>
                        The cause is the commit [1]. This issue blocks
                        us from running tests
                        <br>
                        on ipa-4-2
                        <br>
                        branch.
                        <br>
                        <br>
                        Should we bump the minor version on this branch
                        to 4.2.1?
                        <br>
                        <br>
                        [1]:
                        <br>
                        <a class="moz-txt-link-freetext" href="https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=f555fe95dba9ec453fa10f160089dcc5404f724a">https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=f555fe95dba9ec453fa10f160089dcc5404f724a</a>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        Cheers,
                        <br>
                        Milan
                        <br>
                        <br>
                      </blockquote>
                      Why does the spec calls for
                      <br>
                      <br>
                      # upgrade path from monolithic -server to -server
                      + -server-dns
                      <br>
                      Obsoletes: %{name}-server <= 4.2.0
                      <br>
                      <br>
                      and not for
                      <br>
                      <br>
                      # upgrade path from monolithic -server to -server
                      + -server-dns
                      <br>
                      Obsoletes: %{name}-server < 4.2.0
                      <br>
                      <br>
                      ? Is that the root cause of these issues?
                      <br>
                    </blockquote>
                    <br>
                    AFAIK this would break updates from 4.2.0 to 4.2.1.
                    <br>
                  </blockquote>
                  <br>
                  I wonder how it could break the upgrade...
                  <br>
                  <br>
                </blockquote>
                <br>
                Patch attached.
                <br>
                <br>
              </blockquote>
              This won't help as long as we build something like
              <br>
freeipa-server-dns-4.2.0-0.20150810111037Zjenkins11gitad6a87e
              <br>
            </blockquote>
            <br>
            Right. Updated patch attached. It will break updates from
            pre-server-dns
            <br>
            git builds, but install should be fine.
            <br>
            <br>
            -- <br>
            Jan Cholasta
            <br>
            <br>
            <br>
            ACK, thanks.
            <br>
          </blockquote>
          <br>
          Self-NACK, as this also breaks updates from freeipa-4.2.0-0
          from the freeipa-4.2 COPR.
          <br>
          <br>
          Updated patch attached.
          <br>
          <br>
        </blockquote>
        Hi,
        <br>
        <br>
        thanks for the patch. It works as far as updating from 4.1, the
        copr build
        <br>
        (correctly replaces freeipa-server package) as well as upgrade
        from earlier build from repository.
        <br>
        <br>
        If there are no objections, ACK from me.
        <br>
        <br>
        Milan
        <br>
        <br>
      </blockquote>
      Pushed to ipa-4-2: 5d5240b9db3b9e6f29351c65272a363b253cd2d3
      <br>
    </blockquote>
    Ok, while checking this manually it seemed to work, the jenkins
    build names the package in a way that  produces this error. The
    patch has no effect in automation, unfortunatelly. The build on
    jenkins adds the release version, when built manually, the name is
    xyz.4.2.0.DATE+hash-string.<br>
    <br>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <pre class="console-output" style="box-sizing: border-box; white-space: pre-wrap; word-wrap: break-word; margin: 0px; color: rgb(51, 51, 51); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Error: package freeipa-server-dns-4.2.0-0.20150817084102Zjenkins28git5d5240b.fc22.x86_64 obsoletes freeipa-server <= 4.2.0.0 provided by freeipa-server-4.2.0-0.20150817084102Zjenkins28git5d5240b.fc22.x86_64

Late answer to Lukas, this is n:m scenario. I'm not sure what to do if one subpackage retains the original name, though.


</pre>
    <br>
  </body>
</html>