Author Topic: Problems installing packages and updates with Almalinux8  (Read 496 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problems installing packages and updates with Almalinux8
« on: March 18, 2025, 08:59:17 PM »
Hi, I just installed Almalinux8 on my new server and was configuring CWP.
I find myself with about 12 updates to do, but as soon as I try to do them I get this error:
Code: [Select]
Last metadata expiration check: 0:39:32 ago on Tue Mar 18 21:19:23 2025.
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Can anyone help me?

Offline
***
Re: Problems installing packages and updates with Almalinux8
« Reply #1 on: March 19, 2025, 04:40:14 PM »
Did you add some extra repositories or install binary packages (.RPMs) manually ?

Offline
*
Re: Problems installing packages and updates with Almalinux8
« Reply #2 on: March 19, 2025, 05:37:31 PM »
Did you add some extra repositories or install binary packages (.RPMs) manually ?
Hi! Absolutely not! Other than following the CWP installation I have not installed anything manually. Can you help me or do I have to open a ticket?

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #3 on: March 19, 2025, 10:22:17 PM »
You would only get that error manually installing a .rpm that shouldn't have been, and now has corrupted the system.

There would have been information above those lines to tell you what package(s) broke the system.

Best bet is to start over to avoid any gremlins later.

Offline
*
Re: Problems installing packages and updates with Almalinux8
« Reply #4 on: March 19, 2025, 11:00:29 PM »
You would only get that error manually installing a .rpm that shouldn't have been, and now has corrupted the system.

There would have been information above those lines to tell you what package(s) broke the system.

Best bet is to start over to avoid any gremlins later.
I didn't install any package manually via terminal. I just mounted a new hard disk and then from cwp selected apache and nginix as server and installed PHP fpm. Stop But from the terminal nothing of the sort. As you say, should I format and reinstall almalinux8 from scratch?

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #5 on: March 20, 2025, 01:55:21 PM »
If nothing is on the server, then yes, that would be your best solutions I think.

Would also suggest AL9, since unless you need to run PHP under 7.4.x
Most of the bugs are in the migration part, like CWP -> CWP Migration, which they are working on.

Offline
*
Re: Problems installing packages and updates with Almalinux8
« Reply #6 on: March 20, 2025, 02:58:08 PM »
If nothing is on the server, then yes, that would be your best solutions I think.

Would also suggest AL9, since unless you need to run PHP under 7.4.x
Most of the bugs are in the migration part, like CWP -> CWP Migration, which they are working on.
hello,
I come from alma9 and I had to "run away" because after installing CWP I immediately started having problems with updates, account migration and wp_remote_post for wordpress.

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #7 on: March 20, 2025, 04:44:10 PM »
Only thing I've run into is the CWP -> CWP Migration due to the differences in encryption in AL8 & AL9.

All of our servers, except 1 that the client wants to keep on AL8 are running AL9 now.

No problems with WordPress running, or updates.

But AL8 will have security updates until May 2029.
AL9 is right behind it with active support until May 2027, and security support until May 2032.

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #8 on: March 20, 2025, 05:50:57 PM »
If WordPress is your lifeblood, you should stick with AL8 and PHP 7.4 for full WP compatibility. Hopefully 8.1 will be a truly viable option soon.

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #9 on: March 20, 2025, 06:08:31 PM »
No problems so far with WordPress 6.7.2 and PHP 8.3.17

But maybe some plugin need the older PHP.
But AL9 support PHP 7.4.x as the lowest, so it should still be OK.

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #10 on: March 20, 2025, 06:44:41 PM »
But maybe some plugin need the older PHP.
Yes, that's the root of the problem! Some legacy customer sites are running older versions of plugins and WP themes, all interdependent, so I have seen this on a shared server. 8.1 wasn't possible for full compatibility, so I had to run with php 7.4.

php 7.4 on AlmaLinux 9:
https://orcacore.com/install-php-7-4-almalinux-9/

Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #11 on: March 20, 2025, 06:49:30 PM »
When you do the CWP install on AL9, PHP 7.4.33 is the version installed.

After installation, you have to upgrade the PHP version.

Nothing additional needs to be done. :)

Offline
*
Re: Problems installing packages and updates with Almalinux8
« Reply #12 on: March 20, 2025, 07:21:32 PM »
hello guys,
yes but in fact I had tried almalinux 9 with both PHP 7.4 and PHP 8.2.3 but I had the same problem with woocommerce for wp_remote_post, which was essential for me since I needed Paypal as a payment system.
By installing Almalinux8 I solved this problem, but now I have problems with updates. By following chatGPT a bit I managed to install some updates, while Maria DB doesn't want to hear of it and the usual message that I mentioned at the beginning appears.
The commands used with Chat GPT are the following:
Code: [Select]
yum clean all
yum makecache
yum update --nobest


Offline
*****
Re: Problems installing packages and updates with Almalinux8
« Reply #13 on: March 20, 2025, 07:44:34 PM »
You never really want to use --nobest

All you should need to do is
Code: [Select]
dnf --refresh update
Usually the other could corrupt CWP, and cause you problems that might not be able to be fixed.

If you are not a Sys Admin and are using ChatGPT to try and run a server, that will probably fail.

Probably why you are having problems out of the gate.

It should be install AL8, run the update string above, install CWP, update MariaDB and that's it.

If the update is giving you errors, then you have a major problem already...
--nobest forces the installation of modules that could be incompatible and corrupt the server.

CWP doesn't use the RPM versions from AL, it builds allot of custom modules.

Good luck with your ChatGPT support...
« Last Edit: March 20, 2025, 07:51:50 PM by Starburst »

Offline
*
Re: Problems installing packages and updates with Almalinux8
« Reply #14 on: March 22, 2025, 09:13:33 AM »
Hi,
I solved it by directly opening a support ticket and they installed CWP for me in a professional and complete way. Thanks anyway for the suggestions