Lines Matching +full:fedora +full:- +full:base
15 @copyright: IBM 2008-2009
16 @copyright: Red Hat 2009-2010
42 length -= 1
69 self.high_level_pms = ['apt-get', 'yum', 'zypper']
92 if 'apt-get' in list_supported and self.distro in ['Debian', 'Ubuntu']:
93 pm_supported = 'apt-get'
94 elif 'yum' in list_supported and self.distro == 'Fedora':
124 elif backend_type == 'apt-get':
242 cmd = (self.lowlevel_base_cmd + ' -q --qf %{VERSION} ' + name +
261 cmd = (self.lowlevel_base_cmd + ' -q --qf %{ARCH} ' + name +
274 cmd = 'rpm -q ' + name + ' 2> /dev/null'
282 installed_packages = utils.system_output('rpm -qa').splitlines()
294 option = '-qlp'
297 option = '-ql'
322 n_cmd = (self.lowlevel_base_cmd + ' -f ' + name +
325 i_cmd = self.lowlevel_base_cmd + ' -s ' + name + ' 2>/dev/null'
328 not_inst_pattern = re.compile('not-installed', re.IGNORECASE)
340 raw_list = utils.system_output('dpkg -l').splitlines()[5:]
344 installed_packages.append("%s-%s" % (parts[1], parts[2]))
355 l_cmd = self.lowlevel_base_cmd + ' -c ' + package
357 l_cmd = self.lowlevel_base_cmd + ' -l ' + package
366 Linux and Red Hat based distributions, such as Fedora and Red Hat
371 Initializes the base command and the yum package repository.
375 base_arguments = '-y'
380 y_cmd = executable + ' --version | head -1'
501 Initializes the base command and the yum package repository.
504 self.base_command = os_dep.command('zypper') + ' -n'
505 z_cmd = self.base_command + ' --version'
518 i_cmd = self.base_command + ' install -l ' + name
571 u_cmd = self.base_command + ' update -l'
586 p_cmd = self.base_command + ' what-provides ' + name
618 Initializes the base command and the debian package repository.
621 executable = os_dep.command('apt-get')
622 self.base_command = executable + ' -y'
624 self.apt_version = utils.system_output('apt-get -v | head -1',
653 flag = '--purge'
720 if not self.check_installed('apt-file'):
721 self.install('apt-file')
722 command = os_dep.command('apt-file')
755 "usage: %prog [install|remove|list-all|list-files|add-repo|remove-repo|"
756 "upgrade|what-provides|install-what-provides] arguments")
757 parser.add_option('--verbose', dest="debug", action='store_true',
769 action = 'show-help'
775 if action == 'list-all':
777 elif action == 'list-files':
779 elif action == 'add-repo':
781 elif action == 'remove-repo':
785 elif action == 'what-provides':
787 elif action == 'install-what-provides':
789 elif action == 'show-help':