On 16 July 2010 06:44, tehcook <serge...@gmail.com> wrote:
>
> /opt/csw/bin/pkg-get -f upgrade common
 [ snip ]
> [... skipped many more dependencies...]
>
> Current administration requires that a unique instance of the
> <CSWcommon> package be created.  However, the maximum number of
> instances of the package which may be supported at one time on the
> same system has already been met.
>
> No changes were made to the system.
> ERROR: could not add CSWcommon.

The "force" option in pkg-get does not always force an install (or
uninstall), instead, simply ploughs on without asking questions. If
the default behaviour of pkgadd or whatever underneath is to bail at
any point, pkg-get will also bail, it will not try and answer
questions for you in the affirmative.

I would expect pkgutil -y would do what you want, as this does try and
ensure things get installed and will try and answer some questions,
however, I've not tried in your circumstances. Use of pkg-get is now
deprecated by Blastwave and unpopular (but still supported) with
OpenCSW.

You could argue none of this is a problem with puppet per se, however,
I think puppet needs to move it's Solaris Blastwave provider backend
to pkgutil.

Gary





-- 
Gary Law
Email: gary...@garylaw.net
Chat googletalk/messenger: gary....@gmail.com
iChat/jabber/AIM: gary....@mac.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to