EasyApache 4 Experimental repository
I am getting error Via WHM > EasyApache 4 after Installed the Experimental repository.
A fatal error or timeout occurred while processing this directive.
"/usr/bin/python" reported error code "1" when it ended: Traceback (most recent call last):
File "/usr/local/cpanel/bin/packman_get_list_json", line 9, in
packman.init_yum()
File "/usr/local/cpanel/bin/packman.py", line 37, in init_yum
pkgSack = yb.pkgSack
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 386, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 227, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 319, in _check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1503, in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1689, in
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1685, in _getRepoXML
self._loadRepoXML(text=self.ui_id)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1676, in _loadRepoXML
return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1650, in _groupLoadRepoXML
if self._commonLoadRepoXML(text):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1460, in _commonLoadRepoXML
if self._cachingRepoXML(local):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1226, in _cachingRepoXML
raise Errors.RepoError, 'Cannot find repomd.xml file for %s' % self.ui_id
yum.Errors.RepoError: Cannot find repomd.xml file for EA4-experimental/7/x86_64
w/ /usr/local/cpanel/bin/packman_get_list_json installed ea-
Often errors like this can be resolved by running `yum makecache`
at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 124.
Cpanel::PackMan::Sys::_call_python_json(Cpanel::PackMan::Sys=HASH(0x401bc58), "/usr/local/cpanel/bin/packman_get_list_json", "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan/Sys.pm line 53
Cpanel::PackMan::Sys::list(Cpanel::PackMan::Sys=HASH(0x401bc58), "installed", "ea-") called at /usr/local/cpanel/Cpanel/PackMan.pm line 612
Cpanel::PackMan::list(Cpanel::PackMan=HASH(0x3ed07f8), "state", "installed", "prefix", "ea-") called at /usr/local/cpanel/Whostmgr/API/1/EA4.pm line 32
Whostmgr::API::1::EA4::ea4_list_profiles() called at whostmgr/bin/whostmgr7.pl line 901
main::easy_apache_4() called at whostmgr/bin/whostmgr7.pl line 220
-
Now EasyApache 4 page loading without any error after run the following command. yum --disablerepo="*" --enablerepo="EA4-experimental" list available0 -
Hi, Yep, the problem is that the yum cache needed to be built after adding that repository. The command you ran built that cache, thus it worked after that. We're adding in cache rebuilding to the EA4 UI if it senses there's issues with the yum caches. Thanks for the report! 0
Please sign in to leave a comment.
Comments
2 comments