I've written up a first draft of a solution to this.
<https://wiki.ubuntu.com/SoftwarePackageOperations#download-failed> In
brief, when a download fails: First check whether there's an Internet
connection, and complain about that if necessary. Second, try
downloading the package list again, and if that fails, complain that the
software channel is not available. But if it succeeds and the URL has
changed, try downloading the file again, and if that fails, complain
specifically that the file is missing.

Sebastian, does that make sense? The design assumes that the errors will
be presented by Aptdaemon, not by USC. That cuts out two layers from the
software stack, making it a little more likely that we might be able to
get even smarter (e.g. distinguishing between 403 and 404 errors) in
future.

** Changed in: aptdaemon (Ubuntu)
       Status: In Progress => Triaged

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

** Changed in: aptdaemon (Ubuntu)
     Assignee: Matthew Paul Thomas (mpt) => (unassigned)

** Changed in: software-center (Ubuntu)
     Assignee: Matthew Paul Thomas (mpt) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/451366

Title:
  404 from the archive is not handled well

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/451366/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to