postfixadmin requires non-existant package postgresql-server (should instead require postgresql)

Bug #1321955 reported by Sven Neuhaus
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
postfixadmin (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
In Progress
Undecided
Michael Fox

Bug Description

I have postgresql-9.3 installed (the DB server).
When I try to install postfixadmin, apt wants to install mysql-server. I can't install it without installing mysql-server!

It looks as if the postfixadmin requires either the package "mysql-server" or "postgresql-server", however there is no package "postgresql-server" in Ubuntu trusty.

Tags: trusty
Revision history for this message
Sven Neuhaus (sven0) wrote :

It seems there is no meta-package postgresql-server.

Either postfixadmin should not depend on this package or one of the postgresql package must supply it.

Revision history for this message
Sven Neuhaus (sven0) wrote :

Workaround:
I was able to install postfixadmin without any issues after creating a fake package postgresql-server as described at
http://shallowsky.com/blog/linux/install/blocking-deb-dependencies.html

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in postfixadmin (Ubuntu):
status: New → Confirmed
Revision history for this message
uwe (maabdulhaq) wrote :

I have similar dependency issues, but a bit different, i have mariadb server , and postfix admin wants to install libpq5 mariadb-client postgresql-client postgresql-client-9.3 postgresql-client-common wwwconfig-common, I do not want it to install the postgresql dependencies

Revision history for this message
uwe (maabdulhaq) wrote :

It also removed my mariadb-server and mariadb-server-5.5 packages

uwe (maabdulhaq)
summary: - postfixadmin relies on postgresql-server
+ postfixadmin dependencies not well defined (requires mysql-server or
+ postgresql, removes MariaDB)
Revision history for this message
Michael Fox (belldandu) wrote : Re: postfixadmin dependencies not well defined (requires mysql-server or postgresql, removes MariaDB)

Wow 3 years no fix

Changed in postfixadmin (Ubuntu):
assignee: nobody → Michael Fox (belldandu)
Revision history for this message
Michael Fox (belldandu) wrote :

I'm tired of this not being fixed. So i'm fixing it myself.

Changed in postfixadmin (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Nish Aravamudan (nacc) wrote :

I'm a bit confused. But this appears to be fixed in Xenial and onwards via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699602.

Changed in postfixadmin (Ubuntu):
status: In Progress → Fix Released
Changed in postfixadmin (Ubuntu Trusty):
assignee: nobody → Michael Fox (belldandu)
Changed in postfixadmin (Ubuntu):
assignee: Michael Fox (belldandu) → nobody
Revision history for this message
Nish Aravamudan (nacc) wrote :

Specifically, 2.3.7-1ubuntu1 on 16.04 has:

Recommends: postfix-mysql | postfix-pgsql, mysql-server | postgresql,

Or are you fixing the mariadb part specifically?

Revision history for this message
Nish Aravamudan (nacc) wrote :

As to mariadb, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778794 is the Debian bug, and was fixed in 2.93-1, which is in 16.10 and on.

I would suggest, I think, for clarity's sake (and to make the SRU easier to verify) that a second bug be opened which will have tasks for 14.04 and 16.04 for allowing mariadb and this bug be used to just fix 14.04's postgresql-server issue.

You are welcome, however, to use just this bug for both, I think it will just be a bit more confusing to the SRU team.

Revision history for this message
Michael Fox (belldandu) wrote : Re: [Bug 1321955] Re: postfixadmin dependencies not well defined (requires mysql-server or postgresql, removes MariaDB)

I would rather make it less confusing for others if possible. So i will do
what you said.

On Apr 11, 2017 11:49 PM, "Nish Aravamudan" <email address hidden>
wrote:

> As to mariadb, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778794
> is the Debian bug, and was fixed in 2.93-1, which is in 16.10 and on.
>
> I would suggest, I think, for clarity's sake (and to make the SRU easier
> to verify) that a second bug be opened which will have tasks for 14.04
> and 16.04 for allowing mariadb and this bug be used to just fix 14.04's
> postgresql-server issue.
>
> You are welcome, however, to use just this bug for both, I think it will
> just be a bit more confusing to the SRU team.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1321955
>
> Title:
> postfixadmin dependencies not well defined (requires mysql-server or
> postgresql, removes MariaDB)
>
> Status in postfixadmin package in Ubuntu:
> Fix Released
> Status in postfixadmin source package in Trusty:
> New
>
> Bug description:
> I have postgresql-9.3 installed (the DB server).
> When I try to install postfixadmin, apt wants to install mysql-server. I
> can't install it without installing mysql-server!
>
> It looks as if the postfixadmin requires either the package "mysql-
> server" or "postgresql-server", however there is no package
> "postgresql-server" in Ubuntu trusty.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/postfixadmin/+
> bug/1321955/+subscriptions
>

Revision history for this message
Michael Fox (belldandu) wrote :

I was however planning to fix both

On Apr 11, 2017 11:49 PM, "Nish Aravamudan" <email address hidden>
wrote:

> As to mariadb, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778794
> is the Debian bug, and was fixed in 2.93-1, which is in 16.10 and on.
>
> I would suggest, I think, for clarity's sake (and to make the SRU easier
> to verify) that a second bug be opened which will have tasks for 14.04
> and 16.04 for allowing mariadb and this bug be used to just fix 14.04's
> postgresql-server issue.
>
> You are welcome, however, to use just this bug for both, I think it will
> just be a bit more confusing to the SRU team.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1321955
>
> Title:
> postfixadmin dependencies not well defined (requires mysql-server or
> postgresql, removes MariaDB)
>
> Status in postfixadmin package in Ubuntu:
> Fix Released
> Status in postfixadmin source package in Trusty:
> New
>
> Bug description:
> I have postgresql-9.3 installed (the DB server).
> When I try to install postfixadmin, apt wants to install mysql-server. I
> can't install it without installing mysql-server!
>
> It looks as if the postfixadmin requires either the package "mysql-
> server" or "postgresql-server", however there is no package
> "postgresql-server" in Ubuntu trusty.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/postfixadmin/+
> bug/1321955/+subscriptions
>

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: postfixadmin dependencies not well defined (requires mysql-server or postgresql, removes MariaDB)

Great Michael! If you need any help, feel free to ping me on IRC -- I can also help sponsor your fixes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in postfixadmin (Ubuntu Trusty):
status: New → Confirmed
Michael Fox (belldandu)
Changed in postfixadmin (Ubuntu Trusty):
status: Confirmed → In Progress
Michael Fox (belldandu)
tags: added: trusty
summary: - postfixadmin dependencies not well defined (requires mysql-server or
- postgresql, removes MariaDB)
+ postfixadmin requires non-existant package postgresql-server
summary: - postfixadmin requires non-existant package postgresql-server
+ postfixadmin requires non-existant package postgresql-server (should
+ instead require postgresql)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.