Centos 8 LEMP: PHP-FPM install error

Posted July 26, 2020 791 views

I’m following the directions and running into an issue on the Centos 8 LEMP tutorial:

Any help would be greatly appreciated.

After running the following command (sudo dnf install php-fpm php-mysqlnd) I receive the error

Running transaction
Preparing : 1/1
Installing : php-fpm-7.4.8-2.el8.remi.x8664 1/1
**Error unpacking rpm package php-fpm-7.4.8-2.el8.remi.x86
Verifying : php-fpm-7.4.8-2.el8.remi.x86_64 1/1


Error: Transaction failed**

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi @chipsterz,

Have you tried doing a System Upgrade beforehand? You can check for whether software updates are available with the following command:

sudo dnf check-update

You can do a minimal software update with the following command:

sudo dnf upgrade-minimal

After that check if the issue is still going to be experienced.



Thanks for the replies. Much appreciated. You were both correct.

Updating was important to fix the error.