[Bug 451366] Re: 404 from the archive is not handled well
Sebastian Heinlein
451366 at bugs.launchpad.net
Thu Jun 14 09:02:47 UTC 2012
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
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/451366
Title:
404 from the archive is not handled well
Status in Aptdaemon:
In Progress
Status in “aptdaemon” package in Ubuntu:
Triaged
Status in “software-center” package in Ubuntu:
Triaged
Status in “aptdaemon” package in Debian:
New
Bug description:
Binary package hint: software-center
When trying to install Pingus from the Ubuntu Software Center It
downloads to 50% and then gives the following error message:
Failed to download package files
Check your internet connection.
Details
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/b/boost1.38/libboost-signals1.38.0_1.38.0-6ubuntu5_i386.deb 404 Not Found [IP: 91.189.88.31 80]
My internet is working and I have downloaded and installed other
software succesfully from the software center.
ProblemType: Bug
Architecture: i386
Date: Wed Oct 14 08:20:35 2009
DistroRelease: Ubuntu 9.10
Package: software-center 0.4.6
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.39-generic
SourcePackage: software-center
Tags: ubuntu-unr
Uname: Linux 2.6.31-12-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/451366/+subscriptions
More information about the foundations-bugs
mailing list