瀏覽代碼

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 \