Detect internet connection before downloading changelog

Bug #19372 reported by Wouter Stomp
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

When new packages are already on the system, but not installed yet, and you go
to the update-notifier and click on details, it will try to download the
changelog from the internet. When no internet connection is present it will try
for a while and then give an error message telling you it could be a problem
with your internet connection. Wouldn't it be smarter to first look for an
internet connection before trying to download anything?

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Yes, it should be smarter. Unfortunately it's not easy to detect if a connection
is there or not. It may just be slow or the server that is used to see if the
connection is avialable may be down. In the future NetworkManager is supposed to
have the functionality to show if a connection is available or not.
update-notifier will then use that.

Cheers,
 Michael

Michael Vogt (mvo)
Changed in update-manager:
assignee: mvo → nobody
Ralph Janke (txwikinger)
Changed in update-manager:
status: Confirmed → Triaged
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Almost fixed. Update-manager now seems to do this, it tells you it couldn't download the changelog and check your internet connection. But if it tried once and it couldn't download the changelog and then you do check you connection and fix it, it won't look for the changes in the packages you already viewed again.

Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.146.2

---------------
update-manager (1:0.146.2) natty; urgency=low

  [ Michael Vogt ]
  * data/glade/UpdateManager.ui, UpdateManager/UpdateManager.py:
    - improve wording of roaming warning, thanks to Alex Chiang
    - make the roaming warning label wrap
  * UpdateManager/UpdateManager.py:
    - fix crash in _get_last_apt_get_update_text (LP: #712346)
    - do not try to download changelogs if NM reports we are
      disconnected (LP: #19372)

  [ Julian Taylor ]
  * use dh_installman to install manpages
  * move do-release-upgrade manpage to update-manager-core (LP: #695186)

  [ Martin Pitt ]
  * debian/control: Update Breaks:/Conflicts: for the moved manpage.
 -- Michael Vogt <email address hidden> Wed, 09 Mar 2011 10:25:11 +0100

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.