パッケージをインストールします。このケースでは、インストール済みの pkg:/entire のバージョンが、アップグレード制御パッケージによって incorporation 指定されたバージョンと同じであるため、変更はほとんどありません。パッケージは非大域ゾーンにもインストールされることに注意してください。
$ pkg list -v entire FMRI IFO pkg://solaris/entire@0.5.11,5.11-0.175.1.0.0.24.2:20120919T190135Z i-- $ zoneadm list global z1 $ pkg install upgradectrl Packages to install: 1 Create boot environment: No Create backup boot environment: No Planning linked: 0/1 done; 1 working: zone:z1 Planning linked: 1/1 done Downloading linked: 0/1 done; 1 working: zone:z1 Downloading linked: 1/1 done PHASE ITEMS Installing new actions 9/9 Updating package state database Done Updating image state Done Creating fast lookup database Done Reading search index Done Updating search index 1/1 Executing linked: 0/1 done; 1 working: zone:z1 Executing linked: 1/1 done
次のコマンドは、インストール済みのバージョンよりも新しいバージョンの pkg:/entire が、構成済みの solaris パブリッシャーから入手できますが、アップグレードの試行は新しくインストールされたアップグレード制御パッケージによって制御されていることを示しています。
$ pkg list -af entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.1.13.0.6.0 --- entire 0.5.11-0.175.1.12.0.5.0 --- entire 0.5.11-0.175.1.11.0.4.0 --- entire 0.5.11-0.175.1.10.0.6.0 --- entire 0.5.11-0.175.1.10.0.5.0 --- ... $ pkg update pkg update: No solution was found to satisfy constraints Plan Creation: Package solver has not found a solution to update to latest available versions. This may indicate an overly constrained set of packages are installed. latest incorporations: ... Try specifying expected results to obtain more detailed error messages. $ pkg update -nv entire@0.5.11-0.175.1.13.0.6.0 pkg update: No matching version of entire can be installed: Reject: pkg://solaris/entire@0.5.11,5.11-0.175.1.13.0.6.0:20131108T211557Z Reason: This version is excluded by installed incorporation pkg://site/upgradectrl@1.0,5.11:20131120T010105Z