没有依赖
    yum downgrade xxx

    1. [root@uat-zabbix-server tmp]# yum downgrade grafana-6.0.0-1.x86_64.rpm
    2. Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    3. This system is not registered with an entitlement server. You can use subscription-manager to register.
    4. Examining grafana-6.0.0-1.x86_64.rpm: grafana-6.0.0-1.x86_64
    5. Resolving Dependencies
    6. --> Running transaction check
    7. ---> Package grafana.x86_64 0:6.0.0-1 will be a downgrade
    8. ---> Package grafana.x86_64 0:7.1.0-1 will be erased
    9. --> Finished Dependency Resolution
    10. yum-server | 4.1 kB 00:00:00
    11. zabbix-server | 2.9 kB 00:00:00
    12. Dependencies Resolved
    13. ======================================================================================================================================================
    14. Package Arch Version Repository Size
    15. ======================================================================================================================================================
    16. Downgrading:
    17. grafana x86_64 6.0.0-1 /grafana-6.0.0-1.x86_64 154 M
    18. Transaction Summary
    19. ======================================================================================================================================================
    20. Downgrade 1 Package
    21. Total size: 154 M
    22. Is this ok [y/d/N]: y
    23. Downloading packages:
    24. Running transaction check
    25. Running transaction test
    26. Transaction test succeeded
    27. Running transaction
    28. Warning: RPMDB altered outside of yum.
    29. Installing : grafana-6.0.0-1.x86_64 1/2
    30. Cleanup : grafana-7.1.0-1.x86_64 2/2
    31. POSTTRANS: Running script
    32. Verifying : grafana-6.0.0-1.x86_64 1/2
    33. Verifying : grafana-7.1.0-1.x86_64 2/2
    34. Removed:
    35. grafana.x86_64 0:7.1.0-1
    36. Installed:
    37. grafana.x86_64 0:6.0.0-1
    38. Complete!
    39. [root@uat-zabbix-server tmp]#

    有依赖