- Wait for apt to be available - Check for Wget and install it if not found - Fallback to cURL if Wget fails - Cleanup