PDA

Bekijk Volledige Versie : yum error centos 5.4



FunnyMedia
15/01/10, 22:56
Ik wil op een schone centos 5.4 bak directadmin installen.
Nu heeft deze onder ander gcc nodig.
Als ik yum install gcc doe dan geeft die aan:
yum install gcc
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
ImportError: No module named yummain

Google heeft helaas voor mij nog geen oplossing.
Iemand de juiste oplossing?

Yum clean all geeft namelijk de zelfde error

ichosting
15/01/10, 23:02
Al een YUM UPDATE YUM geprobeerd?

FunnyMedia
15/01/10, 23:05
ja zelfde error...
PM send

Geert-Jan
15/01/10, 23:07
Wat staat er in je yum.conf ?

ichosting
15/01/10, 23:08
Voer je hem wel als root uit?

FunnyMedia
15/01/10, 23:11
in de yum.conf staat:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind$

Voer hem wel uit als root.
IChosting kijkt nu even voor mij als root

ichosting
15/01/10, 23:29
Zag uit naar een incomplete installatie van Yum.
Heb hem opnieuw geinstalleerd via RPM en nu werkt ie goed.