[Bug 451366] Re: 404 from the archive is not handled well
Matthew Paul Thomas
mpt at canonical.com
Tue May 8 23:42:52 UTC 2012
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
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