Browse Source

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

marko asplund 11 years ago
parent
commit
81a3fedae3
1 changed files with 1 additions and 1 deletions
  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 \