use offline pkg cache if no net connection