系统管理指南:Oracle Solaris Containers-资源管理和 Oracle Solaris Zones

Procedure修补程序和软件包不同步

目标系统上运行的下列必需的操作系统软件包和修补程序的版本必须与原始主机上安装的软件包和修补程序的版本相同。

  1. 如果原始主机和新主机之间的软件包和修补程序不同,则可能会显示以下类似信息:


    host2# zoneadm -z my-zone attach
    	These packages installed on the source system are inconsistent with this system:
                SUNWgnome-libs (2.6.0,REV=101.0.3.2005.12.06.20.27) version mismatch
                        (2.6.0,REV=101.0.3.2005.12.19.21.22)
                SUNWudaplr (11.11,REV=2005.12.13.01.06) version mismatch
                        (11.11,REV=2006.01.03.00.45)
                SUNWradpu320 (11.10.0,REV=2005.01.21.16.34) is not installed
                SUNWaudf (11.11,REV=2005.12.13.01.06) version mismatch
                        (11.11,REV=2006.01.03.00.45)
                NCRos86r (11.10.0,REV=2005.01.17.23.31) is not installed
    	These packages installed on this system were not installed on the source system:
                SUNWukspfw (11.11,REV=2006.01.03.00.45) was not installed
                SUNWsmcmd (1.0,REV=2005.12.14.01.53) was not installed
    	These patches installed on the source system are inconsistent with this system:
                120081 is not installed
                118844 is not installed
                118344 is not installed
    	These patches installed on this system were not installed on the source system:
                118669 was not installed
                118668 was not installed
                116299 was not installed
  2. 要成功迁移区域,请使用下列方法之一:

    • 使用正确的软件包和修补程序更新新主机,以便两个系统中的这些内容相同。有关更多信息,请参见第 25 章第 26 章

    • 如果新主机具有与区域相关的软件包或其相关修补程序的更高版本,请使用带有 -u-U 选项的 zoneadm attach 更新区域中的那些软件包以匹配新主机。请参见关于迁移区域