'CentOS 7 terminal hangs after executing yum localinstall command

I'm trying to execute yum localinstall on telegraf rmp ,but my terminal hangs and I need to kill the process .

The /var/log/yum.log is empty .

Any idea why it's happening ?

this is the command sudo yum localinstall telegraf-1.19.2-1.x86_64.rpm



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source