Skip to main content

yum error

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! Whenever I run into an issue with Yum not updating properly, I always try these three commands first: yum clean all yum makecache yum update Can you try that and let me know if that changes the behavior of the "yum update" process at all?
    0
  • sojib in
    Hey there! Whenever I run into an issue with Yum not updating properly, I always try these three commands first: yum clean all yum makecache yum update Can you try that and let me know if that changes the behavior of the "yum update" process at all?

    still some issue. Metadata Cache Created [root@node ~]# yum update Loaded plugins: fastestmirror, rhnplugin, universal-hooks This system is receiving updates from CLN. Loading mirror speeds from cached hostfile * EA4: 178.18.193.52 * cpanel-addons-production-feed: 178.18.193.52 * cpanel-plugins: 178.18.193.52 * cloudlinux-x86_64-server-7: cl-mirror.dk.team.blue * epel: www.nic.funet.fi file:///usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo/repodata/repomd.xml" Trying other mirror. No packages marked for update [root@node ~]#
    0
  • cPRex Jurassic Moderator
    It seems like a specific repository is looking for that file. Can you run this command and share the result? grep -Ri cpaddons /etc/yum.repos.d
    0
  • sojib in
    It seems like a specific repository is looking for that file. Can you run this command and share the result? grep -Ri cpaddons /etc/yum.repos.d

    [root@node ~]# grep -Ri cpaddons /etc/yum.repos.d /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo:[usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo] /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo:name=added from: file:///usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo:baseurl=file:///usr/local/cpanel/etc/rpm/generic/cPAddons/yumrepo /etc/yum.repos.d/cPAddons.repo:mirrorlist=
    0
  • ServerHealers
    Looks like the server has a faulty or outdated repository for cPanel addons, rename that repository file with below command and then run those commands @cPRex given in his initial response. mv /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo_backup
    Once the above is executed, run the following and see if this helps: yum clean all yum makecache yum update
    0
  • cPRex Jurassic Moderator
    Yeah, it looks like somehow a file path got put in the repos directory, and that is leading to your issue. Let us know if the details that @ServerHealers provided help!
    0
  • sojib in
    Yeah, it looks like somehow a file path got put in the repos directory, and that is leading to your issue. Let us know if the details that @ServerHealers provided help!

    Thanks its worked now.
    0
  • sojib in
    Looks like the server has a faulty or outdated repository for cPanel addons, rename that repository file with below command and then run those commands @cPRex given in his initial response. mv /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo /etc/yum.repos.d/usr_local_cpanel_etc_rpm_generic_cPAddons_yumrepo.repo_backup
    Once the above is executed, run the following and see if this helps: yum clean all yum makecache yum update

    Thanks its worked now.
    0
  • cPRex Jurassic Moderator
    I'm glad to hear that's working well now!
    0

Please sign in to leave a comment.