EasyApache 4 update error
I am getting EasyApache 4 update error.
Update Error:
"/usr/bin/python" reported error code "1" when it ended: Traceback (most recent call last): File "/usr/local/cpanel/bin/packman_get_multiinfo_json", line 53, in packman.init_yum(disable_excludes) File "/usr/local/cpanel/bin/packman.py", line 39, 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 1512, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1698, in repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1694, in _getRepoXML self._loadRepoXML(text=self.ui_id) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1685, in _loadRepoXML return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes()) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1659, in _groupLoadRepoXML if self._commonLoadRepoXML(text): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1469, in _commonLoadRepoXML if self._cachingRepoXML(local): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1234, 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/7/x86_64 w/ /usr/local/cpanel/bin/packman_get_multiinfo_json --disable-excludes --prefix ea- Often errors like this can be resolved by running `yum makecache`-
Hello @Nirjonadda Have you tried running: yum makecache
as indicated by the error message? Thank you,0 -
Hello @Nirjonadda Have you tried running:
yum makecache
as indicated by the error message? Thank you,
Fixed, Installed mod_cpanel but Still are missing about what does mod_cpanel and what benefit we will get from this?0 -
Hello, glad to hear that. To explain what exactly mod_cpanel does you can view our documentation here: Apache Module: cPanel - EasyApache 4 - cPanel Documentation [QUOTE] The mod_cpanel Apache module provides a replacement for the Optimize .htaccess (AllowOverride) feature that existed in the Global Configuration section of WHM's Apache Configuration interface (WHM >> Home >> Service Configuration >> Apache Configuration).
Thank you,0
Please sign in to leave a comment.
Comments
3 comments