Robert Milkowski wrote:
or there should be an option to force an uninstall without deps (like with rpm):

# pkg uninstall --no-deps A
uninstalling A
WARNING packages: B, C depend on A and are not being uninstalled


We don't want to support this, because it allows the user to break his system.

* Why do you want to uninstall A, if B & C depend on it?
* What should the state of B & C be, if A is forcibly removed?
* We use package dependencies to prevent two packages from owning
  the same file at the same time, or having one package declare
  /usr/openwin a directory and other declare a symbolic link.  How
  can we prevent chaos if the administrator is free to ignore all
  constraints.

- Bart





--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to