Page 1 of 1

Yum not installing or updating anything.

Posted: 2018/12/16 02:48:15
by wyckedjester
CentOS 6.3

Well, yum had been working fine and then for some reason it started behaving erratically. I had been adding repositories so maybe it has something to do with that, but now whenever I attempt to do an install or update it simply lists a bunch of packages that it's going to update or install and keeps spewing that same list out over and over again. I would post the whole thing, but it's quite long. It will continue to do that forever. I let it run for a few hours once hoping it would eventually stop, but I had to kill it with a -9.

Here's a snippet of what is looks like:

Code: Select all

--> Running transaction check
---> Package yum-utils.noarch 0:1.1.30-14.el6 will be updated
---> Package yum-utils.noarch 0:1.1.31-50.0.1.el7 will be an update
--> Processing Dependency: python(abi) = 2.7 for package: yum-utils-1.1.31-50.0.
1.el7.noarch
--> Processing Dependency: yum >= 3.4.3-143 for package: yum-utils-1.1.31-50.0.1
.el7.noarch
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-50.0.1.e
l7.noarch
--> Running transaction check
---> Package python.x86_64 0:2.6.6-29.el6_2.2 will be updated
--> Processing Dependency: python(abi) = 2.6 for package: python-turbojson-1.2.1
-8.1.el6.noarch
--> Processing Dependency: python(abi) = 2.6 for package: libxml2-python-2.7.6-2
1.el6_8.1.x86_64
--> Processing Dependency: python(abi) = 2.6 for package: python-repoze-what-pyl
ons-1.0-4.el6.noarch
Now, that's just a small part of what is shows. There's a lot more, but it starts over with the packages that occur on and after that initial python package. It just cycles through them over and over without doing anything.

Anyone have any idea what's going on or how to fix it? Many thanks!!

Re: Yum not installing or updating anything.

Posted: 2018/12/16 06:42:04
by owl102
wyckedjester wrote:
2018/12/16 02:48:15
I had been adding repositories so maybe it has something to do with that
You have added CentOS 7 repositories. Remove them and (hopefully) all will be fine again.

Re: Yum not installing or updating anything.

Posted: 2018/12/16 12:40:59
by TrevorH
Run yum clean all then remove those CentOS 7 repos from your system.