Error when trying to yum update

This is the error im getting. Not sure how to fix it.

yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

please run

`rm -f /etc/yum.repos.d/litespeed.repo

rpm -ivh https://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

yum clean all`

I get this now.

[root@centos ~]# rpm -ivh https://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
Retrieving https://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server’s certificate.
error: skipping https://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm - transfer failed

`wget http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

rpm -ivh litespeed-repo-1.1-1.el7.noarch.rpm

yum clean all

yum update`

Thanks @qtwrk the last post worked

Error downloading packages:
MariaDB-devel-10.1.43-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
galera-25.3.28-1.rhel7.el7.centos.x86_64: [Errno 256] No more mirrors to try.
MariaDB-client-10.1.43-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
MariaDB-shared-10.1.43-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.

run this

cd /etc/yum.repos.d rm -f MariaDB.repo wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/mysql/MariaDB.repo yum clean all yum update

That works thank you

I get this today not sure why. Any ideas ?

yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 15 kB 00:00:00

One of the configured repositories failed (MariaDB),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=mariadb-mirror ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable mariadb-mirror
    or
        subscription-manager repos --disable=mariadb-mirror

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=mariadb-mirror.skip_if_unavailable=true

failure: repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2 from mariadb-mirror: [Errno 256] No more mirrors to try.
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”
https://fra.cyberpanel.sh/mariadb/10.1/repodata/8ad01b524d332ea36ec8e0520258a6fa27bdcd1b99927517076419beaef7769b-filelists.sqlite.bz2: [Errno 14] curl#7 - “Failed connect to fra.cyberpanel.sh:443; Connection refused”

Anyone?

please try this

`
sed -i ‘s|sgp.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/MariaDB.repo
sed -i ‘s|lax.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/MariaDB.repo
sed -i ‘s|fra.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/MariaDB.repo
sed -i ‘s|mirror.cyberpanel.net|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/MariaDB.repo
sed -i ‘s|sgp.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/litespeed.repo
sed -i ‘s|lax.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/litespeed.repo
sed -i ‘s|fra.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/litespeed.repo
sed -i ‘s|mirror.cyberpanel.net|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/litespeed.repo

sed -i ‘s|sgp.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/powerdns.repo
sed -i ‘s|lax.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/powerdns.repo
sed -i ‘s|fra.cyberpanel.sh|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/powerdns.repo
sed -i ‘s|mirror.cyberpanel.net|cdn.cyberpanel.sh|g’ /etc/yum.repos.d/powerdns.repo

yum clean all

yum update
`

strange i tried it again before doing this and it worked. Maybe it was the reboot I did on the vps. Thanks again

I encountered the same error as you when installing CyberPanel [Errno 14]

How did you finally fix it