diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-15 12:00:11 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-15 12:00:11 +0100 |
| commit | 893c7f4b28d7b297e12d046491c2a57272bd01a2 (patch) | |
| tree | f1af0a8062282d0815f18fab1e5045b2e754a9f0 /DistUpgrade | |
| parent | bf08fb6d05ca078c653a3be6c978d1d221febf1c (diff) | |
| download | python-apt-893c7f4b28d7b297e12d046491c2a57272bd01a2.tar.gz | |
* use --force-overwrite in the gui
Diffstat (limited to 'DistUpgrade')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 2 |
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 |
