summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-06-22 00:45:02 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-06-22 00:45:02 +0000
commita930a955564836408f4c430053cb88b2bad12729 (patch)
tree493a034806eedc101bf82c5214eef6bd294c8349 /src/lib/Client
parent4e4577cdd742724210bba22bc6a1a6e55c4a7c88 (diff)
downloadbcfg2-a930a955564836408f4c430053cb88b2bad12729.tar.gz
bcfg2-a930a955564836408f4c430053cb88b2bad12729.tar.bz2
bcfg2-a930a955564836408f4c430053cb88b2bad12729.zip
add more non-interactive options for APT
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4704 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index e6e952bfc..05d24d862 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -18,7 +18,7 @@ class APT(Bcfg2.Client.Tools.PkgTool):
__handles__ = [('Package', 'deb')]
__req__ = {'Package': ['name', 'version']}
pkgtype = 'deb'
- pkgtool = ('apt-get --reinstall -q=2 --force-yes -y install %s',
+ pkgtool = ('apt-get --reinstall -q=2 -o DPkg::Options="--force-overwrite --force-confold" --force-yes -y install %s',
('%s=%s', ['name', 'version']))
svcre = re.compile("/etc/.*/[SK]\d\d(?P<name>\S+)")