Disabling the service associated with package freeradius-server and rebooting 
cleared this condition, so I can update.
svcadm disable radius/server
Thank you,
William

On 03/ 9/11 12:03 PM, William Schumann wrote:
Thanks.  This worked for one system that is now updated.

However, an unhandled exception during removal of package freeradius-server is blocking removal of any other packages from that repo on another system. It appears to be a separate issue related to sockets:
----------------------
Action removal failed for 'var/run/radiusd' 
(pkg://contrib.opensolaris.org/freeradius-server):
Error: [('/var/run/radiusd/radiusd.sock', '/var/pkg/lost+found/var/run/radiusd-20110308T191330Z/radiusd.sock', "[Errno 122] Operation not supported on transport endpoint: '/var/run/radiusd/radiusd.sock'")]
...
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 367, in 
execute_removal
    src.remove(self)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/directory.py", line 210, 
in remove
    pkgplan.image.salvage(path)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 3343, in 
salvage
    sdir = self.__salvage(path)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 3329, in 
__salvage
    sdir)
  File "/usr/lib/python2.6/shutil.py", line 261, in move
    copytree(src, real_dst, symlinks=True)
  File "/usr/lib/python2.6/shutil.py", line 177, in copytree
    raise Error, errors
Error: [('/var/run/radiusd/radiusd.sock', '/var/pkg/lost+found/var/run/radiusd-20110308T191330Z/radiusd.sock', "[Errno 122] Operation not supported on transport endpoint: '/var/run/radiusd/radiusd.sock'")]
-----------------------
I tried removing all packages from that repo by name, excluding freeradius-server, but this is blocked with what appears to be the same conflict as before:
---------------------
The requested change to the system attempts to install multiple actions
for dir 'usr' with conflicting attributes:

    1 package delivers 'dir group=bin mode=0755 owner=root path=usr':
        
pkg://contrib.opensolaris.org/freeradius-server@2.1.4,5.11-0.111:20091012T130100Z
    429 packages deliver 'dir group=sys mode=0755 owner=root path=usr', 
including:
        
pkg://opensolaris.org/developer/sunstudio12u1@12.1.1,5.11-0.111:20100306T002245Z
        
pkg://opensolaris.org/developer/tool/exuberant-ctags@5.8,5.11-0.111:20100323T003753Z
        
pkg://opensolaris.org/office/openoffice@3.2.1,5.11-0.111:20100707T003225Z
        pkg://punchin/SUNW0punchin@2.3.10,5.11-1:20101005T172514Z
        pkg://solaris/SUNWcs@0.5.11,5.11-0.159:20110214T052549Z


These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.
------------------------
Thank you for your help,
William
On 03/ 8/11 07:13 PM, Shawn Walker wrote:
On 03/ 8/11 07:45 AM, William Schumann wrote:
I'm running into a problem with packages left from the old contrib IPS repository. I can't update the image (pkg image-update) due to conflicts between contrib packages and current packages (e.g., different protection on the same directory), and I can't 'pkg uninstall' packages because the repo doesn't exist. Does anyone have any suggestions on how to either tell IPS to forget the old repo, or to remove the packages from the old repo so that the conflicts disappear.
Thank you for your attention,

The issue with not being able to uninstall packages from a publisher that has been removed is a known one; specific cases of it should be resolved soon.

For now, you should be able to add a dummy entry for the contrib publisher and 
proceed with uninstall:

pkg set-publisher contrib.opensolaris.org
pkg uninstall 'pkg://contrib.opensolaris.org/*'

Obviously replace 'contrib.opensolaris.org' above with whatever the actual name 
is.

-Shawn
_______________________________________________
install-discuss mailing list
install-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/install-discuss
_______________________________________________
install-discuss mailing list
install-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to