Operating System - Linux
1834935 Members
2436 Online
110071 Solutions
New Discussion

yum is not work correctly

 
Tammy Liang
Regular Advisor

yum is not work correctly

Yum is not showing correct information.
I tried to install rpm packages via yum and stucked on "resolve dependence", so I stop the process. Now I tried to reinstall again, it shows the yum package is already installed with latest version, no action to be taken.
I tried to run "yum -c packages.conf remove package1" and it shows "Erase: No matches for package1 No action to take".

Thanks for any reply and help.
take easy, enjoy life
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: yum is not work correctly

try to run
yum clean all

and then try again with your rpm installation.
Ralph Grothe
Honored Contributor

Re: yum is not work correctly

Have you edited your /etc/yum.conf
and adapted the repo config files in /etc/yum.repo.d/
according to your environment?

For instance, if you are required to use a proxy
then you would have to add proxy* directives to those files.
Madness, thy name is system administration
Tammy Liang
Regular Advisor

Re: yum is not work correctly

Try the "yum clean all" and reinstall the package. Still shows the package is installed with latest version. No action to take.

There is only /etc/yum.conf file, no other file and directory refering yum..

I told yum to use different yum.conf instead of /etc/yum.conf from the command line.

yum -c redhat.conf package1.
take easy, enjoy life