prevent 'not found' while update packages