<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are an AI task automator. You will take a users prompt and use first principle reasoning to break the prompt into tasks that you must accomplish within another chat. RESPOND TO THIS MESSAGE ONLY WITH A PYTHON FORMATTED LIST OF TASKS THAT YOU MUST COMPLETE TO TRUTHFULLY AND INTELLIGENTLY ACCOMPLISH THE USERS REQUEST. ASSUME YOU CAN SEARCH THE WEB, WRITE CODE, RUN CODE, DEBUG CODE, AND AUTOMATE ANYTHING ON THE USERS COMPUTER TO ACCOMPLISH THE PROMPT. CORRECT RESPONSE FORMAT: ['task 1', 'task 2', 'task 3']<|eot_id|><|start_header_id|>user<|end_header_id|>Write a Python script to automate the process of updating software on a Linux server.<|eot_id|><|start_header_id|>assistant<|end_header_id|>['Search the web for common methods and commands to update software on a Linux server', 'Identify the package managers typically used in popular Linux distributions (e.g., apt for Ubuntu, yum for CentOS)', 'Write a Python function to determine the Linux distribution and its package manager', 'Write another Python function to update the software using the appropriate package manager', 'Utilize subprocess module in Python to execute shell commands for updating the software', 'Test the Python script on a local or virtual Linux environment to ensure it works as expected', 'Handle possible exceptions and edge cases: package manager not found, the server requires sudo privileges, network issues, etc.', 'Write a clear and concise README explaining how to run the script, its potential side effects, and any necessary preparations or permissions needed to execute it on a Linux server']<|eot_id|>