← Back to team overview

desktop-packages team mailing list archive

[Bug 860137] [NEW] Regression: Package download error fails silently

 

Public bug reported:

Software Center version 4.1.23.5, Ubuntu Oneiric

If an error occurs during the download of a package during an install,
the installation simply fails silently with no notice to the user of the
problem. In the previous gtk2-based UI, we displayed an error dialog in
this case. We just need to restore the dialog as it was displayed in the
previous UI. All translatable strings, etc. are already in place for
this.

Note that the error case is reported in the log output as before. It's
only the dialog itself that is missing:

2011-09-26 19:25:13,877 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Failed to download package files
Check your Internet connection.

Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gimp/gimp_2.6.11-2ubuntu3_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (91.189.92.169). - connect (101: Network is unreachable) [IP: 91.189.92.169 80]
'

** Affects: software-center (Ubuntu)
     Importance: Medium
     Assignee: Gary Lasker (gary-lasker)
         Status: Fix Committed

** Changed in: software-center (Ubuntu)
       Status: New => In Progress

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

** Changed in: software-center (Ubuntu)
     Assignee: (unassigned) => Gary Lasker (gary-lasker)

** Description changed:

  Software Center version 4.1.23.5, Ubuntu Oneiric
  
  If an error occurs during the download of a package during an install,
  the installation simply fails silently with no notice to the user of the
  problem. In the previous gtk2-based UI, we displayed an error dialog in
  this case. We just need to restore the dialog as it was displayed in the
  previous UI. All translatable strings, etc. are already in place for
  this.
+ 
+ Note that the error case is reported in the log output as before. It's
+ only the dialog itself that is missing:
+ 
+ 2011-09-26 19:25:13,877 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Failed to download package files
+ Check your Internet connection.
+ 
+ Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gimp/gimp_2.6.11-2ubuntu3_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (91.189.92.169). - connect (101: Network is unreachable) [IP: 91.189.92.169 80]
+ '

** Branch linked: lp:~gary-lasker/software-center/unicode-fixes

** Changed in: software-center (Ubuntu)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/860137

Title:
  Regression: Package download error fails silently

Status in “software-center” package in Ubuntu:
  Fix Committed

Bug description:
  Software Center version 4.1.23.5, Ubuntu Oneiric

  If an error occurs during the download of a package during an install,
  the installation simply fails silently with no notice to the user of
  the problem. In the previous gtk2-based UI, we displayed an error
  dialog in this case. We just need to restore the dialog as it was
  displayed in the previous UI. All translatable strings, etc. are
  already in place for this.

  Note that the error case is reported in the log output as before. It's
  only the dialog itself that is missing:

  2011-09-26 19:25:13,877 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Failed to download package files
  Check your Internet connection.

  Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gimp/gimp_2.6.11-2ubuntu3_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (91.189.92.169). - connect (101: Network is unreachable) [IP: 91.189.92.169 80]
  '

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/860137/+subscriptions


Follow ups

References