[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-users
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations
From: Denis Silakov <dsilakov () virtuozzo ! com>
Date: 2021-01-29 21:06:19
Message-ID: VI1PR0802MB2334192EF84665289DD8FC92D8B99 () VI1PR0802MB2334 ! eurprd08 ! prod ! outlook ! com
[Download RAW message or body]
The problem with *release package is that vzlinux-release is intended to replace \
centos*release packages. But since the VzLinux7 times, it only replaces \
"centos-release", not the modern variety of centos release packages.
Will add necessary Provides/Obsolete soon to fix this.
Problems with distro-sync are more interesting, should take a deeper look. In \
general, currently structure of Python3 packages in VzLinux slightly differes from \
CentOS8 so likely this is the reason. ________________________________
From: users-bounces@openvz.org <users-bounces@openvz.org> on behalf of jehan \
Procaccia tem-tsp <jehan.procaccia@tem-tsp.eu>
Sent: Friday, January 29, 2021 10:08 PM
To: users@openvz.org <users@openvz.org>; Ian <openvz_list@fishnet.co.uk>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations
Le 29/01/2021 à 18:00, Ian a écrit :
On 21/01/2021 23:05, jehan Procaccia tem-tsp wrote:
/
/# dnf install vzlinux-release//
Hi,
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.
The output is at the bottom, any suggestions ?
The error is:
"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"
I have attempted to remove 'centos-linux-release-8.3-1.2011.el8.noarch' but it is \
protected:
Error:
Problem: The operation would result in removing the following protected packages: \
setup
Regards
Ian
Hi,
unfortunatly, now I have the same pb , just did it now to check my steps , recalls \
from my prevoius post:
https://lists.openvz.org/pipermail/users/2021-January/008053.html
1) replace C8 repos with VzLinux => 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 VZLINUX_GPG_KEY and RPM-GPG-KEY-Virtuozzo-8
[root@C8 /etc/yum.repos.d] # rm CentOS-*
[root@VZ8 /etc/yum.repos.d] # scp vzlinux.repo root@C8:/etc/yum.repos.d/
[root@VZ8 /etc/yum.repos.d] # scp /etc/pki/rpm-gpg/VZLINUX_GPG_KEY \
root@C8:/etc/pki/rpm-gpg/VZLINUX_GPG_KEY [root@VZ8 /etc/yum.repos.d] # scp \
/etc/pki/rpm-gpg/RPM-GPG-KEY-Virtuozzo-8 \
root@C8:/etc/pki/rpm-gpg/RPM-GPG-KEY-Virtuozzo-8
2) install vzlinux-release package
# dnf install vzlinux-release
At this step I also fail on
Error: Transaction test error:
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 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
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
# rpm -e --nodeps centos-linux-release
# rpm -e --nodeps centos-linux-repos
Then also moved my epel repo files out of yum.repos.d
and now this step works
# dnf install vzlinux-release
...
Installed:
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
Complete!
but now the next step (dnf distro-sync ) fails too :-( :
# dnf distro-sync
Last metadata expiration check: 0:11:34 ago on Fri Jan 29 19:44:57 2021.
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(platform:el8) needed by module \
httpd:2.4:8030020201104025655:30b713e6-0.x86_64 Problem 2: conflicting requests
- nothing provides module(platform:el8) needed by module \
python36:3.6:8030020201104034153:24f1489c-0.x86_64 Error:
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
- crypto-policies-20200713-1.git51d1222.el8.noarch does not belong to a distupgrade \
repository
- problem with installed package \
crypto-policies-scripts-20200713-1.git51d1222.el8.noarch (try to add '--skip-broken' \
to skip uninstallable packages or '--nobest' to use not only best candidate packages)
so I removed those conflicting packages
# dnf remove httpd python36
Removed:
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 \
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 sscg-2.3.3-14.el8.x86_64
Complete!
but still it fails
# dnf distro-sync
Last metadata expiration check: 0:02:28 ago on Fri Jan 29 19:59:07 2021.
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(platform:el8) needed by module \
httpd:2.4:8030020201104025655:30b713e6-0.x86_64 Problem 2: conflicting requests
- nothing provides module(platform:el8) needed by module \
python36:3.6:8030020201104034153:24f1489c-0.x86_64 Error:
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
- crypto-policies-20200713-1.git51d1222.el8.noarch does not belong to a distupgrade \
repository
- problem with installed package \
crypto-policies-scripts-20200713-1.git51d1222.el8.noarch (try to add '--skip-broken' \
to skip uninstallable packages or '--nobest' to use not only best candidate packages)
It's a complete mess ... I don't know what changed from my previous success !?
advices appreciated .
thanks .
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> The problem with *release package is that vzlinux-release is \
intended to replace centos*release packages. But since the VzLinux7 times, it only \
replaces "centos-release", not the modern variety of centos release \
packages.</div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> Will add necessary Provides/Obsolete soon to fix this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> Problems with distro-sync are more interesting, should take a \
deeper look. In general, currently structure of Python3 packages in VzLinux slightly \
differes from CentOS8 so likely this is the reason.<br> </div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> users-bounces@openvz.org \
<users-bounces@openvz.org> on behalf of jehan Procaccia tem-tsp \
<jehan.procaccia@tem-tsp.eu><br> <b>Sent:</b> Friday, January 29, 2021 10:08 \
PM<br> <b>To:</b> users@openvz.org <users@openvz.org>; Ian \
<openvz_list@fishnet.co.uk><br> <b>Subject:</b> Re: [Users] virtuozzo base OS \
and new centos 8 orientations</font> <div> </div>
</div>
<div>
<div class="x_moz-cite-prefix">Le 29/01/2021 à 18:00, Ian a écrit :<br>
</div>
<blockquote type="cite">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="x_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="x_moz-cite-prefix"><i><br>
</i></div>
<i></i>
<div class="x_moz-cite-prefix"><i>1) replace C8 repos with VzLinux => 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="x_moz-cite-prefix"><i><br>
</i></div>
</div>
<i></i>
<div class="x_moz-cite-prefix"><i><font size="-2">[root@<b>C8</b> /etc/yum.repos.d] # \
rm CentOS-*</font></i></div> <i></i>
<div class="x_moz-cite-prefix"><i><font size="-2"><br>
</font></i></div>
<i></i>
<div class="x_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="x_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="x_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="x_moz-cite-prefix"><i><br>
</i><i>2) install vzlinux-release package</i></div>
<i></i>
<div class="x_moz-cite-prefix"><i><font size="-2"><br>
</font></i></div>
<i></i>
<div class="x_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 &nb \
sp; \
<br> mod_ssl-1:2.4.37-30.module_el8.3.0+561+97fdbbcc.x86_64 &n \
bsp; \
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 & \
nbsp; &nb \
sp; \
<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>
</div>
</body>
</html>
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
--===============1633429270==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic