adam's patch for fixing error on apt-get installing