Example #1
0
	def update(self):
		SyncPkg.update(self)
		
		# yum has no 'update' command, but will fetch a new database
		# next time when it has no metadata
		
		synctool_lib.shell_command('yum -y clean headers')
		synctool_lib.shell_command('yum -y clean metadata')
Example #2
0
	def update(self):
		SyncPkg.update(self)
		
		os.putenv('DEBIAN_FRONTEND', 'noninteractive')
		synctool_lib.shell_command('apt-get update')
Example #3
0
	def update(self):
		SyncPkg.update(self)
		
		synctool_lib.shell_command('brew update')
Example #4
0
    def update(self):
        SyncPkg.update(self)

        synctool_lib.shell_command("pacman -Sy --noconfirm")
Example #5
0
	def update(self):
		SyncPkg.update(self)
		
		synctool_lib.shell_command('zypper --non-interactive refresh')
Example #6
0
	def update(self):
		SyncPkg.update(self)
Example #7
0
    def update(self):
        SyncPkg.update(self)

        os.putenv("DEBIAN_FRONTEND", "noninteractive")
        synctool_lib.shell_command("apt-get update")