def executeContent(pkg_name): shell.executeCommand('apt-file show ' + pkg_name) # def executeFix(): # apt-get install --reinstall packagename #def executeLocalize(language_name): # executeInstall('language-selector-common') # shell.executeCommand('check-language-support --language=' + language_name)
def executeContent(pkg_name): shell.executeCommand('rpm -ql ' + pkg_name)
def executeFindByFile(file_name): shell.executeCommand('urpmf ' + file_name)
def executeRemove(pkg_name): shell.executeCommand('urpme --auto-orphans ' + pkg_name)
def executeUpgrade(): shell.executeCommand('pkg update')
def executeFix(name): shell.executeCommand('pkg fix')
def executeFindByName(name): shell.executeCommand('apt-cache search --names-only ' + name)
def executeInstall(pkg_name): shell.executeCommand('apt-get install ' + pkg_name)
def executeContent(pkg_name): shell.executeCommand('apt-file show ' + pkg_name)
def executeCheck(): shell.executeCommand('apt-get check') shell.executeCommand('debsums | grep -v " OK"')
def executeUpgrade(): shell.executeCommand('apt-get update') shell.executeCommand('apt-get upgrade')
def executeInfo(pkg_name): shell.executeCommand('apt-cache show ' + pkg_name)
def executeFindByFile(file_name): shell.executeCommand('apt-file search ' + file_name)
def executeFindByInfo(info_string): shell.executeCommand('apt-cache search ' + info_string)
def executeInfo(pkg_name): shell.executeCommand('urpmq -i ' + pkg_name)
def executeRemove(pkg_name): shell.executeCommand('pkg uninstall ' + pkg_name)
def executeRemove(pkg_name): shell.executeCommand('apt-get remove ' + pkg_name) shell.executeCommand('apt-get autoremove')
def executeFindByName(name): shell.executeCommand('pkg search ' + name)
def executeLocalize(language__name): shell.executeCommand('pkg change-facet facet.locale.' + language_name + '=True') shell.executeCommand('pkg change-facet facet.locale.' + language_name + '_' + language_name.upper() + '=True')
def executeInstall(pkg_name): shell.executeCommand('pkg install ' + pkg_name)
def executeFindByName(name): shell.executeCommand('urpmq --fuzzy ' + name)
def executeCheck(): shell.executeCommand('rpm --verify -a')
def executeUpgrade(): shell.executeCommand('urpmi --replacefiles --auto-update --auto')
def executeInstall(pkg_name): shell.executeCommand('urpmi ' + pkg_name)
def executeInfo(pkg_name): shell.executeCommand('brew info ' + pkg_name)
def executeUpgrade(): shell.executeCommand('brew update') shell.executeCommand('brew upgrade')