On 08/15/12 16:47, Stefan Teleman wrote:
root@sol-t1000-28:~/pkg_braindamage# uname -a
SunOS sol-t1000-28 5.11 11.1 sun4v sparc SUNW,Sun-Fire-T1000 ## <--lab box

root@sol-t1000-28:~/pkg_braindamage# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
userland (non-sticky) origin online F
file:///net/wonderland/builds/steleman/userland-gcc-7178519/sparc/repo/
solaris (non-sticky) origin online F http://pkg101.us.oracle.com/s11u1/
root@sol-t1000-28:~/pkg_braindamage# pkg info -r gcc-45
Name: developer/gcc-45
Summary: GCC - 4.5 Compilers
Category: Development/C (org.opensolaris.category.2008)
Development/C++ (org.opensolaris.category.2008)
Development/Fortran (org.opensolaris.category.2008)
Development/GNU (org.opensolaris.category.2008)
Development/Objective C (org.opensolaris.category.2008)
State: Not installed
Publisher: userland
Version: 4.5.2
Build Release: 5.11
Branch: 0.175.1.0.0.22.1031
Packaging Date: Tue Aug 07 21:50:12 2012
Size: 291.75 MB
FMRI:
pkg://userland/developer/[email protected],5.11-0.175.1.0.0.22.1031:20120807T215012Z

root@sol-t1000-28:~/pkg_braindamage# pkg install developer/gcc-45
Creating Plan (Solver setup): -
pkg install: No matching version of developer/gcc-45 can be installed:
Reject:
pkg://userland/developer/[email protected],5.11-0.175.1.0.0.22.1031:20120807T215012Z

Reason: This version is excluded by installed incorporation
pkg://solaris/consolidation/userland/[email protected],5.11-0.175.1.0.0.21.0:20120723T164824Z

root@sol-t1000-28:~/pkg_braindamage#

The userland publisher was created with --search-first.
Package developer/gcc-45 is not currently installed on the system.

And somehow, I still can't install it from the file:/// repo.

The version of the userland-incorporation package you have doesn't allow the version of gcc-45 you're trying to install.

pkg(5) selected the build 22 version of gcc-45 because that's all your userland repository contains and you have the 'userland' publisher set higher ranked than 'Solaris' (via --search-first).

If you want to install the 'solaris' version of gcc-45, you'll have to specify it explicitly:

  pkg install //solaris/developer/gcc-45

That should automatically pick the build 21 version.

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

Reply via email to