Hi All,
Im trying to switch asterisk Version from 13 to 16 And im getting this error
asterisk-version-switch
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 13 (LTS) (With Opus and G729 codecs)
Press 2 and the Enter key for Asterisk 15 (With Opus and G729 codecs)
Press 3 and the Enter key for Asterisk 16 (LTS) (With Opus and G729 codecs)
Press 9 and the Enter key to exit and not change your Asterisk Version
3
You picked asterisk16
Clearing yum cache
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
Switching to Asterisk 16
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
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
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
asterisk16 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
and rerun this script to try again.
I have tried to yum clean all same thing my PBXact Version 12.7.5-1902-3.sng7
Did you not read the very first post of this thread which said this is an issue and there is a ticket opened for it? You didn’t need to post all that stuff.
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:
~# 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 7 hours old. I was first alerted to it by an automatic email which said:
-----Original Message-----
From: noreply@xxxxxxxxxxxxx <noreply@xxxxxxxxxxxxx>
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 "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-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
I’m attempting to install system updates. I’ve tried through the GUI and command line but they keep failing. I’m getting this error
[root@freepbx ~]# yum update
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
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’ve looked at the yum errors wiki and performed those troubleshooting tasks but it didn’t work. I have two PBX machines (primary and warm spare) and am having this issue on both.
That’s normal for kernel mods. About a year ago Rob accidentally published some kmods he didn’t mean to publish so we just have to get you off of those.
Each one of these commands will take several minutes to complete.