7.5 update 7.6 Confused repositorys and PBX cant find gcc-cc++

one week ago i am installing fresh Nethserver 7.5. Today i let run a update via yum. Now it is running System Version NethServer release 7.6.1810 (final)
Kernel 3.10.0-957.1.3.el7.x86_64. For some freepbx modules i need a gcc.
Than i try yum instal gcc. Thats ending with erros …

gcc-4.8.5-36.el7.x86_64.rpm    FAILED
http://vault.centos.org/7.5.1804/os/x86_64/Packages/gcc-4.8.5-36.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found-:-- ETA

But OS iss CentOS Linux release 7.6.1810 (Core), so wrong repositorys

If you got this erros

yum clean all
and try it again

yum install gcc

now i get succes

but incompled

Installing ucp
Updating tables ucp_sessions…Erledigt
gcc-c++ is not installed
Error(s) installing ucp:

Failed to run installation scripts

Updating Hooks…Erledigt


As you found out, it was caused by old repository metadata. Another way to solve it could have been to run yum makecache command.

Have you tried if it works with:

yum install gcc-c++
1 Like

yes thats true …

Fixing the yum mistag was easy clean up the repsitory caches


yum clean all


yum install gcc

is working

but Freepbx dind´t know anything from gcc

gcc-c++ is no package

in 7.5. freepbx uses gcc and gcc++

It’s on centos repo:

Name        : gcc-c++
Arch        : x86_64
Version     : 4.8.5
Repo        : ce-updates/7/x86_64
Summary     : C++ support for GCC
URL         : http://gcc.gnu.org
License     : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : This package adds C++ support to the GNU Compiler Collection.
            : It includes support for most of the current C++ specification,
            : including templates and exception handling.

Sorry I have no clue about freepbx, never used it.

five minites ago i found 2 missing updates …

before yum install gcc-c++ didnt find it
but now you install gcc-c++

now the freepbx module is compiled