[wpkg-users] [Bug 111] Reverse dependencies aka chained installation

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Wed Apr 23 20:49:33 CEST 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=111


Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.meier at wpkg.org




--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  2008-04-23 20:49:27 ---
This looks like both software packages are very closely coupled. Why not simply
creating a package which first runs the commands to install software (A) and
then installs software (B)?

To me it sounds quite irrational to have a software (A) which obviously depends
on software (B) but software (B) is not allowed to be installed at installation
time.

You also say that software B can run independently - so why not installing B
first? Is A not installing if B is already there?

If this is true your installer for A will anyway have to check if B is
installed and remove it if it is already there. To me it sounds like these
software modules are extremely tightly coupled. So I would handle them in one
single package. Just add the install commands in the order you need to apply
them. Or just add the commands to install B to the package of A as well, so
they will be executed _after_ A is installed. In case B is already there it
might remove it first too.

Probably you can explain what the problem is if B is installed before A is?
If there is no real problem, then dependencies would work perfectly. If there
is a problem with that, then I would consider it as a bug to the applications.
It cannot be that a program depends on another one but it requires that the
other one is not on the system while installing. Very strange dependency
between these two software packages.

Right now a slightly more ugly solution comes into my mind... Software A could
also check if B is installed and uninstall it (in case there is a problem if it
is there). On next WPKG run WPKG will detect (if proper checks are set) that B
is missing and will re-install it, this time for sure _after_ A is installed.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list