Alexandre Vieira wrote: % Hi, % % I get the following error when executing Yum on CentOS 6.7: % % Traceback (most recent call last): % File "/usr/bin/yum", line 28, in <module> % import yummain % ImportError: No module named yummain % % I found plenty of resources related to broken Yum installations, but all % solutions are for specific modules or commands. % % The last time I used Yum I updated it, I think. % % I appreciate any pointers you can give me, please. yummain is a part of yum package: # locate yummain /usr/share/yum-cli/yummain.py /usr/share/yum-cli/yummain.pyc /usr/share/yum-cli/yummain.pyo # rpm -qf /usr/share/yum-cli/yummain.py yum-3.2.29-73.el6.noarch The safe option is to download yum package manually and reinstal it. -- Michael Mráka Software Management Engineering, Red Hat _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum