[openbeos-cdt] installer: .pkg dependencies

  • From: "Waldemar Kornewald" <wkornewald@xxxxxxxxxxxx>
  • To: openbeos-cdt@xxxxxxxxxxxxx
  • Date: Thu, 26 Apr 2007 16:28:55 +0200

Hi,
do you have any ideas for handling the case when a package conflicts
with some other package (i.e.: wants to overwrite files of some other
package)?

I thought about warning the user in that case and allow for
1) first uninstalling all conflicting packages
2) overwriting the conflicting files
In the case (2), I think the uninstaller should remove the overwritten
files from the affected packages, so the user could install "CoolApp
1", then update to "CoolApp 2" by overwriting the files and uninstall
"CoolApp 1" without breaking "CoolApp 2". But when uninstalling
"CoolApp 2" "CoolApp 1" should be deleted, too, since it won't work,
anymore.

I'm not sure if that will work well, so please add your thoughts.

Bye,
Waldemar Kornewald

Other related posts: