Oracle® Solaris 11.2의 소프트웨어 추가 및 업데이트

인쇄 보기 종료

업데이트 날짜: 2014년 7월
 
 

이미지 업그레이드

다음 pkg update 명령은 지정된 패키지가 없기 때문에 모든 패키지를 사용 가능한 최신 버전으로 업데이트합니다. 명령은 업그레이드 제어 패키지를 사용 가능한 최신 버전으로 업데이트합니다. 그러면 upgradectrl 패키지의 pkg.depend.install-hold 설정에 따라 upgradectrl 패키지를 업데이트할 때 pkg:/entire 패키지가 업데이트되므로 이미지를 업그레이드할 수 있습니다. 이미지는 새로운 upgradectrl 통합에 지정된 pkg:/entire 통합의 버전으로 업그레이드됩니다.

$ pkg update --be-name s11u1_10
            Packages to remove:   1
            Packages to update: 186
           Mediators to change:   1
       Create boot environment: Yes
Create backup boot environment:  No

Planning linked: 0/1 done; 1 working: zone:z1
Linked image 'zone:z1' output:
|  Packages to remove:  1
| Packages to install:  3
|  Packages to update: 73
| Mediators to change:  1
|  Services to change:  3
`
Planning linked: 1/1 done
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            187/187   16139/16139  507.9/507.9  562k/s

Downloading linked: 0/1 done; 1 working: zone:z1
Downloading linked: 1/1 done
PHASE                                          ITEMS
Removing old actions                       1473/1473
Installing new actions                     3451/3451
Updating modified actions                16378/16378
Updating package state database                 Done 
Updating package cache                       187/187 
Updating image state                            Done 
Creating fast lookup database                   Done 
Reading search index                            Done 
Building new search index                    851/851 
Executing linked: 0/1 done; 1 working: zone:z1
Executing linked: 1/1 done

A clone of s11u1_0 exists and has been updated and activated.
On the next boot the Boot Environment s11u1_10 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

현재 BE가 변경되지 않았고 새 BE에 업데이트된 패키지가 있는지 확인합니다.

$ pkg list entire upgradectrl
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.1.0.0.24.2    i--
upgradectrl (site)                                1.0                        i--
$ beadm mount s11u1_10 /mnt
$ pkg -R /mnt list entire upgradectrl
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.1.10.0.6.0    i--
upgradectrl (site)                                1.10                       i--
$ beadm unmount s11u1_10