how can i use this package to install without mariadb and not remove/touch the mysql-server

Asked by teddy

on ubuntu 20.04 lts, postfixadmin package Version: 3.2.1-3

why does this package need to remove mysql-server?
i think it is a very bad choice to force users to use mariadb when postfixadmin itself supports mysql postgres sqlite too (says the official website)

i am using mysql in production and do not wish to install/use mariadb
i do not want to install apache2 either but it is a required package, i'm only using nginx

i can't see any alternative package with mysql or others

i see someone is having the same problem as me here within the last 2 months
https://sourceforge.net/p/postfixadmin/discussion/676076/thread/0b44bdf65e/

i have not installed it yet as i don't want to have that problem described

thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu postfixadmin Edit question
Assignee:
No assignee Edit question
Solved by:
teddy
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#1

As far as I can see, there is a "recommends" of mariadb-server in postfixadmin, and mariadb-server in turn conflicts and replaces mysql-server-(number).

What do you get for

apt --simulate install --no-install-recommends postfixadmin

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Remark:
The change log for version 3.3.7 (and diff from 3.3.5 to 3.3.7)

  * fix dependency on mariadb-server (closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968931

-Recommends: postfix-mysql | postfix-pgsql, virtual-mysql-server | postgresql | sqlite (>= 3.12.0), mariadb-server, zendframework, dovecot-core | courier-authlib-mysql | courier-authlib-postgresql, php-cli
+Recommends: postfix-mysql | postfix-pgsql, virtual-mysql-server | postgresql | sqlite3 (>= 3.12.0) | mariadb-server, zendframework, dovecot-core | courier-authlib-mysql | courier-authlib-postgresql, php-cli

Revision history for this message
teddy (chop2x) said :
#3

thanks!

adding --no-install-recommends seem to work, there is no packages to be removed, but i'm a bit worried, so i might try doing an install of postfixadmin manually without package. seems easy enough just like deploying a php project.

version 3.3.7 is not on focal 20.04 yet i just did apt update

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Remark: version 3.3.7 is packaged for Ubuntu impish. So the relaxed dependency on mariadb (does not install mariadb if mysql is already installed) will be be available for Ubuntu 21.10 and later.