Solaris 11 包管理新体验

Solaris 11 包管理新体验

终于有个机器升级到了solaris11,体验一下,感觉不错啊

root@ :~# pkg list "*svn*"
pkg list: no packages matching '*svn*' installed
root@ :~# pkg list "*subversion*"
pkg list: no packages matching '*subversion*' installed
root@ :~#

root@ :~# svn
bash: svn: command not found
root@ :~# pkg search subversion
INDEX      ACTION VALUE                                    PACKAGE
pkg.summary set    Java bindings for the Subversion SCM    pkg:/library/java/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Perl bindings for the Subversion SCM    pkg:/library/perl-5/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Python bindings for the Subversion SCM  pkg:/library/python-2/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Subversion source code management system pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/developer/versioning/subversion  pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/java/subversion          pkg:/library/java/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/perl-5/subversion        pkg:/library/perl-5/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/python-2/subversion      pkg:/library/python-2/subversion@1.6.16-0.175.0.0.0.2.537
root@ :~#
root@ :~# pkg list *subversion*
pkg list: no packages matching '*subversion*' installed
root@ :~# pkg list *svn*
pkg list: no packages matching '*svn*' installed
root@ :~#

root@ :~# pkg install developer/versioning/subversion@latest
Creating Plan /               
pkg install: No matching version of developer/versioning/subversion can be installed:
  Reject:  pkg://solaris/developer/versioning/subversion@1.7.5,5.11-0.175.1.0.0.24.0:20120904T171741Z
  Reason:  This version is excluded by installed incorporation pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.0.0.0.2.537:20111019T091357Z
root@ :~#

root@ :~# pkg install developer/versioning/subversion
          Packages to install:  3
      Create boot environment: No
Create backup boot environment: No
DOWNLOAD                                  PKGS      FILES    XFER (MB)
Completed                                  3/3    294/294      2.5/2.5$<3>
PHASE                                        ACTIONS
Install Phase                                452/452
PHASE                                          ITEMS
Package State Update Phase                      3/3
Image State Update Phase                        2/2
PHASE                                          ITEMS
Reading Existing Index                          8/8
Indexing Packages                                3/3
root@ :~# svn -version
svn: invalid option character: e
Type 'svn help' for usage.
root@ :~# svn --version
svn, version 1.6.16 (r1073529)
  compiled Oct 17 2011, 17:11:48
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see
This product includes software developed by CollabNet ().
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
root@ :~#
root@ :~#

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/19457.html