Update package list
Unified script with os sniffing