Fixed the agent apt-get repo requisit doesn't exisit for Red Hat OS family.