update package list and disable swap