Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: andylau123 on August 26, 2024, 09:23:59 AM
-
And found this link:
https://www.alphagnu.com/topic/33-update-cwp-roundcube-mail-version-156-%E2%80%93-control-web-panel/#comment-35
After I enter the first command:
yum update ca-certificates -y
it gives the following error:
[root@rsrvr19~]# yum update ca-certificates -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 5.1 kB 00:00:00
* epel: repo.jing.rocks
base | 3.6 kB 00:00:00
cwp | 2.9 kB 00:00:00
extras | 2.9 kB 00:00:00
http://yum.mariadb.org/10.2/centos7-amd64/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 (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 ...
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
or
subscription-manager repos --disable=mariadb
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.skip_if_unavailable=true
failure: repodata/repomd.xml from mariadb: [Errno 256] No more mirrors to try.
http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
I don't know if it's because something is missing, or because the Mariadb version is old.
If I continue with the next commands, will I be able to update?
I'm using PHP4.7.28, Mariadb 10.2.43, Nginx+Apache
Thanks everyone for checking it out.
-
CentOS 7 is EOL.
There are posts here about that and how update/change your OS or make other other changes to continue using CentOS 7 (maybe not here but have seen posts to delay the inevitable).
-
Allot for CentOS 7 doesn't work anymore. It's now past EOL.
The current version of Roundcube that works with CWP is 1.5.8.
MariaDB 10.2 is way past EOL also.
-
So it is likely that the old version of Mariadb does not support it, because I have adjusted it so that Yum Update can be done normally. Now update Mariadb to a higher version and run the above command again, right?
-
CentOS 7 is EOL, aka DEAD.
Manually changing the repos was only a temporary fix so that you can update to an OS like AlmaLinux 8.
If you insist on running CentOS 7, don't expect any updates or fixes.
-
Thanks you very much ^^
I will update to Mariadb 10.11 to see how it goes.