On Thu, Nov 18, 2010 at 10:19:11AM +0100, Bernd Zeimetz wrote:
> On 11/18/2010 12:16 AM, Dominic Hargreaves wrote:
> > Package: movabletype-opensource
> > Version: 4.3.4+dfsg-1
> > Severity: grave
> > Justification: renders package unusable
> > 
> > According to the build logs here, this package fails install cleanly
> > on a new install:
> > 
> > http://people.debian.org/~lucas/logs/2010/11/17/movabletype-opensource.log
> 
> I guess all that could be done here is to Recommend postgres-8.4 | 
> mysql-server
> - or is there some way to disable dbconfig if the package is being installed 
> in
> some automatic way?

Not quite. We'd need to fix this with Depends (it's perfectly allowable
to install a package without installing its Recommends; it shouldn't
break if so) but we shouldn't Depend on the database servers (they might
be running on another host).

What we currently have is:

libdbd-sqlite3-perl | libdbd-mysql-perl | libdbd-pg-perl

but dbconfig-common needs the client package to be installed to. What
I'd ideally like to express is

(libdbd-sqlite3-perl && sqlite3) | (libdbd-mysql-perl && mysql-client) | 
(libdbd-pg-perl && postgresql-client)

but I don't think that there's any way to express this in a control
file.

The request-tracker3.8 package solved this by introducing separate
packages rt3.8-db-{sqlite,mysql,postgresql} which each depended on those
pairs of packages, but introducing those empty packages at this stage
might be considered too invasive for squeeze, and is also fairly ugly
IMHO.

Another option would be:

libdbd-sqlite3-perl, libdbd-mysql-perl, libdbd-pg-perl, sqlite3 | mysql-client 
| postgresql-client

but this would still pull in surplus database library packages (maybe
this isn't as big an issue as I think it is).

This must be a common problem for packages using dbconfig-common; will
have to do a bit of research later on to find out if there are any
other options.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to