<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">Ok I try to remove it , but it wants to
remove mongo-db packages which a dependent . <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><i><font size="-1"># dnf remove
python2-for-tests<br>
Failed to set locale, defaulting to C.UTF-8<br>
Dependencies resolved.<br>
==================================================================================================================================================================================<br>
Package
Architecture
Version
Repository Size<br>
==================================================================================================================================================================================<br>
Removing:<br>
python2-for-tests
x86_64
2.7.17-1.vl8.1
@virtuozzolinux-base 21 k<br>
Removing dependent packages:<br>
mongodb-org
x86_64
4.2.12-1.el8
@mongodb-org-4.2 0 <br>
Removing unused dependencies:<br>
mongodb-org-mongos
x86_64
4.2.12-1.el8
@mongodb-org-4.2 39 M<br>
mongodb-org-server
x86_64
4.2.12-1.el8
@mongodb-org-4.2 71 M<br>
mongodb-org-shell
x86_64
4.2.12-1.el8
@mongodb-org-4.2 46 M<br>
mongodb-org-tools
x86_64
4.2.12-1.el8
@mongodb-org-4.2 128 M<br>
python2
x86_64
2.7.17-1.vl8.1
@virtuozzolinux-base 80 k<br>
python2-libs
x86_64
2.7.17-1.vl8.1
@virtuozzolinux-base 25 M<br>
<br>
Transaction Summary<br>
==================================================================================================================================================================================<br>
Remove 8 Packages</font></i><br>
<br>
</div>
<div class="moz-cite-prefix">this CT serve a rocketchat service that
needs mongodb, I don't want to break the databse service .</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">as suggested by DNF , there's the
"--nobest" option which seems to go further , but with this
warning <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><i><font size="-1">Enabling module
streams:<br>
httpd
2.4
<br>
mariadb
10.3
<br>
Skipping packages with conflicts:<br>
(add '--best --allowerasing' to command line to force their
upgrade):<br>
python2-libs
x86_64
2.7.18-4.module_vl8+478+7570e00c
virtuozzolinux-base 6.0 M<br>
Skipping packages with broken dependencies:<br>
python2-for-tests
x86_64
2.7.17-1.vl8.2
virtuozzolinux-base 79 k</font></i><br>
<br>
</div>
<div class="moz-cite-prefix">is this the "best" option ? <br>
</div>
<div class="moz-cite-prefix">thanks .<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 30/07/2021 à 11:16, Denis Silakov a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:AM8PR08MB66115343CCF55F78037798D4D8EC9@AM8PR08MB6611.eurprd08.prod.outlook.com">
<div>
Hi,</div>
<div>
<br>
</div>
<div>
this looks like a subsequence of python2 installed from the main
repo and not from module. I remember that for some time we
indeed didn't have python2 in module so this could happen
easily.</div>
<div>
<br>
</div>
<div>
I'd suggest to simply remove python2-for-tests package.</div>
<div>
<br>
</div>
<div>
And in general this is how new modules/streams work - you can
have multiple versions of the same package in repos in different
streams (python2-libs in our case), but you still can't install
them simultaneously. And modular package always has s higher
priority unless you configure a special option in the repo file.</div>
<hr tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:users-bounces@openvz.org">users-bounces@openvz.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@openvz.org"><users-bounces@openvz.org></a> on
behalf of jehan Procaccia tem-tsp
<a class="moz-txt-link-rfc2396E" href="mailto:jehan.procaccia@tem-tsp.eu"><jehan.procaccia@tem-tsp.eu></a><br>
<b>Sent:</b> Friday, July 30, 2021 11:55 AM<br>
<b>To:</b> OpenVZ users <a class="moz-txt-link-rfc2396E" href="mailto:users@openvz.org"><users@openvz.org></a><br>
<b>Subject:</b> [Users] vzlinux 8 pb update package python2
<div> </div>
</div>
<div>
<p>Hello</p>
<p>I've moved some CTs to vl8 , but now at least with this one ,
I have dependancy problemes<br>
</p>
<p><i># yum update<br>
Failed to set locale, defaulting to C.UTF-8<br>
Last metadata expiration check: 0:29:59 ago on Fri Jul 30
10:16:54 2021.<br>
Error: <br>
Problem 1: <b>package
python2-for-tests-2.7.17-1.vl8.2.x86_64 requires
python2-libs(x86-64) = 2.7.17-1.vl8.2, but none of the
providers can be installed</b><br>
- cannot install the best update candidate for package
python2-for-tests-2.7.17-1.vl8.1.x86_64<br>
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered
out by modular filtering<br>
Problem 2: package python2-for-tests-2.7.17-1.vl8.1.x86_64
requires python2-libs(x86-64) = 2.7.17-1.vl8.1, but none of
the providers can be installed<br>
- problem with installed package
python2-for-tests-2.7.17-1.vl8.1.x86_64<br>
- cannot install both
python2-libs-2.7.18-4.module_vl8+478+7570e00c.x86_64 and
python2-libs-2.7.17-1.vl8.1.x86_64<br>
- package python2-for-tests-2.7.17-1.vl8.2.x86_64 requires
python2-libs(x86-64) = 2.7.17-1.vl8.2, but none of the
providers can be installed<br>
- cannot install the best update candidate for package
python2-libs-2.7.17-1.vl8.1.x86_64<br>
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered
out by modular filtering<br>
(try to add '--allowerasing' to command line to replace
conflicting packages or '--skip-broken' to skip
uninstallable packages or '--nobest' to use not only best
candidate packages)<br>
</i></p>
<p>is there a repository inconsistancy ? <br>
</p>
<p><i># dnf repolist <br>
Failed to set locale, defaulting to C.UTF-8<br>
repo
id
repo name<br>
epel
Extra Packages for Enterprise Linux 8 - x86_64<br>
epel-modular
Extra Packages for Enterprise Linux Modular 8 - x86_64<br>
mongodb-org-4.2
MongoDB Repository<br>
nodesource
Node.js Packages for Enterprise Linux 8 - x86_64<br>
virtuozzolinux-base
VirtuozzoLinux Base<br>
virtuozzolinux-updates
VirtuozzoLinux Updates<br>
</i></p>
<p>thanks . <br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>