소스 검색

force apt-get to always use distributor versions when distributor has changed package contents

marko asplund 11 년 전
부모
커밋
81a3fedae3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      toolset/setup/linux/prerequisites.sh

+ 1 - 1
toolset/setup/linux/prerequisites.sh

@@ -12,7 +12,7 @@ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
 echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
 
 sudo apt-get -y update
-sudo apt-get -y upgrade
+sudo apt-get -y -o Dpkg::Options::="--force-confnew" upgrade
 
 # WARNING: DONT PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
 sudo apt-get -y install \