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