Thanks for the help on this one. Proof that computers continue to do exactly what we tell them and not what we really want them to do, although like you note 7163601 would have helped some here.

This works:

root@solaris:~# pkg change-facet facet.version-lock.library/python-2/libxml2-26=false
            Packages to update: 844
     Variants/Facets to change:   1
       Create boot environment:  No
Create backup boot environment: Yes

PHASE                                        ACTIONS
Removal Phase                                    1/1

PHASE                                          ITEMS
Image State Update Phase                         2/2
root@solaris:~#
root@solaris:~#
root@solaris:~#
root@solaris:~# pkg install pkg://userland/library/python-2/[email protected],5.11-0.175.1.0.0.17.903:20120608T165117Z
            Packages to update:   2
       Create boot environment:  No
Create backup boot environment: Yes

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  2/2       10/10      2.3/2.3

PHASE                                        ACTIONS
Removal Phase                                  12/12
Install Phase                                    9/9
Update Phase                                   25/25

PHASE                                          ITEMS
Package State Update Phase                       4/4
Package Cache Update Phase                       2/2
Image State Update Phase                         2/2
root@solaris:~# ls -al /lib/amd64/libxml*
lrwxrwxrwx 1 root root 12 Jun 8 14:05 /lib/amd64/libxml2.so -> libxml2.so.2 -r-xr-xr-x 1 root bin 3102112 Jun 8 14:05 /lib/amd64/libxml2.so.2
root@solaris:~#

Thanks,
Kevin.


On 06/ 8/12 01:48 PM, Danek Duvall wrote:
Kevin Crowe wrote:

On 06/ 8/12 11:44 AM, Danek Duvall wrote:
What happens if you install libxml-26 from your repo?
Sorry, I think you asked this last night and I misinterpreted it.
No, I just talked about giving the version for libxml2, not trying anything
with libxml-26.

I just tried this now and it looks closer but...do I just have a typo in
my change-facet now that I don't see?:

[ ... ]

root@solaris:~# pkg change-facet facet.version-lock.library/libxml2-26=false
It needs to be the full name of the package:

     facet.version-lock.library/python-2/libxml2-26

Note that you made the same mistake here:

root@solaris:~# pkg install pkg://userland/library/libxml2-26
Creating Plan
pkg install: The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

         pkg://userland/library/libxml2-26
We need a mechanism to put all of these under the same facet.  That's

     7163601 userland incorporation build should allow for version-lock facets 
that are not per-package

Danek

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

Reply via email to