'Initializes the base command and the debian package repository.'

def __init__(self):

    super(AptBackend, self).__init__()
    executable = os_dep.command('apt-get')
    self.base_command = (executable + '    -y')
    self.dpkg_force_confdef = '-o    Dpkg::Options::="--force-confdef"    -o    Dpkg::Options::="--force-confold"'
    self.repo_file_path = '/etc/apt/sources.list.d/autotest'
    cmd_result = utils.run('apt-get    -v    |    head    -1', ignore_status=True, verbose=False)
    out = cmd_result.stdout.strip()
    try:
        ver = re.findall('\\d\\S*', out)[0]
    except IndexError:
        ver = out
    self.pm_version = ver
    logging.debug('apt-get    version:    %s', self.pm_version)
    os.environ['DEBIAN_FRONTEND'] = 'noninteractive'
