LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   when 'Error: Nothing to do' error occur in install through yum? (https://www.linuxquestions.org/questions/linux-newbie-8/when-error-nothing-to-do-error-occur-in-install-through-yum-4175633044/)

hostmalabar 07-01-2018 03:09 AM

when 'Error: Nothing to do' error occur in install through yum?
 
I know one situation of this will occur when u already installed the latest version of a package then it will occur. is there any other situations that this error occur?

hostmalabar 07-01-2018 03:13 AM

Fixed the Error.

Case is when the package is excluded. For example my system's yum.conf file contains

exclude=*.i386 *.i586 *.i686

This means any i686 package is excluded by default! A workaround for that case is:

sudo yum install --disableexcludes=all foobar.i686.rpm


All times are GMT -5. The time now is 02:55 PM.