FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 06-23-2012, 04:54 PM
Andreas Beckmann
 
Default ensuring package configuration order without Depends ? (was: "could not perform immediate configuration")

On 2012-06-23 13:19, Jonas Smedegaard wrote:
> Sounds like similar problem I have with initial install of
> buddycloud-server. It seems to me it is a problem related to
> dbconfig-common - if both my package and dbconfig-common and dependent
> database package is installed in same batch then my package may be
> configured before the others and fail.

Hmm, that sounds more like #663720, although I observed that in the
upgrade case.

Package P depends on the concept "running YourSQL server" which can be
satisfied by
a) a remote db server - that is fine, it will be available while we
install/upgrade the local machine (or if the DB is down, it's out of our
local control)
b) installing yoursql-server on the local machine - that service will
not be available initially and will not be available temporarily during
the upgrade.

The problem in the second case is how to convince apt to do the right
thing (i.e. configure yoursql-server *before* P) without adding a
Depends: yoursql-server to P (which we want to avoid in order to support
remote db-servers without requiring installation of a local db-server
which would need to be disabled manually)
That includes the case of alternatives, i.e. if P
Recommends/Suggests: yoursql-server | theirsql-server
all (installed or to-be-installed) alternatives should be configured
before P. (Otherwise it will be murphyssql-server that is configured,
satisfies the relationship, but is not the one P is going to use.)

Andreas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE5F4BA.7080706@abeckmann.de">http://lists.debian.org/4FE5F4BA.7080706@abeckmann.de
 

Thread Tools




All times are GMT. The time now is 02:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org