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!

  • Run sudo apt-mark manual postfixadmin and then check.. – heemayl Nov 29 '15 at 4:42
  • postfixadmin was already set to manually installed. After that, apt-get behaves the same way. – Daniel Wilson Nov 29 '15 at 5:43
  • postfixadmin depends on php5-pgsql which is about to be removed. Make sure you keep that too; then things should work. – tripleee Nov 30 '15 at 7:12
  • Thanks, @tripleee. Adding php5-pgsql as a first step seems to have solved it. – Daniel Wilson Dec 3 '15 at 5:19
  • Will post that as an answer then; appreciate if you mark it as accepted (which will award me some points, but also mark this question as no longer in need of an answer). – tripleee Dec 3 '15 at 5:23
0

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.