bug:
执行这个四个命令的时候,最后一个server报错,显示被需要
rpm -ivh mysql-community-common-5.7.35-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.35-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.35-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.35-1.el7.x86_64.rpm
bug提示:
[root@localhost mysql-5.7]# rpm -ivh mysql-community-server-5.7.35-1.el7.x86_64.rpm
警告:mysql-community-server-5.7.35-1.el7.x86_64.rpm: 头V3 DSA/SHA256 Signature, 密钥 ID 5072e1f5: NOKEY
错误:依赖检测失败:
net-tools 被 mysql-community-server-5.7.35-1.el7.x86_64 需要
解决bug:
从 RPM 版本 4.1 开始,在安装或升级软件包时会检查软件包的签名。如果签名校验失败,就会看到此错误消息,因此需要在后面加上 --nodeps --force