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-boun...@openvz.org <users-boun...@openvz.org> on behalf of jehan Procaccia tem-tsp <jehan.procac...@tem-tsp.eu> Sent: Friday, January 29, 2021 10:08 PM To: users@openvz.org <users@openvz.org>; Ian <openvz_l...@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 .
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users