CyberPanel Community

Error when trying to yum update

bi
billyf #1

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

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

12 replies
dy
dyrer #5

Thanks @qtwrk the last post worked

Dz
DzMehedi #6

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.

qt
qtwrk #7

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

bi
billyf #8

That works thank you

bi
billyf #9

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”

bi
billyf #10

Anyone?

qt
qtwrk #11

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
`

bi
billyf #12

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

wa
wang #13

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

How did you finally fix it

Sign in to reply