1
  sudo apt-get install php5-mysqlnd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dbconfig-common php5 php5-fpm php5-pgsql wwwconfig-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  php5-pgsql
The following packages will be REMOVED:
  php5-mysql postfixadmin
The following NEW packages will be installed:
  php5-mysqlnd php5-pgsql
0 upgraded, 2 newly installed, 2 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 1,858 kB disk space will be freed.
Do you want to continue? [Y/n] n

I don't want postfixadmin removed. How do I install mysqlnd (to get PHP and MariaDB to get along) without apt-get removing postfixadmin?

Thanks!

Ron
  • 20,638

1 Answers1

1

postfixadmin depends on php5-pgsql which is about to be removed. Make sure you keep that too; then things should work.

tripleee
  • 1,474
  • Doesn't work. In my case all packages listed under The following packages will be REMOVED are set to manual and it still insists on removing them. – Mark Jeronimus Dec 21 '21 at 19:41
  • I can't repro on Ubuntu 20.04 so it's a bit hard to recommend anything. If upgrading Ubuntu is not an option, try apt-get install php5-pgsql postfixadmin or try holding postfixadmin. – tripleee Dec 22 '21 at 05:50