On 03/ 8/11 09:32 AM, William Schumann wrote:
Mike, Keith,

I did

pkg set-publisher --no-refresh --non-sticky

both with 'contrib' and 'contrib.opensolaris.org' with the same results (sample below). I tried a 'pkg uninstall' of one of the conflicted packages with the same results.

Keith,

I tried disabling publishers with 'pkg set-publisher --disable' and doing a pkg update, with the same results.

After disabling, are you able to uninstall the conflicting package? As the output notes, pkg(1) isn't going to let you update while the conflicting packages are installed.


'pkg uninstall' does not have a '--no-refresh' option.

You're right, I was thinking of something else.


'pkg image-update --no-refresh' yields the same result.

pkg image-update output for one of these packages:
---------------
The requested change to the system attempts to install multiple actions
for dir 'var/svc/manifest' with conflicting attributes:

1 package delivers 'dir group=bin mode=0755 owner=root path=var/svc/manifest': pkg://contrib.opensolaris.org/[email protected],5.11-0.111:20091012T130100Z 11 packages deliver 'dir group=sys mode=0755 owner=root path=var/svc/manifest', including: pkg://opensolaris.org/office/[email protected],5.11-0.111:20100707T003225Z
        pkg://solaris/[email protected],5.11-0.160:20110226T063815Z
pkg://solaris/desktop/[email protected],5.11-0.160:20110228T160343Z pkg://solaris/library/python-2/[email protected],5.11-0.160:20110228T163344Z pkg://solaris/release/[email protected],5.11-0.160:20110228T164004Z

These packages may not be installed together. Any non-conflicting set may
be, or the packages must be corrected before they can be installed.
-----------
I'm working with Solaris 159.

Thank you,
William


On 03/ 8/11 05:03 PM, Mike Gerdts wrote:
On Tue, Mar 8, 2011 at 9:45 AM, William Schumann
<[email protected]>  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,
William
You may be able to get past this with:

pkg set-publisher --no-refresh --non-sticky $obsoletepublisher


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

Reply via email to