[Users] vzlinux 8 pb update package python2

Jehan PROCACCIA jehan.procaccia at tem-tsp.eu
Fri Jul 30 15:00:59 MSK 2021


well, that was the '--nobest' option that allowed me to sucessfully update all other packages : 

$dnf update --nobest 
... 
Skipped: 
python2-for-tests-2.7.17-1.vl8.2.x86_64 python2-libs-2.7.18-4.module_vl8+478+7570e00c.x86_64 
Complete! 

next I removed python2-for-test, and here there was no more dependence on mongodb, so I could proceed . 

# dnf remove python2-for-tests 
removed: 
python2-2.7.17-1.vl8.1.x86_64 python2-for-tests-2.7.17-1.vl8.1.x86_64 python2-libs-2.7.17-1.vl8.1.x86_64 
complete ! 

My system is up2date now , thanks . 


De: "Denis Silakov" <dsilakov at virtuozzo.com> 
À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>, "OpenVZ users" <users at openvz.org> 
Envoyé: Vendredi 30 Juillet 2021 12:00:05 
Objet: Re: [Users] vzlinux 8 pb update package python2 

Yes, looks like the '--best' option works fine here. It is ok to leave python2-for-tests with broken dependencies. Once you update python2 itself to a modular package, you should be able to remove python2-for-tests without any problems. 

From: jehan Procaccia tem-tsp <jehan.procaccia at tem-tsp.eu> 
Sent: Friday, July 30, 2021 12:33 PM 
To: OpenVZ users <users at openvz.org>; Denis Silakov <dsilakov at virtuozzo.com> 
Subject: Re: [Users] vzlinux 8 pb update package python2 
Ok I try to remove it , but it wants to remove mongo-db packages which a dependent . 

# dnf remove python2-for-tests 
Failed to set locale, defaulting to C.UTF-8 
Dependencies resolved. 
================================================================================================================================================================================== 
Package Architecture Version Repository Size 
================================================================================================================================================================================== 
Removing: 
python2-for-tests x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 21 k 
Removing dependent packages: 
mongodb-org x86_64 4.2.12-1.el8 @mongodb-org-4.2 0 
Removing unused dependencies: 
mongodb-org-mongos x86_64 4.2.12-1.el8 @mongodb-org-4.2 39 M 
mongodb-org-server x86_64 4.2.12-1.el8 @mongodb-org-4.2 71 M 
mongodb-org-shell x86_64 4.2.12-1.el8 @mongodb-org-4.2 46 M 
mongodb-org-tools x86_64 4.2.12-1.el8 @mongodb-org-4.2 128 M 
python2 x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 80 k 
python2-libs x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 25 M 

Transaction Summary 
================================================================================================================================================================================== 
Remove 8 Packages 

this CT serve a rocketchat service that needs mongodb, I don't want to break the databse service . 

as suggested by DNF , there's the "--nobest" option which seems to go further , but with this warning 

Enabling module streams: 
httpd 2.4 
mariadb 10.3 
Skipping packages with conflicts: 
(add '--best --allowerasing' to command line to force their upgrade): 
python2-libs x86_64 2.7.18-4.module_vl8+478+7570e00c virtuozzolinux-base 6.0 M 
Skipping packages with broken dependencies: 
python2-for-tests x86_64 2.7.17-1.vl8.2 virtuozzolinux-base 79 k 

is this the "best" option ? 
thanks . 


Le 30/07/2021 à 11:16, Denis Silakov a écrit : 



Hi, 

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. 

I'd suggest to simply remove python2-for-tests package. 

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. 

From: [ mailto:users-bounces at openvz.org | 
users-bounces at openvz.org ] [ mailto:users-bounces at openvz.org | 
<users-bounces at openvz.org> ] on behalf of jehan Procaccia tem-tsp [ mailto:jehan.procaccia at tem-tsp.eu | 
<jehan.procaccia at tem-tsp.eu> ] 
Sent: Friday, July 30, 2021 11:55 AM 
To: OpenVZ users [ mailto:users at openvz.org | 
<users at openvz.org> ] 
Subject: [Users] vzlinux 8 pb update package python2 


Hello 

I've moved some CTs to vl8 , but now at least with this one , I have dependancy problemes 


# yum update 
Failed to set locale, defaulting to C.UTF-8 
Last metadata expiration check: 0:29:59 ago on Fri Jul 30 10:16:54 2021. 
Error: 
Problem 1: 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 
- cannot install the best update candidate for package python2-for-tests-2.7.17-1.vl8.1.x86_64 
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered out by modular filtering 
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 
- problem with installed package python2-for-tests-2.7.17-1.vl8.1.x86_64 
- 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 
- 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 
- cannot install the best update candidate for package python2-libs-2.7.17-1.vl8.1.x86_64 
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered out by modular filtering 
(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) 


is there a repository inconsistancy ? 


# dnf repolist 
Failed to set locale, defaulting to C.UTF-8 
repo id repo name 
epel Extra Packages for Enterprise Linux 8 - x86_64 
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64 
mongodb-org-4.2 MongoDB Repository 
nodesource Node.js Packages for Enterprise Linux 8 - x86_64 
virtuozzolinux-base VirtuozzoLinux Base 
virtuozzolinux-updates VirtuozzoLinux Updates 


thanks . 

_______________________________________________
Users mailing list [ mailto:Users at openvz.org | Users at openvz.org ] [ https://lists.openvz.org/mailman/listinfo/users | https://lists.openvz.org/mailman/listinfo/users ] 








De: "Denis Silakov" <dsilakov at virtuozzo.com> 
À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>, "OpenVZ users" <users at openvz.org> 
Envoyé: Vendredi 30 Juillet 2021 12:00:05 
Objet: Re: [Users] vzlinux 8 pb update package python2 

Yes, looks like the '--best' option works fine here. It is ok to leave python2-for-tests with broken dependencies. Once you update python2 itself to a modular package, you should be able to remove python2-for-tests without any problems. 

From: jehan Procaccia tem-tsp <jehan.procaccia at tem-tsp.eu> 
Sent: Friday, July 30, 2021 12:33 PM 
To: OpenVZ users <users at openvz.org>; Denis Silakov <dsilakov at virtuozzo.com> 
Subject: Re: [Users] vzlinux 8 pb update package python2 
Ok I try to remove it , but it wants to remove mongo-db packages which a dependent . 

# dnf remove python2-for-tests 
Failed to set locale, defaulting to C.UTF-8 
Dependencies resolved. 
================================================================================================================================================================================== 
Package Architecture Version Repository Size 
================================================================================================================================================================================== 
Removing: 
python2-for-tests x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 21 k 
Removing dependent packages: 
mongodb-org x86_64 4.2.12-1.el8 @mongodb-org-4.2 0 
Removing unused dependencies: 
mongodb-org-mongos x86_64 4.2.12-1.el8 @mongodb-org-4.2 39 M 
mongodb-org-server x86_64 4.2.12-1.el8 @mongodb-org-4.2 71 M 
mongodb-org-shell x86_64 4.2.12-1.el8 @mongodb-org-4.2 46 M 
mongodb-org-tools x86_64 4.2.12-1.el8 @mongodb-org-4.2 128 M 
python2 x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 80 k 
python2-libs x86_64 2.7.17-1.vl8.1 @virtuozzolinux-base 25 M 

Transaction Summary 
================================================================================================================================================================================== 
Remove 8 Packages 

this CT serve a rocketchat service that needs mongodb, I don't want to break the databse service . 

as suggested by DNF , there's the "--nobest" option which seems to go further , but with this warning 

Enabling module streams: 
httpd 2.4 
mariadb 10.3 
Skipping packages with conflicts: 
(add '--best --allowerasing' to command line to force their upgrade): 
python2-libs x86_64 2.7.18-4.module_vl8+478+7570e00c virtuozzolinux-base 6.0 M 
Skipping packages with broken dependencies: 
python2-for-tests x86_64 2.7.17-1.vl8.2 virtuozzolinux-base 79 k 

is this the "best" option ? 
thanks . 


Le 30/07/2021 à 11:16, Denis Silakov a écrit : 

BQ_BEGIN

Hi, 

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. 

I'd suggest to simply remove python2-for-tests package. 

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. 

From: [ mailto:users-bounces at openvz.org | 
users-bounces at openvz.org ] [ mailto:users-bounces at openvz.org | 
<users-bounces at openvz.org> ] on behalf of jehan Procaccia tem-tsp [ mailto:jehan.procaccia at tem-tsp.eu | 
<jehan.procaccia at tem-tsp.eu> ] 
Sent: Friday, July 30, 2021 11:55 AM 
To: OpenVZ users [ mailto:users at openvz.org | 
<users at openvz.org> ] 
Subject: [Users] vzlinux 8 pb update package python2 


Hello 

I've moved some CTs to vl8 , but now at least with this one , I have dependancy problemes 


# yum update 
Failed to set locale, defaulting to C.UTF-8 
Last metadata expiration check: 0:29:59 ago on Fri Jul 30 10:16:54 2021. 
Error: 
Problem 1: 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 
- cannot install the best update candidate for package python2-for-tests-2.7.17-1.vl8.1.x86_64 
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered out by modular filtering 
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 
- problem with installed package python2-for-tests-2.7.17-1.vl8.1.x86_64 
- 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 
- 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 
- cannot install the best update candidate for package python2-libs-2.7.17-1.vl8.1.x86_64 
- package python2-libs-2.7.17-1.vl8.2.x86_64 is filtered out by modular filtering 
(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) 


is there a repository inconsistancy ? 


# dnf repolist 
Failed to set locale, defaulting to C.UTF-8 
repo id repo name 
epel Extra Packages for Enterprise Linux 8 - x86_64 
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64 
mongodb-org-4.2 MongoDB Repository 
nodesource Node.js Packages for Enterprise Linux 8 - x86_64 
virtuozzolinux-base VirtuozzoLinux Base 
virtuozzolinux-updates VirtuozzoLinux Updates 


thanks . 

_______________________________________________
Users mailing list [ mailto:Users at openvz.org | Users at openvz.org ] [ https://lists.openvz.org/mailman/listinfo/users | https://lists.openvz.org/mailman/listinfo/users ] 

BQ_END




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20210730/de6f48a5/attachment-0001.html>


More information about the Users mailing list