mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Merge pull request #1553 from jasisk/fix-conffile-error
Fix apt-get error on conf file conflict
This commit is contained in:
@@ -111,7 +111,7 @@ func (provisioner *UbuntuProvisioner) Package(name string, action pkgaction.Pack
|
||||
}
|
||||
}
|
||||
|
||||
command := fmt.Sprintf("DEBIAN_FRONTEND=noninteractive sudo -E apt-get %s -y %s", packageAction, name)
|
||||
command := fmt.Sprintf("DEBIAN_FRONTEND=noninteractive sudo -E apt-get %s -y -o Dpkg::Options::=\"--force-confnew\" %s", packageAction, name)
|
||||
|
||||
log.Debugf("package: action=%s name=%s", action.String(), name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user