没有依赖
yum downgrade xxx
[root@uat-zabbix-server tmp]# yum downgrade grafana-6.0.0-1.x86_64.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining grafana-6.0.0-1.x86_64.rpm: grafana-6.0.0-1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package grafana.x86_64 0:6.0.0-1 will be a downgrade
---> Package grafana.x86_64 0:7.1.0-1 will be erased
--> Finished Dependency Resolution
yum-server | 4.1 kB 00:00:00
zabbix-server | 2.9 kB 00:00:00
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Downgrading:
grafana x86_64 6.0.0-1 /grafana-6.0.0-1.x86_64 154 M
Transaction Summary
======================================================================================================================================================
Downgrade 1 Package
Total size: 154 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : grafana-6.0.0-1.x86_64 1/2
Cleanup : grafana-7.1.0-1.x86_64 2/2
POSTTRANS: Running script
Verifying : grafana-6.0.0-1.x86_64 1/2
Verifying : grafana-7.1.0-1.x86_64 2/2
Removed:
grafana.x86_64 0:7.1.0-1
Installed:
grafana.x86_64 0:6.0.0-1
Complete!
[root@uat-zabbix-server tmp]#
有依赖