Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache 4 update error

Discussion in 'EasyApache' started by Nirjonadda, Apr 24, 2018.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    578
    Likes Received:
    14
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I am getting EasyApache 4 update error.

    Code:
    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 <module> 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 <lambda> 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 <lambda> 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`
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    836
    Likes Received:
    62
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Nirjonadda

    Have you tried running:

    Code:
    yum makecache 
    as indicated by the error message?

    Thank you,
     
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    578
    Likes Received:
    14
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Fixed, Installed mod_cpanel but Still are missing about what does mod_cpanel and what benefit we will get from this?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    836
    Likes Received:
    62
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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

    Thank you,
     
Loading...

Share This Page