<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Le 29/01/2021 à 18:00, Ian a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:d325bc46-0af0-b938-bdea-6260112fd07f@fishnet.co.uk">On
      21/01/2021 23:05, jehan Procaccia tem-tsp wrote:
      <br>
      <blockquote type="cite">/
        <br>
        /# dnf install vzlinux-release//
        <br>
      </blockquote>
      <br>
      Hi,
      <br>
      <br>
      I created a test Centos 8 container and attempted to change the
      distro to vzlinux8 as per your instructions but it fails at the
      above step.
      <br>
      <br>
      The output is at the bottom, any suggestions ?
      <br>
      <br>
      The error is:
      <br>
      "install of vzlinux-release-3:8.2-1.vl8.x86_64 conflicts with file
      from package centos-linux-release-8.3-1.2011.el8.noarch"
      <br>
      <br>
      I have attempted to remove
      'centos-linux-release-8.3-1.2011.el8.noarch' but it is protected:
      <br>
      <br>
      Error:
      <br>
       Problem: The operation would result in removing the following
      protected packages: setup
      <br>
      <br>
      <br>
      Regards
      <br>
      <br>
      Ian
      <br>
    </blockquote>
    <p>Hi, <br>
    </p>
    <p>unfortunatly, now I have  the same pb , just did it now to check
      my steps , recalls from my prevoius post:</p>
    <p><a class="moz-txt-link-freetext" href="https://lists.openvz.org/pipermail/users/2021-January/008053.html">https://lists.openvz.org/pipermail/users/2021-January/008053.html</a><br>
    </p>
    <p></p>
    <div class="moz-cite-prefix"><i><br>
      </i> </div>
    <i> </i>
    <div class="moz-cite-prefix"><i>1) replace C8 repos with VzLinux
        =&gt; below C8 root prompt is le C8 CT that is to be moved to
        VZ8, VZ8 prompt is a VZ8 CT created from scratch from a "pure"
        vz8 EZ template where I could get </i><i><font size="-2">VZLINUX_GPG_KEY
          and  </font></i><i><font size="-2">RPM-GPG-KEY-Virtuozzo-8<br>
        </font></i>
      <div class="moz-cite-prefix"><i><br>
        </i> </div>
    </div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2">[root@<b>C8</b>
          /etc/yum.repos.d] # rm CentOS-*</font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2"><br>
        </font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2">[root@<b>VZ8</b>
          /etc/yum.repos.d] # scp vzlinux.repo root@<b>C8</b>:/etc/yum.repos.d/<br>
        </font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2">[root@<b>VZ8</b>
          /etc/yum.repos.d] # scp /etc/pki/rpm-gpg/VZLINUX_GPG_KEY root@<b>C8:</b>/etc/pki/rpm-gpg/VZLINUX_GPG_KEY</font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2">[root@<b>VZ8 </b>/etc/yum.repos.d]
          # scp /etc/pki/rpm-gpg/RPM-GPG-KEY-Virtuozzo-8 root@<b>C8</b>:/etc/pki/rpm-gpg/RPM-GPG-KEY-Virtuozzo-8<br>
        </font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><br>
      </i><i> 2) install vzlinux-release package</i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2"><br>
        </font></i></div>
    <i> </i>
    <div class="moz-cite-prefix"><i><font size="-2"># dnf install
          vzlinux-release</font></i></div>
    <p>At this step I also fail on <br>
    </p>
    <p><i><font size="-1">Error: Transaction test error:<br>
            file /etc/dnf/vars/contentdir from install of
          vzlinux-release-3:8.2-1.vl8.x86_64 conflicts with file from
          package centos-linux-repos-8-2.el8.noarch<br>
            file /etc/issue from install of
          vzlinux-release-3:8.2-1.vl8.x86_64 conflicts with file from
          package centos-linux-release-8.3-1.2011.el8.noarch</font></i></p>
    <p>Following new steps are not recommanded and maybe not clean at
      all (!?) , but I finally could proceed one step further by force
      remove centos-linux-release and centos-linux-repos  </p>
    <p><font size="-1"><i># rpm -e --nodeps centos-linux-release</i><i><br>
        </i></font></p>
    <p><font size="-1"><i># rpm -e --nodeps centos-linux-repos  </i></font><br>
    </p>
    <p>Then also moved my epel repo files out of yum.repos.d <br>
    </p>
    <p>and now this step works <br>
    </p>
    <p><i><font size="-1">#  dnf install vzlinux-release<br>
          ...</font></i></p>
    <p><i><font size="-1">Installed:<br>
            dnf-plugins-core-4.0.18-2.vl8.noarch    
          python3-dateutil-1:2.6.1-6.vl8.noarch    
          python3-dnf-plugins-core-4.0.18-2.vl8.noarch    
          vzlinux-release-3:8.2-1.vl8.x86_64    
          zstd-1.4.4-1.vl8.x86_64    <br>
          <br>
          Complete!</font></i><br>
    </p>
    <p>but now the next step  (dnf distro-sync ) fails too :-( : <br>
    </p>
    <p><font size="-1"><i># dnf distro-sync</i><i><br>
        </i><i>Last metadata expiration check: 0:11:34 ago on Fri Jan 29
          19:44:57 2021.</i><i><br>
        </i><i>Modular dependency problems:</i><i><br>
        </i><i><br>
        </i><i> Problem 1: conflicting requests</i><i><br>
        </i><i>  - nothing provides module(platform:el8) needed by
          module httpd:2.4:8030020201104025655:30b713e6-0.x86_64</i><i><br>
        </i><i> Problem 2: conflicting requests</i><i><br>
        </i><i>  - nothing provides module(platform:el8) needed by
          module python36:3.6:8030020201104034153:24f1489c-0.x86_64</i><i><br>
        </i><i>Error: </i><i><br>
        </i><i> Problem: package
          crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
          requires crypto-policies = 20200713-1.git51d1222.el8, but none
          of the providers can be installed</i><i><br>
        </i><i>  - crypto-policies-20200713-1.git51d1222.el8.noarch does
          not belong to a distupgrade repository</i><i><br>
        </i><i>  - problem with installed package
          crypto-policies-scripts-20200713-1.git51d1222.el8.noarch</i><i><br>
        </i><i>(try to add '--skip-broken' to skip uninstallable
          packages or '--nobest' to use not only best candidate
          packages)</i></font><br>
      <br>
    </p>
    <p>so I removed those conflicting packages <br>
    </p>
    <p><i><font size="-1"># dnf remove httpd python36<br>
          Removed:<br>
           
httpd-2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64                        
          libpath_utils-0.2.1-39.el8.x86_64                    
          mod_http2-1.15.7-2.module_el8.3.0+477+498bb568.x86_64                   
          <br>
           
mod_ssl-1:2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64                    
          python3-pip-9.0.3-18.el8.noarch                      
          python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64                     
          <br>
           
sscg-2.3.3-14.el8.x86_64                                                 
          <br>
          <br>
          Complete!</font></i><br>
    </p>
    <p>but still it fails <i><font size="-1"><br>
        </font></i></p>
    <p><i><font size="-1"># dnf distro-sync<br>
          Last metadata expiration check: 0:02:28 ago on Fri Jan 29
          19:59:07 2021.<br>
          Modular dependency problems:<br>
          <br>
           Problem 1: conflicting requests<br>
            - nothing provides module(platform:el8) needed by module
          httpd:2.4:8030020201104025655:30b713e6-0.x86_64<br>
           Problem 2: conflicting requests<br>
            - nothing provides module(platform:el8) needed by module
          python36:3.6:8030020201104034153:24f1489c-0.x86_64<br>
          Error: <br>
           Problem: package
          crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
          requires crypto-policies = 20200713-1.git51d1222.el8, but none
          of the providers can be installed<br>
            - crypto-policies-20200713-1.git51d1222.el8.noarch does not
          belong to a distupgrade repository<br>
            - problem with installed package
          crypto-policies-scripts-20200713-1.git51d1222.el8.noarch<br>
          (try to add '--skip-broken' to skip uninstallable packages or
          '--nobest' to use not only best candidate packages)</font></i><br>
    </p>
    <p>It's a complete mess ... I don't know what changed from my
      previous success !? <br>
    </p>
    <p>advices appreciated . <br>
    </p>
    <p>thanks . <br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>