今天刚买了台服务器,
然后执行了
代码语言:javascript复制yum update -y
提示了一坨代码
代码语言:javascript复制[root@VM-0-10-centos ~]# yum update -y
Last metadata expiration check: 2:14:25 ago on Mon 16 Jan 2023 01:21:21 PM CST.
Error:
Problem: cannot install both mysql-common-8.0.30-1.module el8.6.0 352 98f9a3f3.x86_64 and mysql-common-8.0.26-1.module el8.6.0 142 9a84cdf3.x86_64
- package mysql-8.0.26-1.module el8.6.0 142 9a84cdf3.x86_64 requires mysql-common(x86-64) = 8.0.26-1.module el8.6.0 142 9a84cdf3, but none of the providers can be installed
- cannot install the best update candidate for package mysql-common-8.0.26-1.module el8.6.0 142 9a84cdf3.x86_64
- problem with installed package mysql-8.0.26-1.module el8.6.0 142 9a84cdf3.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)
看着提示是有包冲突,然后又跳过这个包执行了
代码语言:javascript复制yum update --allowerasin -y
结果跑了大概不到1分钟吧,跳出来新的错误
代码语言:javascript复制Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
mysql-common x86_64 8.0.30-1.module el8.6.0 352 98f9a3f3 TencentOS-AppStream 136 k
Transaction Summary
============================================================================================================================================
Install 12 Packages
Upgrade 396 Packages
Skip 1 Package
Total download size: 758 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/Updates/x86_64/RPMS/NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] gcc-plugin-annobin-8.5.0-15.tl3.x86_64.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/Updates/x86_64/RPMS/gcc-plugin-annobin-8.5.0-15.tl3.x86_64.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] gcc-toolset-12-binutils-2.38-16.tl3.x86_64.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/Updates/x86_64/RPMS/gcc-toolset-12-binutils-2.38-16.tl3.x86_64.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/Updates/x86_64/RPMS/NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] audit-3.0.7-2.tl3.2.x86_64.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/TencentOS/x86_64/RPMS/audit-3.0.7-2.tl3.2.x86_64.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] audit-libs-3.0.7-2.tl3.2.x86_64.rpm: Curl error (28): Timeout was reached for http://mirrors.tencentyun.com/tlinux/3.1/TencentOS/x86_64/RPMS/audit-libs-3.0.7-2.tl3.2.x86_64.rpm [Connection timed out after 30000 milliseconds]
[FAILED] NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm: No more mirrors to try - All mirrors were already tried without success
(2-5/408): gcc-toolset-12-binutils-2.38-16.tl3.x86 0% [ ] 1.1 GB/s | 140 kB 00:00 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
Cannot download RPMS/NetworkManager-initscripts-updown-1.40.0-2.tl3.noarch.rpm: All mirrors were tried
敢问腾讯云计算的大佬们,为啥腾讯云的服务器连不上腾讯云的安装源?希望能给出解决方案,谢谢了!