Using dpkg-query and rpm query command to check if the package is installed.
Using dpkg-query and rpm query command to check if the package
is installed.

Change-Id: I5f7e8c7d335ec408845f8e7509b1315519663523
Closes-Bug: 1611986

tcpcloud/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller