summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-15 12:00:11 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-15 12:00:11 +0100
commit893c7f4b28d7b297e12d046491c2a57272bd01a2 (patch)
treef1af0a8062282d0815f18fab1e5045b2e754a9f0 /DistUpgrade
parentbf08fb6d05ca078c653a3be6c978d1d221febf1c (diff)
downloadpython-apt-893c7f4b28d7b297e12d046491c2a57272bd01a2.tar.gz
* use --force-overwrite in the gui
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index 6013200b..014efbd5 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -123,6 +123,8 @@ class GtkInstallProgressAdapter(InstallProgress):
# setup the child waiting
reaper = vte.reaper_get()
reaper.connect("child-exited", self.child_exited)
+ # some options for dpkg to make it die less easily
+ apt_pkg.Config.Set("DPkg::Options::","--force-overwrite")
def startUpdate(self):
self.finished = False
# FIXME: add support for the timeout