YUM failing for sng-base and sng-updates repos

I have system admin pro installed. When trying to run System Update, it returns an error saying "Unable to run ‘YUM CHECK-UPDATES’. When I log in to the console, and try ‘yum update’ I get:

~# yum update
Loaded plugins: fastestmirror, langpacks, versionlock
Loading mirror speeds from cached hostfile
Webmin                                                                                                                                     | 2.9 kB  00:00:00
home_netsroth                                                                                                                              | 1.3 kB  00:00:00
sng-base                                                                                                                                   | 3.6 kB  00:00:00
sng-epel                                                                                                                                   | 3.2 kB  00:00:00
sng-extras                                                                                                                                 | 3.4 kB  00:00:00
sng-pkgs                                                                                                                                   | 3.4 kB  00:00:00
http://sng7.com/os/7.5/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.freepbx.org/display/PPS/YUM+Errors

If above article doesn't help to resolve this issue please use https://issues.freepbx.org/

 One of the configured repositories failed (Sangoma-7 - Updates),
 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=sng-updates ...

 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 sng-updates
    or
        subscription-manager repos --disable=sng-updates

 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=sng-updates.skip_if_unavailable=true

failure: repodata/repomd.xml from sng-updates: [Errno 256] No more mirrors to try.
http://sng7.com/os/7.5/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

I have tried the steps in the article to no avail. I can get yum to work with other repos using:

yum --disablerepo=sng-base --disablerepo=sng-updates <command>

I cannot reach http://sng7.com/os/7.5/updates/x86_64/repodata/repomd.xml in a browser and the result of curl is:

~# curl http://sng7.com/os/7.5/updates/x86_64/repodata/repomd.xml
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /os/7.5/updates/x86_64/repodata/repomd.xml was not found on this server.</p>
</body></html>

This issue is 2 days old. I was first alerted to it by an automatic email which said:

-----Original Message-----
From: noreply@xxxxxxxxxxxxx &lt;noreply@xxxxxxxxxxxxx&gt;
Sent: 19 April 2019 07:49
To: xxxxxxxxxxxxxx
Subject: FreePBX (xxxxxxx VoIP Server) System Updates
Importance: Low

This is an automatic notification from your FreePBX (xxxxxxxxx VoIP Server) server.

http://sng7.com/os/7.5/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error

403 - Forbidden

Trying other mirror.

To address this issue please refer to the below wiki article

https://wiki.freepbx.org/display/PPS/YUM+Errors

If above article doesn't help to resolve this issue please use https://issues.freepbx.org/

 One of the configured repositories failed (Sangoma-7 - Base), 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 &quot;fix&quot; 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=sng-base ...

 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 sng-base

 or

 subscription-manager repos --disable=sng-base

 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=sng-base.skip_if_unavailable=true

failure: repodata/repomd.xml from sng-base: [Errno 256] No more mirrors to try.

http://sng7.com/os/7.5/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error

403 - Forbidden

Any advice on how to get around this?

Regards

A post was merged into an existing topic: Repo Issues - April 19th 2019