Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
[zypp-devel] package dependency problem with zypper or yast
  • From: Ralf Becker <rb@xxxxxxxxxx>
  • Date: Thu, 25 Jun 2009 12:42:11 +0200
  • Message-id: <4A435483.1070704@xxxxxxxxxx>
Hi,

I'm building rpm packages for EGroupware (www.egroupware.org).
They have a "metapackage" requiring the default modules and then
executing a post_install script (create database, install EGroupware and
all modules via a comand line client). All modules depend of a core
module, which is also required by the metapackage and which includes the
post-install script itself. (That way you can use the metapackage for
convenience, but you can also install the single packages, if you want to).

What I expect would be the following behaviour:

1. Install required packages (including required core package)
2. Install metapackage
3. Execute post install of metapackage

(That's eg. the behaviour of yum or aptitude).

What happens is the following:

1. Install some of the required packages
2. Install metapackage
3. Execute post install (which fails, because not all modules there)
4. Install some more required packages and core package

I dont understand the reason behind that behaviour and could not find a
way around it. The required packages installed after the metapackage
always changing a bit - thought the majority of the packages is
installed before, but not all.

I already tried with openSUSE11.1 and SLES11:
- PreReq Tag with core package name or file-name
- several ways to background a helper script waiting for all files to
appear in the filesystem - zypper always detects it and waits patiently
for it to exit ;-)
- explicitly specify the core package first on command line:
zypper install egroupware-core egroupware

Any help is welcome, thanks :-)

Please CC me in your replies, as I'm not subscribed to this list.

Ralf

Ps: I can supply spec file, logs or a repository file to reproduce
--
Ralf Becker
Director Software Development

Stylite GmbH
[open style of IT]

Morschheimer Strasse 15
67292 Kirchheimbolanden

fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@xxxxxxxxxx

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >