Example #1
0
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)
    
Example #2
0
def executeContent(pkg_name):
    shell.executeCommand('rpm -ql ' + pkg_name)
Example #3
0
def executeFindByFile(file_name):
    shell.executeCommand('urpmf ' + file_name)
Example #4
0
def executeRemove(pkg_name):
    shell.executeCommand('urpme --auto-orphans ' + pkg_name)
Example #5
0
def executeUpgrade():
    shell.executeCommand('pkg update')
Example #6
0
def executeFix(name):
    shell.executeCommand('pkg fix')
Example #7
0
def executeFindByName(name):
    shell.executeCommand('apt-cache search --names-only ' + name)
Example #8
0
def executeFix(name):
    shell.executeCommand('pkg fix')
Example #9
0
def executeInstall(pkg_name):
    shell.executeCommand('apt-get install ' + pkg_name)
Example #10
0
def executeContent(pkg_name):
    shell.executeCommand('apt-file show ' + pkg_name)
Example #11
0
def executeCheck():
    shell.executeCommand('apt-get check')
    shell.executeCommand('debsums | grep -v " OK"')
Example #12
0
def executeUpgrade():
    shell.executeCommand('apt-get update')
    shell.executeCommand('apt-get upgrade')
Example #13
0
def executeInfo(pkg_name):
    shell.executeCommand('apt-cache show ' + pkg_name)
Example #14
0
def executeFindByFile(file_name):
    shell.executeCommand('apt-file search ' + file_name)
Example #15
0
def executeFindByInfo(info_string):
    shell.executeCommand('apt-cache search ' + info_string)
Example #16
0
def executeInfo(pkg_name):
    shell.executeCommand('urpmq -i ' + pkg_name)
Example #17
0
def executeRemove(pkg_name):
    shell.executeCommand('pkg uninstall ' + pkg_name)
Example #18
0
def executeRemove(pkg_name):
    shell.executeCommand('apt-get remove ' + pkg_name)
    shell.executeCommand('apt-get autoremove')
Example #19
0
def executeUpgrade():
    shell.executeCommand('pkg update')
Example #20
0
def executeFindByName(name):
    shell.executeCommand('apt-cache search --names-only ' + name)
Example #21
0
def executeFindByName(name):
    shell.executeCommand('pkg search ' + name)
Example #22
0
def executeFindByInfo(info_string):
    shell.executeCommand('apt-cache search ' + info_string)
Example #23
0
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')
Example #24
0
def executeFindByFile(file_name):
    shell.executeCommand('apt-file search ' + file_name)
Example #25
0
def executeInstall(pkg_name):
    shell.executeCommand('pkg install ' + pkg_name)
Example #26
0
def executeInfo(pkg_name):
    shell.executeCommand('apt-cache show ' + pkg_name)
Example #27
0
def executeFindByName(name):
    shell.executeCommand('urpmq --fuzzy ' + name)
Example #28
0
def executeUpgrade():
    shell.executeCommand('apt-get update')
    shell.executeCommand('apt-get upgrade')
Example #29
0
def executeCheck():
    shell.executeCommand('rpm --verify -a')
Example #30
0
def executeCheck():
    shell.executeCommand('apt-get check')
    shell.executeCommand('debsums | grep -v " OK"')
Example #31
0
def executeUpgrade():
    shell.executeCommand('urpmi --replacefiles --auto-update --auto')
Example #32
0
def executeInstall(pkg_name):
    shell.executeCommand('apt-get install ' + pkg_name)
Example #33
0
def executeInstall(pkg_name):
    shell.executeCommand('urpmi ' + pkg_name)
Example #34
0
def executeInfo(pkg_name):
    shell.executeCommand('brew info ' + pkg_name)
Example #35
0
def executeFindByName(name):
    shell.executeCommand('pkg search ' + name)
Example #36
0
def executeUpgrade():
    shell.executeCommand('brew update')
    shell.executeCommand('brew upgrade')
Example #37
0
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')
Example #38
0
def executeRemove(pkg_name):
    shell.executeCommand('pkg uninstall ' + pkg_name)
Example #39
0
def executeInstall(pkg_name):
    shell.executeCommand('pkg install ' + pkg_name)
Example #40
0
def executeRemove(pkg_name):
    shell.executeCommand('apt-get remove ' + pkg_name)
    shell.executeCommand('apt-get autoremove')