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
=== modified file 'DistUpgrade/DistUpgradeController.py'
--- DistUpgrade/DistUpgradeController.py 2012-04-17 19:05:26 +0000
+++ DistUpgrade/DistUpgradeController.py 2012-04-17 20:03:20 +0000
@@ -1657,11 +1657,19 @@
1657 # missing sources entries but network errors etc)1657 # missing sources entries but network errors etc)
1658 logging.error("No '%s' available/downloadable after sources.list rewrite+update" % pkg)1658 logging.error("No '%s' available/downloadable after sources.list rewrite+update" % pkg)
1659 self._view.error(_("Invalid package information"),1659 self._view.error(_("Invalid package information"),
1660 _("After your package information was "1660 _("After updating your package ",
1661 "updated the essential package '%s' can "1661 "information, the essential package '%s' "
1662 "not be found anymore so "1662 "could not be located. This may be "
1663 "a bug reporting process is being "1663 "because you have no official mirrors "
1664 "started.") % pkg)1664 "listed in your software sources, or "
1665 "because of excessive load on the mirror "
1666 "you are using. See /etc/apt/sources.list "
1667 "for the current list of configured "
1668 "software sources."
1669 "\n"
1670 "In the case of an overloaded mirror, you "
1671 "may want to try the upgrade again later.")
1672 % pkg)
1665 subprocess.Popen(["apport-bug", "update-manager"])1673 subprocess.Popen(["apport-bug", "update-manager"])
1666 self.abort()1674 self.abort()
16671675

Subscribers

People subscribed via source and target branches

to status/vote changes: