Lines Matching refs:package
176 def info(package): argument
195 if not os.path.isfile(package):
196 raise ValueError('invalid file %s to verify' % package)
198 file_result = utils.system_output('file ' + package)
208 return _rpm_info(package)
210 return _dpkg_info(package)
217 def install(package, nodeps = False): argument
223 my_package_info = info(package)
231 % (type, package))
238 install_command = 'rpm %s -U %s' % (opt_args, package)
242 install_command = 'dpkg %s -i %s' % (opt_args, package)
247 return 'Package %s is already installed' % package
253 return 'Package %s was installed successfuly' % package
256 def convert(package, destination_format): argument
273 % package)
278 % package)
285 (os.path.basename(package), os.path.basename(converted_package))