Merge lp:~barry/update-manager/bug-873468 into lp:update-manager

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 2388
Proposed branch: lp:~barry/update-manager/bug-873468
Merge into: lp:update-manager
Diff against target: 27 lines (+13/-5)
1 file modified
DistUpgrade/DistUpgradeController.py (+13/-5)
To merge this branch: bzr merge lp:~barry/update-manager/bug-873468
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+102378@code.launchpad.net

Description of the change

Improves on the error text when a package is subsequently unavailable.

To post a comment you must log in.
lp:~barry/update-manager/bug-873468 updated
2380. By Barry Warsaw

trunk merge

2381. By Barry Warsaw

revert d/changelog

2382. By Barry Warsaw

slight rewording

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'DistUpgrade/DistUpgradeController.py'
2--- DistUpgrade/DistUpgradeController.py 2012-04-17 19:05:26 +0000
3+++ DistUpgrade/DistUpgradeController.py 2012-04-17 20:03:20 +0000
4@@ -1657,11 +1657,19 @@
5 # missing sources entries but network errors etc)
6 logging.error("No '%s' available/downloadable after sources.list rewrite+update" % pkg)
7 self._view.error(_("Invalid package information"),
8- _("After your package information was "
9- "updated the essential package '%s' can "
10- "not be found anymore so "
11- "a bug reporting process is being "
12- "started.") % pkg)
13+ _("After updating your package ",
14+ "information, the essential package '%s' "
15+ "could not be located. This may be "
16+ "because you have no official mirrors "
17+ "listed in your software sources, or "
18+ "because of excessive load on the mirror "
19+ "you are using. See /etc/apt/sources.list "
20+ "for the current list of configured "
21+ "software sources."
22+ "\n"
23+ "In the case of an overloaded mirror, you "
24+ "may want to try the upgrade again later.")
25+ % pkg)
26 subprocess.Popen(["apport-bug", "update-manager"])
27 self.abort()
28

Subscribers

People subscribed via source and target branches

to status/vote changes: