summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index 7fd39a32..9bd55d24 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -124,6 +124,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