Hello Petter, hello Kel,

I'm afraid I need your advice here.

Jeremy Lal [2009-07-02 10:02 +0200]:
> With insserv package installed, and postgresql 8.3 installed,
> i can't install the postgresql-8.4 package, see the aptitude log below.
> Also AFAIR this problem did not happen during 8.2 -> 8.3 migration.
>
> insserv: script postgresql-8.4: service postgresql already provided!
> insserv: exiting now!
> dpkg : erreur de traitement de postgresql-8.4 (--configure) :
>  le sous-processus script post-installation installé a retourné une erreur de 
> sortie d'état 1

Indeed, postgresql 8.3 has

# Provides:             postgresql postgresql-8.3

while postgresql-8.4 has

# Provides:             postgresql postgresql-8.4

This was actually deliberate, so that dependencies can be formed both
for version specific servers as well as "any postgresql". Is insserv
designed to not get along with multiple packages providing the
same service, or is this a bug? The LSB spec [1] doesn't say anything
about requiring the Provides: names to be unique?

Thanks,

Martin

[1] 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to