示例#1
0
文件: debian.py 项目: vladimir555/pkg
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
文件: sunos.py 项目: vladimir555/pkg
def executeUpgrade():
    shell.executeCommand('pkg update')
示例#6
0
文件: sunos.py 项目: vladimir555/pkg
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
文件: debian.py 项目: vladimir555/pkg
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
文件: debian.py 项目: vladimir555/pkg
def executeFindByName(name):
    shell.executeCommand('apt-cache search --names-only ' + name)
示例#21
0
文件: sunos.py 项目: vladimir555/pkg
def executeFindByName(name):
    shell.executeCommand('pkg search ' + name)
示例#22
0
文件: debian.py 项目: vladimir555/pkg
def executeFindByInfo(info_string):
    shell.executeCommand('apt-cache search ' + info_string)
示例#23
0
文件: sunos.py 项目: vladimir555/pkg
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
文件: debian.py 项目: vladimir555/pkg
def executeFindByFile(file_name):
    shell.executeCommand('apt-file search ' + file_name)
示例#25
0
文件: sunos.py 项目: vladimir555/pkg
def executeInstall(pkg_name):
    shell.executeCommand('pkg install ' + pkg_name)
示例#26
0
文件: debian.py 项目: vladimir555/pkg
def executeInfo(pkg_name):
    shell.executeCommand('apt-cache show ' + pkg_name)
示例#27
0
def executeFindByName(name):
    shell.executeCommand('urpmq --fuzzy ' + name)
示例#28
0
文件: debian.py 项目: vladimir555/pkg
def executeUpgrade():
    shell.executeCommand('apt-get update')
    shell.executeCommand('apt-get upgrade')
示例#29
0
def executeCheck():
    shell.executeCommand('rpm --verify -a')
示例#30
0
文件: debian.py 项目: vladimir555/pkg
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
文件: debian.py 项目: vladimir555/pkg
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
文件: sunos.py 项目: vladimir555/pkg
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')