def os_packages(metadata):
family = metadata[<NUM_LIT:0>]<EOL>release = metadata[<NUM_LIT:1>]<EOL>if '<STR_LIT>' in family and release != '<STR_LIT:2>':<EOL><INDENT>stdout_message('<STR_LIT>')<EOL>commands = [<EOL>'<STR_LIT>', '<STR_LIT>'<EOL>]<EOL>for cmd in commands:<EOL><INDENT>stdout_message(subprocess.getoutput(cmd))<EOL><DEDENT>return True<EOL><DEDENT>elif '<STR_LIT>' in family and release == '<STR_LIT:2>':<EOL><INDENT>stdout_message('<STR_LIT>')<EOL>commands = [<EOL>'<STR_LIT>', '<STR_LIT>'<EOL>]<EOL>for cmd in commands:<EOL><INDENT>stdout_message(subprocess.getoutput(cmd))<EOL><DEDENT>return True<EOL><DEDENT>elif '<STR_LIT>' in family:<EOL><INDENT>stdout_message('<STR_LIT>')<EOL>commands = [<EOL>'<STR_LIT>', '<STR_LIT>'<EOL>]<EOL>for cmd in commands:<EOL><INDENT>stdout_message(subprocess.getoutput(cmd))<EOL><DEDENT><DEDENT>elif '<STR_LIT>' or '<STR_LIT>' in family:<EOL><INDENT>stdout_message('<STR_LIT>')<EOL>commands = [<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>'<EOL>]<EOL>for cmd in commands:<EOL><INDENT>stdout_message(subprocess.getoutput(cmd))<EOL><DEDENT>return True<EOL><DEDENT>return False<EOL>
Installs operating system dependent packages