Yum not installing or updating anything.

Issues related to applications and software problems
Post Reply
wyckedjester
Posts: 1
Joined: 2018/12/16 02:45:13

Yum not installing or updating anything.

Post by wyckedjester » 2018/12/16 02:48:15

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!!

owl102
Posts: 356
Joined: 2014/06/10 19:13:41

Re: Yum not installing or updating anything.

Post by owl102 » 2018/12/16 06:42:04

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.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

User avatar
TrevorH
Forum Moderator
Posts: 26292
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum not installing or updating anything.

Post by TrevorH » 2018/12/16 12:40:59

Run yum clean all then remove those CentOS 7 repos from your system.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply