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