dyrnq / kubeadm-vagrant

Run kubernetes cluster with kubeadm on vagrant.
1 stars 5 forks source link

Problem: package iptables-legacy-1.8.7-28.el9.1.x86_64 requires iptables-libs(x86-64) = 1.8.7-28.el9, but none of the providers can be installed #34

Closed dyrnq closed 2 years ago

dyrnq commented 2 years ago
yum update -y
Last metadata expiration check: 0:03:26 ago on Sun 10 Jul 2022 11:30:44 AM CST.
Error: 
 Problem: package iptables-legacy-1.8.7-28.el9.1.x86_64 requires iptables-libs(x86-64) = 1.8.7-28.el9, but none of the providers can be installed
  - cannot install both iptables-libs-1.8.8-2.el9.x86_64 and iptables-libs-1.8.7-28.el9.x86_64
  - cannot install the best update candidate for package iptables-libs-1.8.7-28.el9.x86_64
  - cannot install the best update candidate for package iptables-legacy-1.8.7-28.el9.1.x86_64
(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)
dyrnq commented 2 years ago
yum install iptables iptables-libs --allowerasing
Last metadata expiration check: 0:05:45 ago on Sun 10 Jul 2022 11:30:44 AM CST.
Package iptables-legacy-1.8.7-28.el9.1.x86_64 is already installed.
Package iptables-libs-1.8.7-28.el9.x86_64 is already installed.
Dependencies resolved.
==================================================================================================================================================================================================================================================================================
 Package                                                                Architecture                                                  Version                                                                 Repository                                                     Size
==================================================================================================================================================================================================================================================================================
Installing:
 iptables-nft                                                           x86_64                                                        1.8.8-2.el9                                                             baseos                                                        204 k
Upgrading:
 iptables-libs                                                          x86_64                                                        1.8.8-2.el9                                                             baseos                                                        466 k
Installing dependencies:
 libnftnl                                                               x86_64                                                        1.2.2-1.el9                                                             baseos                                                         84 k
Removing dependent packages:
 iptables-legacy                                                        x86_64                                                        1.8.7-28.el9.1                                                          @epel                                                         103 k

Transaction Summary
==================================================================================================================================================================================================================================================================================
Install  2 Packages
Upgrade  1 Package
Remove   1 Package

Total download size: 754 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): libnftnl-1.2.2-1.el9.x86_64.rpm                                                                                                                                                                                                            346 kB/s |  84 kB     00:00    
(2/3): iptables-nft-1.8.8-2.el9.x86_64.rpm                                                                                                                                                                                                        649 kB/s | 204 kB     00:00    
(3/3): iptables-libs-1.8.8-2.el9.x86_64.rpm                                                                                                                                                                                                       1.2 MB/s | 466 kB     00:00    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                             666 kB/s | 754 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                                          1/1 
  Upgrading        : iptables-libs-1.8.8-2.el9.x86_64                                                                                                                                                                                                                         1/5 
  Installing       : libnftnl-1.2.2-1.el9.x86_64                                                                                                                                                                                                                              2/5 
  Installing       : iptables-nft-1.8.8-2.el9.x86_64                                                                                                                                                                                                                          3/5 
  Running scriptlet: iptables-nft-1.8.8-2.el9.x86_64                                                                                                                                                                                                                          3/5 
  Erasing          : iptables-legacy-1.8.7-28.el9.1.x86_64                                                                                                                                                                                                                    4/5 
  Running scriptlet: iptables-legacy-1.8.7-28.el9.1.x86_64                                                                                                                                                                                                                    4/5 
  Cleanup          : iptables-libs-1.8.7-28.el9.x86_64                                                                                                                                                                                                                        5/5 
  Running scriptlet: iptables-libs-1.8.7-28.el9.x86_64                                                                                                                                                                                                                        5/5 
  Verifying        : iptables-nft-1.8.8-2.el9.x86_64                                                                                                                                                                                                                          1/5 
  Verifying        : libnftnl-1.2.2-1.el9.x86_64                                                                                                                                                                                                                              2/5 
  Verifying        : iptables-libs-1.8.8-2.el9.x86_64                                                                                                                                                                                                                         3/5 
  Verifying        : iptables-libs-1.8.7-28.el9.x86_64                                                                                                                                                                                                                        4/5 
  Verifying        : iptables-legacy-1.8.7-28.el9.1.x86_64                                                                                                                                                                                                                    5/5 

Upgraded:
  iptables-libs-1.8.8-2.el9.x86_64                                                                                                                                                                                                                                                
Installed:
  iptables-nft-1.8.8-2.el9.x86_64                                                                                                           libnftnl-1.2.2-1.el9.x86_64                                                                                                          
Removed:
  iptables-legacy-1.8.7-28.el9.1.x86_64                                                                                                                                                                                                                                           

Complete!