Trouble running yum update

Hello,

Currently running: 3.0.9-5

This PBX was upgraded from version 2. Now, when running yum update, it gives me this error -

(I also uploaded the below to pastebin for easier read: https://pastebin.com/raw/7FjKrEyp)

[root@vitalpbx ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                                                                                  |  13 kB  00:00:00
 * base: mirror.atlanticmetro.net
 * epel: mirror.siena.edu
 * extras: centos.mirror.constant.com
 * updates: mirror.siena.edu
asterisk-mirror-sounds                                                                                                                                                                                                | 2.9 kB  00:00:00
asterisk-sounds                                                                                                                                                                                                       | 2.9 kB  00:00:00
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00
epel                                                                                                                                                                                                                  | 4.7 kB  00:00:00
extras                                                                                                                                                                                                                | 2.9 kB  00:00:00
mariadb                                                                                                                                                                                                               | 3.4 kB  00:00:00
sonata-suite                                                                                                                                                                                                          | 2.9 kB  00:00:00
sonata-suite-mirror                                                                                                                                                                                                   | 2.9 kB  00:00:00
updates                                                                                                                                                                                                               | 2.9 kB  00:00:00
http://repo.vitalpbx.org/devel/rpms/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.centos.org/yum-errors

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



 One of the configured repositories failed (VitalPBX Repo),
 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=vitalpbx_devel ...

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

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

failure: repodata/repomd.xml from vitalpbx_devel: [Errno 256] No more mirrors to try.
http://repo.vitalpbx.org/devel/rpms/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Here’s the repolist:

[root@vitalpbx ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                                                                                  |  13 kB  00:00:00
 * base: mirror.atlanticmetro.net
 * epel: mirror.siena.edu
 * extras: centos.mirror.constant.com
 * updates: mirror.siena.edu
asterisk-mirror-sounds                                                                                                                                                                                                | 2.9 kB  00:00:00
asterisk-sounds                                                                                                                                                                                                       | 2.9 kB  00:00:00
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00
extras                                                                                                                                                                                                                | 2.9 kB  00:00:00
mariadb                                                                                                                                                                                                               | 3.4 kB  00:00:00
sonata-suite                                                                                                                                                                                                          | 2.9 kB  00:00:00
sonata-suite-mirror                                                                                                                                                                                                   | 2.9 kB  00:00:00
updates                                                                                                                                                                                                               | 2.9 kB  00:00:00
http://repo.vitalpbx.org/devel/rpms/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.centos.org/yum-errors

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

asterisk-mirror-sounds/x86_64/primary_db                                                                                                                                                                              | 5.3 kB  00:00:00
asterisk-sounds/x86_64/primary_db                                                                                                                                                                                     | 5.3 kB  00:00:00
base/7/x86_64/primary_db                                                                                                                                                                                              | 6.1 MB  00:00:00
epel/x86_64/primary_db                                                                                                                                                                                                | 6.9 MB  00:00:00
extras/7/x86_64/primary_db                                                                                                                                                                                            | 242 kB  00:00:00
mariadb/primary_db                                                                                                                                                                                                    |  61 kB  00:00:00
sonata-suite/x86_64/primary_db                                                                                                                                                                                        |  34 kB  00:00:00
sonata-suite-mirror/x86_64/primary_db                                                                                                                                                                                 |  34 kB  00:00:00
updates/7/x86_64/primary_db                                                                                                                                                                                           | 9.6 MB  00:00:01
http://repo.vitalpbx.org/devel/rpms/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
vpbx-base/x86_64                                                                                                                                                                                                      | 2.9 kB  00:00:00
vpbx-base/x86_64/primary_db                                                                                                                                                                                           | 277 kB  00:00:00
vpbx-base-mirror/x86_64                                                                                                                                                                                               | 2.9 kB  00:00:00
vpbx-base-mirror/x86_64/primary_db                                                                                                                                                                                    | 277 kB  00:00:00
vpbx-core/x86_64                                                                                                                                                                                                      | 2.9 kB  00:00:00
vpbx-core/x86_64/primary_db                                                                                                                                                                                           |  86 kB  00:00:00
vpbx-core-mirror/x86_64                                                                                                                                                                                               | 2.9 kB  00:00:00
vpbx-core-mirror/x86_64/primary_db                                                                                                                                                                                    |  86 kB  00:00:00
vpbx-extras/x86_64                                                                                                                                                                                                    | 2.9 kB  00:00:00
vpbx-extras/x86_64/primary_db                                                                                                                                                                                         |  41 kB  00:00:00
vpbx-extras-mirror/x86_64                                                                                                                                                                                             | 2.9 kB  00:00:00
vpbx-extras-mirror/x86_64/primary_db                                                                                                                                                                                  |  41 kB  00:00:00
repo id                                                                                                    repo name                                                                                                                   status
asterisk-mirror-sounds/x86_64                                                                              Asterisk Sounds Mirror                                                                                                          19
asterisk-sounds/x86_64                                                                                     Asterisk Sounds                                                                                                                 19
base/7/x86_64                                                                                              CentOS-7 - Base                                                                                                             10,072
epel/x86_64                                                                                                Extra Packages for Enterprise Linux 7 - x86_64                                                                              13,638
extras/7/x86_64                                                                                            CentOS-7 - Extras                                                                                                              498
mariadb                                                                                                    MariaDB                                                                                                                        100
sonata-suite/x86_64                                                                                        Sonata Suite                                                                                                                    45
sonata-suite-mirror/x86_64                                                                                 Sonata Suite Mirror                                                                                                             45
updates/7/x86_64                                                                                           CentOS-7 - Updates                                                                                                           2,579
vitalpbx_devel/x86_64                                                                                      VitalPBX Repo                                                                                                                    0
vpbx-base/x86_64                                                                                           VitalPBX Base                                                                                                                  586
vpbx-base-mirror/x86_64                                                                                    VitalPBX Base Mirror                                                                                                           586
vpbx-core/x86_64                                                                                           VitalPBX Core                                                                                                                  132
vpbx-core-mirror/x86_64                                                                                    VitalPBX Updates Mirror                                                                                                        132
vpbx-extras/x86_64                                                                                         VitalPBX Extras                                                                                                                138
vpbx-extras-mirror/x86_64                                                                                  VitalPBX Extras Mirror                                                                                                         138
repolist: 28,727
[root@vitalpbx ~]# ll /etc/yum.repos.d/
total 60
-rw-r--r-- 1 root root 1664 Nov 23  2020 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Nov 23  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Nov 23  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Nov 23  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Nov 23  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Nov 23  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 8515 Nov 23  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  616 Nov 23  2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root 1050 Oct 31  2020 epel.repo
-rw-r--r-- 1 root root 1149 Oct 31  2020 epel-testing.repo
-rw-r--r-- 1 root root  154 Dec  1  2020 mariadb.repo
-rw-r--r-- 1 root root 1512 Jun 20 01:31 vitalpbx.repo
-rw-r--r-- 1 root root  113 Apr 20  2020 vpbx_devel.repo

Thank you

You just have to remove the file vpbx_devel.repo.

rm -f /etc/yum.repos.d/vpbx_devel.repo

Then, run the commands below

yum clean all
yum update -y

That worked! Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.