Environment
Novell ZENworks Configuration Management 11.3
Situation
Upgrading a Linux Primary server to ZENworks 11 SP3
The following and similar errors are seen in the ZENworks_Upgrade_<date>_<time>.log.xml file:
ERROR:
[DEBUG] [02/26/2014 10:12:55.186] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Executing query: (/bin/rpm, -q, novell-zenworks-xplat-x11vnc, --queryformat, @%{version}.%{release}@)] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [FailureRPM Query failed with return code: 1] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Package version: 0.9.9.3.1 installedVersion: null] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Unable to determine installed or package version] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.203] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [rpm command failed...will retry] [] [] [ZENworks]
[ERROR] [02/26/2014 10:12:59.203] [11248] [ZENUpdater] [] [root] [SystemUpdate] [RPM_INSTALL_ERROR] [ERROR] [(/bin/rpm -U --verbose /mnt/Common/rpm/sles-11-x86_64/novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64.rpm),1] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:59.204] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [An error occured during command execution...details should have already been logged] [] [] [ZENworks]
The following error is seen in the original install log (ZENworks_Install_<date>_<time>.log.xml):
ERROR:
Unable to install packageGroup 'novell-zenworks-xplat-zmd-rmagent', message: Error installing novell-zenworks-xplat-zmd-rmagent. RPM returned 4: error: Failed dependencies:
licenses is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
libavahi-client.so.3()(64bit) is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
libavahi-common.so.3()(64bit) is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
xinetd is needed by novell-zenworks-xplat-zmd-rmagent-11.2.0-16054.noarch
libjpeg.so.62 is needed by novell-zenworks-tightvnc-1.2.9-6.novell.0.7.i586
The following and similar errors are seen in the ZENworks_Upgrade_<date>_<time>.log.xml file:
ERROR:
[DEBUG] [02/26/2014 10:12:55.186] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Executing query: (/bin/rpm, -q, novell-zenworks-xplat-x11vnc, --queryformat, @%{version}.%{release}@)] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [FailureRPM Query failed with return code: 1] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Package version: 0.9.9.3.1 installedVersion: null] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.202] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [Unable to determine installed or package version] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:55.203] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [rpm command failed...will retry] [] [] [ZENworks]
[ERROR] [02/26/2014 10:12:59.203] [11248] [ZENUpdater] [] [root] [SystemUpdate] [RPM_INSTALL_ERROR] [ERROR] [(/bin/rpm -U --verbose /mnt/Common/rpm/sles-11-x86_64/novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64.rpm),1] [] [] [ZENworks]
[DEBUG] [02/26/2014 10:12:59.204] [11248] [ZENUpdater] [] [root] [SystemUpdate] [] [DEBUG] [An error occured during command execution...details should have already been logged] [] [] [ZENworks]
The following error is seen in the original install log (ZENworks_Install_<date>_<time>.log.xml):
ERROR:
Unable to install packageGroup 'novell-zenworks-xplat-zmd-rmagent', message: Error installing novell-zenworks-xplat-zmd-rmagent. RPM returned 4: error: Failed dependencies:
licenses is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
libavahi-client.so.3()(64bit) is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
libavahi-common.so.3()(64bit) is needed by novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64
xinetd is needed by novell-zenworks-xplat-zmd-rmagent-11.2.0-16054.noarch
libjpeg.so.62 is needed by novell-zenworks-tightvnc-1.2.9-6.novell.0.7.i586
Resolution
To resolve the issue, please do the following on the failing primary server:
- Using YaST, install the following packages:
- licenses
- libavahi-client3
- libavahi-client3-32bit
- libavahi-common3
- libavahi-common3-32bit
- xinetd
- libjpeg
- libjpeg-32bit
- After these packages are installed, run the following commands to install the missing rpms:
- rpm -Uvh /opt/novell/zenworks/install/downloads/rpm/novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64.rpm --force
- rpm -Uvh /opt/novell/zenworks/install/downloads/rpm/novell-zenworks-xplat-zmd-rmagent-11.2.0-16054.noarch.rpm --force
- rpm -Uvh /opt/novell/zenworks/install/downloads/rpm/novell-zenworks-tightvnc-1.2.9-6.novell.0.7.i586.rpm --force
- Run the ZENworks 11 SP3 upgrade again
Cause
In this case, the following packages failed to install originally:
novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64.rpm
novell-zenworks-xplat-zmd-rmagent-11.2.0-16054.noarch.rpm
novell-zenworks-tightvnc-1.2.9-6.novell.0.7.i586.rpm
novell-zenworks-xplat-x11vnc-0.9.9-3.1.x86_64.rpm
novell-zenworks-xplat-zmd-rmagent-11.2.0-16054.noarch.rpm
novell-zenworks-tightvnc-1.2.9-6.novell.0.7.i586.rpm