Nicholas Solter wrote: > Shawn Walker wrote: >> 2008/7/3 Nicholas Solter <[EMAIL PROTECTED]>: >>> I'm trying to install emacs from the blastwave repository, and am >>> running into some problems. I'm probably missing something obvious, but >>> I can't figure it out. >>> >>> The first problem is that if blastwave is not the preferred authority, >>> pkg install doesn't seem to find the package at all, even though pkg >>> contents -r can list its contents. >>> >>> [EMAIL PROTECTED]:~# cat /etc/release >>> OpenSolaris 2008.11 snv_91 X86 >>> Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. >>> Use is subject to license terms. >>> Assembled 12 June 2008 >>> [EMAIL PROTECTED]:~# pkg set-authority -O >>> http://blastwave.network.com:10000/ blastwave >>> [EMAIL PROTECTED]:~# pkg authority >>> AUTHORITY URL >>> blastwave http://blastwave.network.com:10000/ >>> opensolaris.org (preferred) http://pkg.opensolaris.org:80/ >>> [EMAIL PROTECTED]:~# pkg refresh --full >>> [EMAIL PROTECTED]:~# pkg install IPSemacs >> Try "pkg install pkg:/blastwave/IPSemacs" >> > > Thanks for the suggestion. Unfortunately, it doesn't help. However, I > played around a bit more, and it seems that the problem is both cases is > that pkg install isn't able to find packages in an authority other than > the preferred one, even though pkg info -r is able to see them. > > [EMAIL PROTECTED]:~# pkg set-authority -P blastwave > [EMAIL PROTECTED]:~# pkg info -r pkg:/[EMAIL PROTECTED],5.11-0.91 > Name: SUNWlang-sk > Summary: Slovakian language support > State: Not installed > Authority: opensolaris.org > Version: 0.5.11 > Build Release: 5.11 > Branch: 0.91 > Packaging Date: Fri Jun 13 18:19:30 2008 > Size: 3.5 MB > FMRI: > pkg://opensolaris.org/[EMAIL PROTECTED],5.11-0.91:20080613T181930Z > [EMAIL PROTECTED]:~# pkg install pkg:/[EMAIL PROTECTED],5.11-0.91 > Traceback (most recent call last): > File "/usr/bin/pkg", line 1458, in ? > ret = main_func() > File "/usr/bin/pkg", line 1424, in main_func > return install(img, pargs) > File "/usr/bin/pkg", line 448, in install > filters = filters, verbose = verbose, noexecute = noexecute) > File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line > 1280, in make_install_plan > self.load_optional_dependencies() > File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line > 1021, in load_optional_dependencies > self.update_optional_dependency(min_fmri) > File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line > 989, in update_optional_dependency > matcher = pkg.fmri.exact_name_match)[0] > File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line > 403, in get_matching_fmris > raise KeyError, "packages matching '%s' not found in catalog or > image" \ > KeyError: "packages matching 'pkg:/[EMAIL PROTECTED],5.11-0.91' not > found in catalog or image" > [EMAIL PROTECTED]:~# pkg set-authority -P opensolaris.org > [EMAIL PROTECTED]:~# pkg install pkg:/[EMAIL PROTECTED],5.11-0.91 > DOWNLOAD PKGS FILES XFER (MB) > Completed 1/1 4/4 3.47/3.47 > > PHASE ACTIONS > Install Phase 29/29 > > > This seems like a bug to me, unless I'm misunderstanding the way > non-preferred authorities are supposed to work. >
Yes.... I'll try and deal with this ASAP. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
