I’m following the directions and running into an issue on the Centos 8 LEMP tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-8

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
64**
Verifying : php-fpm-7.4.8-2.el8.remi.x86_64 1/1

**Failed:
php-fpm-7.4.8-2.el8.remi.x86_64

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.

Regards,
KFSys

Hello,

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

Updating was important to fix the error.