Am Dienstag, den 08.05.2012, 23:42 +0000 schrieb Matthew Paul Thomas: > 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.
I am not sure where to place all this logic. Perhaps we need some kind of high level client / error handler in aptdaemon or move those bits into software-center, but this would make sharing with update-manager or any other client harder. The tough challenge is to integrate the problem notification dialog and the resolution confirmation dialog into one single dialog. I will think about it and talk to mvo. -- 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
