Chinaunix首页 | 论坛 | 博客
  • 博客访问: 338028
  • 博文数量: 62
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-14 14:12
个人简介

太懒

文章分类

全部博文(62)

文章存档

2015年(8)

2014年(20)

2013年(34)

我的朋友

分类: 其他UNIX

2013-06-20 11:44:47

Solsris 11 包管理新体验

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

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

root@T5120:~# svn
bash: svn: command not found
root@T5120:~# 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@T5120:~#
root@T5120:~# pkg list *subversion*
pkg list: no packages matching '*subversion*' installed
root@T5120:~# pkg list *svn*
pkg list: no packages matching '*svn*' installed
root@T5120:~#

root@T5120:~# 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@T5120:~#

root@T5120:~# 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@T5120:~# svn -version
svn: invalid option character: e
Type 'svn help' for usage.
root@T5120:~# 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@T5120:~#
root@T5120:~#

root@T5120:~# pkg info sunbersion
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:
        sunbersion
root@T5120:~# pkg info subversion
          Name: developer/versioning/subversion
       Summary: Subversion source code management system
   Description: A full-featured version control and source code management
                system designed to be a better CVS
      Category: Development/Source Code Management
         State: Installed
     Publisher: solaris
       Version: 1.6.16
Build Release: 5.11
        Branch: 0.175.0.0.0.2.537
Packaging Date: October 19, 2011 09:58:30 AM
          Size: 6.12 MB
          FMRI: pkg://solaris/developer/versioning/subversion@1.6.16,5.11-0.175.0.0.0.2.537:20111019T095830Z
root@T5120:~#

root@T5120:~# which svn
/usr/bin/svn
root@T5120:~# pkg search /usr/bin/svn
INDEX      ACTION VALUE       PACKAGE
path       file   usr/bin/svn pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
root@T5120:~# pkg search file::svn
INDEX      ACTION VALUE       PACKAGE
basename   file   usr/bin/svn pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537

root@T5120:~#

root@T5120:~# python
Python 2.6.4 (r264:75706, Oct 17 2011, 17:17:06) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>
KeyboardInterrupt
>>>
root@T5120:~#

阅读(1971) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~