Check network connection before updating pkg dbs and optimize for Nvidia