DefaultAptSources
1111
Comment: cat spec
|
1705
details for the implementation.
|
Deletions are marked like this. | Additions are marked like this. |
Line 22: | Line 22: |
Hide the warning/error when no network source information is available by default . | Hide the warning/error when no network source information is available by default. |
Line 26: | Line 26: |
The current implementation in the michael.vogt@ubuntu.com--2005/apt--ubuntu--0 branch works as followed. The methods backend will report a optional "FailReason" to the acquire code. On a "Timeout", "TmpResolveFailure" and "ConnectionRefused" it is assumed that the network is not available for this source and the attempt to fetch it will be canceld. The old signature and indexfiles for this source will be used and a waring (instead of a error) is issued. The list cleaner for /var/lib/apt/lists will not run when a apt-get update wasn't successful. |
|
Line 28: | Line 30: |
=== Data preservation and migration === | The code is available in the michael.vogt@ubuntu.com--2005/apt--ubuntu--0 branch. The coresponding changes are done in synaptic as well. |
Line 30: | Line 32: |
== Outstanding issues == | |
Line 32: | Line 33: |
== BoF agenda and discussion == |
Launchpad Entry: https://launchpad.net/distros/ubuntu/+spec/default-apt-sources
Created: Date(2005-10-19T22:06:24Z) by MattZimmerman
Contributors: MattZimmerman
Packages affected: apt, synaptic, aptitude
Summary
Improve the handling for apt when it comes to network sources.
Rationale
As of Ubuntu 5.10, the default sources.list is dynamically generated based on (among other information) whether a network connection was available during the installation of the system. In order to be more consistent in the face of changing hardware (and changing support for hardware), it would be preferable if the network sources were always available, regardless of network availability during installation.
Use cases
Scope
Design
Hide the warning/error when no network source information is available by default.
Implementation
The current implementation in the michael.vogt@ubuntu.com--2005/apt--ubuntu--0 branch works as followed. The methods backend will report a optional "FailReason" to the acquire code. On a "Timeout", "TmpResolveFailure" and "ConnectionRefused" it is assumed that the network is not available for this source and the attempt to fetch it will be canceld. The old signature and indexfiles for this source will be used and a waring (instead of a error) is issued. The list cleaner for /var/lib/apt/lists will not run when a apt-get update wasn't successful.
Code
The code is available in the michael.vogt@ubuntu.com--2005/apt--ubuntu--0 branch. The coresponding changes are done in synaptic as well.
DefaultAptSources (last edited 2008-08-06 16:32:36 by localhost)