Ubuntu: apt-get install insists on removing a package I don't want removed!



Question:

  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!


Solution:1

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »