执行如下命令
yum install -y redhat-lsb
如果报错且提示为
//注:是某个名包含nvdia的包错误
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
则执行
yum install -y redhat-lsb --skip-broken
至此,lsb_release命令 正常执行