summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
authorglatzor@ubuntu.com <>2006-09-11 16:04:40 +0200
committerglatzor@ubuntu.com <>2006-09-11 16:04:40 +0200
commitd37a18474fd00a9cb3e57f13517628095c15bba7 (patch)
treeb99fa180e0c0d9eea4f7a8ef1d7264ca42a87dfb /DistUpgrade/DistUpgradeControler.py
parentbacc395f5e0e9ae48883d4cdd1258f98ee6d9b21 (diff)
downloadpython-apt-d37a18474fd00a9cb3e57f13517628095c15bba7.tar.gz
* improve wording of some dialogs: no-longer-supported,
no-upgrades-avaiable and replace-conf-file * introduce an abort method for the view to provide a visual feedback that the upgrade was canceled
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
-rw-r--r--DistUpgrade/DistUpgradeControler.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index 02d25121..800590cb 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -485,15 +485,15 @@ class DistUpgradeControler(object):
demoted = [pkg.name for pkg in installed_demotions]
demoted.sort()
logging.debug("demoted: '%s'" % " ".join(demoted))
- self._view.information(_("Some software no longer officially "
- "supported"),
- _("These installed packages are "
- "no longer officially supported, "
- "and are now only "
- "community-supported ('universe').\n\n"
- "If you don't have 'universe' enabled "
+ self._view.information(_("Support for some applications ended"),
+ _("Canonical Ltd. no longer provides "
+ "support for the following software "
+ "packages. You can still get support "
+ "from the community.\n\n"
+ "If you havn't enabled community "
+ "maintained software (universe), "
"these packages will be suggested for "
- "removal in the next step. "),
+ "removal in the next step."),
"\n".join(demoted))
# mark packages that are now obsolete (and where not obsolete
@@ -544,6 +544,7 @@ class DistUpgradeControler(object):
self.aptcdrom.restoreBackup(self.sources_backup_ext)
# generate a new cache
self._view.updateStatus(_("Restoring original system state"))
+ self._view.abort()
self.openCache()
sys.exit(1)