when 'Error: Nothing to do' error occur in install through yum?

Yum shows this error when it is unable to proceed with the command. There can be many reasons why this message could appear:

  • The package is already installed and up-to-date
  • The package does not exist on the configured repository
  • No repository is correctly configured
  • There was a problem fetching the package from the remote URL (unable to connect, cannot find the package, etc.)
  • The package requires dependencies that aren't available
  • The package conflicts with another installed package

To troubleshoot the issue, you should focus on the message which appears before "Nothing to do", and not on the message "Nothing to do" which is purely the result of the error.

Tags:

Linux

Yum

Centos