7

I am trying to install php-fpm with sudo apt-get install php-fpm. When I do that commmand, it gives the error: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

When I type sudo dpkg --configure -a it says: Setting up mariadb-server-10.1 (1:10.1.44-0ubuntu0.18.04.1) ..., and takes forever. I have tried rebooting, but that does not do much.

I need to install php-fpm (and others), so i'm not really sure what to.

I have read these posts: and did what they all say, to no avail

sudo dpkg --configure -a

sudo dpkg --configure -a takes forever

sudo dpkg --configure -a error

sotirov
  • 4,379

1 Answers1

2
  1. sudo dpkg --configure -a
  2. Ctrl + C
  3. Remove Mariadb or Uninstall Mariadb
  4. Install Mariadb

This way I solved My Problem.

Gryu
  • 8,002
  • 9
  • 37
  • 53