def _get_pkg_install_time(pkg):
    iso_time = None
    if pkg is not None:
        location = "/var/lib/dpkg/info/{0}.list".format(pkg)
        if os.path.exists(location):
            iso_time = datetime.datetime.utcfromtimestamp(int(os.path.getmtime(location))).isoformat() + "Z"

    return iso_time
Combines the hv state from an opcode with the one of the object
dataset/ETHPy150Open saltstack/salt/salt/modules/dpkg.py/_get_pkg_install_time--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/MergeAndVerifyHvState