I was working to upgrade the version of a desktop package called
data/docbook

which essentially is made up of with 4 FOSS moudles
sgml-common
docbook-dtds
docbook-style-dsssl
docbook-style-xsl

I found that there is no easy way to even test my builds due to intertwined dependencies. Since I need to remove data/docbook on my machine to install my newly built packages,
that pull in the following dependencies:

# pkg uninstall data/docbook
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/data/[email protected],5.11-0.164:20110422T153159Z' due to the following packages that depend on it: pkg://solaris/developer/documentation-tool/[email protected],5.11-0.164:20110422T160213Z
  pkg://solaris/print/lp/[email protected],5.11-0.164:20110422T191148Z
  pkg://solaris/developer/gnome/[email protected],5.11-0.164:20110422T160513Z

So try uninstall developer/gnome/gettext


# pkg uninstall developer/gnome/gettext
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/developer/gnome/[email protected],5.11-0.164:20110422T160513Z' due to the following packages that depend on it:
  pkg://solaris/library/desktop/[email protected],5.11-0.164:20110422T181154Z
pkg://solaris/developer/documentation-tool/[email protected],5.11-0.164:20110422T160213Z
  pkg://dtbld/developer/build/[email protected],5.11:20110427T015828Z
pkg://solaris/library/gnome/[email protected],5.11-0.164:20110422T181845Z pkg://solaris/developer/gnome/[email protected],5.11-0.164:20110422T160518Z

so trying to uninstall library/gnome/gnome-component

# pkg uninstall library/gnome/gnome-component
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/library/gnome/[email protected],5.11-0.164:20110422T181845Z' due to the following packages that depend on it:
  pkg://solaris/image/viewer/[email protected],5.11-0.164:20110422T174448Z
  pkg://solaris/gnome/[email protected],5.11-0.164:20110422T170240Z
  pkg://solaris/terminal/[email protected],5.11-0.164:20110422T232103Z
pkg://solaris/library/python-2/[email protected],5.11-0.164:20110422T184641Z pkg://solaris/gnome/accessibility/[email protected],5.11-0.164:20110422T165442Z pkg://solaris/system/display-manager/[email protected],5.11-0.164:20110422T195305Z pkg://solaris/developer/ui-designer/[email protected],5.11-0.164:20110422T161129Z
  pkg://solaris/library/desktop/[email protected],5.11-0.164:20110422T180854Z
  pkg://solaris/library/gnome/[email protected],5.11-0.164:20110422T181952Z
  pkg://solaris/image/viewer/[email protected],5.11-0.164:20110422T174331Z
  pkg://solaris/library/gnome/[email protected],5.11-0.164:20110422T182056Z
  pkg://solaris/desktop/[email protected],5.11-0.164:20110422T155405Z
  pkg://solaris/gnome/[email protected],5.11-0.164:20110422T170420Z
  pkg://solaris/gnome/[email protected],5.11-0.164:20110422T170544Z
pkg://solaris/gnome/media/[email protected],5.11-0.164:20110422T171308Z pkg://solaris/gnome/applet/[email protected],5.11-0.164:20110422T165640Z pkg://solaris/library/python-2/[email protected],5.11-0.164:20110422T184846Z pkg://solaris/library/gnome/print/[email protected],5.11-0.164:20110422T182323Z
  pkg://solaris/[email protected],5.11-0.133:20101027T183950Z
  pkg://solaris/communication/im/[email protected],5.11-0.164:20110422T152450Z
pkg://solaris/gnome/[email protected],5.11-0.164:20110422T170512Z pkg://solaris/communication/pda/[email protected],5.11-0.164:20110422T152605Z
  pkg://solaris/gnome/help-viewer/[email protected],5.11-0.164:20110422T170556Z
pkg://solaris/library/python-2/[email protected],5.11-0.164:20110422T184813Z
  pkg://solaris/gnome/config/[email protected],5.11-0.164:20110422T165731Z
pkg://solaris/gnome/speech/[email protected],5.11-0.164:20110422T171541Z
  pkg://solaris/desktop/[email protected],5.11-0.164:20110422T154030Z
  pkg://solaris/library/desktop/[email protected],5.11-0.164:20110422T181032Z
pkg://solaris/library/desktop/[email protected],5.11-0.164:20110422T180339Z pkg://solaris/gnome/applet/[email protected],5.11-0.164:20110422T165537Z pkg://solaris/gnome/preferences/[email protected],5.11-0.164:20110422T171442Z pkg://solaris/desktop/pdf-viewer/[email protected],5.11-0.164:20110422T154202Z
  pkg://solaris/library/[email protected],5.11-0.164:20110422T183617Z
pkg://solaris/system/display-manager/[email protected],5.11-0.164:20110422T195334Z pkg://solaris/library/spell-checking/[email protected],5.11-0.164:20110422T185322Z
  pkg://solaris/editor/[email protected],5.11-0.164:20110422T163848Z
pkg://solaris/gnome/file-manager/[email protected],5.11-0.164:20110422T170024Z


As the list continue, I literally need to uninstall the whole of GNOME consolidation before I can remove data/docbbook. At that point, I don't think I will have an environment that I can work on.

Any suggestions/ideas on how to approach this?

Surely, there must be a easy way to do this.

Put on my most optimistic head gear :)

Thanks,

-Ghee
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to