Linux运维工具-ywtool
目录
- 一.BC-Linux系统
- 1.1 报错提示
- 1.2 解决
- 二.CentOS/CentOS Steam系统
- 2.1 报错提示
- 2.2 解决
一.BC-Linux系统
测试系统用的是:BigCloud Enterprise Linux release 8.2
1.1 报错提示
[root@ecs-11973640 ~/php]# yum install -y /usr/local/ywtools/rpm/php/remi-release-8.4.rpm
上次元数据过期检查:0:35:46 前,执行于 2024年03月07日 星期四 14时39分36秒。
错误:问题: conflicting requests- nothing provides redhat-release >= 8.4 needed by remi-release-8.4-1.el8.remi.noarch
(尝试添加 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用最佳选择的软件包)
1.2 解决
[root@ecs-11973640 ~/php]# sudo dnf -y install redhat-release
上次元数据过期检查:0:38:33 前,执行于 2024年03月07日 星期四 14时39分36秒。
软件包 bclinux-release-8.1-1.2011.el8.bclinux.x86_64 已安装。
依赖关系解决。
==========================================================================================================================================================================================================软件包 架构 版本 仓库 大小
==========================================================================================================================================================================================================
升级:bclinux-release x86_64 8.1-2.2011.el8.bclinux BaseOS 26 k
安装依赖关系:bclinux-license-manager x86_64 4.0-1.el8.bclinux BaseOS 58 k事务概要
==========================================================================================================================================================================================================
安装 1 软件包
升级 1 软件包总下载:84 k
下载软件包:
(1/2): bclinux-release-8.1-2.2011.el8.bclinux.x86_64.rpm 195 kB/s | 26 kB 00:00
(2/2): bclinux-license-manager-4.0-1.el8.bclinux.x86_64.rpm 380 kB/s | 58 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 545 kB/s | 84 kB 00:00
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务准备中 : 1/1 运行脚本: bclinux-license-manager-4.0-1.el8.bclinux.x86_64 1/1 安装 : bclinux-license-manager-4.0-1.el8.bclinux.x86_64 1/3 运行脚本: bclinux-license-manager-4.0-1.el8.bclinux.x86_64 1/3 升级 : bclinux-release-8.1-2.2011.el8.bclinux.x86_64 2/3 清理 : bclinux-release-8.1-1.2011.el8.bclinux.x86_64 3/3 运行脚本: bclinux-release-8.1-1.2011.el8.bclinux.x86_64 3/3 验证 : bclinux-license-manager-4.0-1.el8.bclinux.x86_64 1/3 验证 : bclinux-release-8.1-2.2011.el8.bclinux.x86_64 2/3 验证 : bclinux-release-8.1-1.2011.el8.bclinux.x86_64 3/3 已升级:bclinux-release-8.1-2.2011.el8.bclinux.x86_64 已安装:bclinux-license-manager-4.0-1.el8.bclinux.x86_64 完毕
二.CentOS/CentOS Steam系统
测试系统:CentOS 8/CentOS Steam 8
2.1 报错提示
Error:Problem: conflicting requests- nothing provides (redhat-release >= 8.8 or centos-stream-release >= 8) needed by remi-release-8.4-1.el8.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
2.2 解决
sudo dnf -y install centos-release-stream