diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-21 12:23:22 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-21 12:23:22 +0000 |
commit | 47eb38f452c7477aab782dce56e85a0a85e22764 (patch) | |
tree | f210704682e5e817efa5d9707a84af8dd793a7ff /cmdline/apt-get.cc | |
parent | a4977aac2bc7999f805550e3bcd5fe49958fe128 (diff) |
* handle network failures more gracefully (default apt sources spec)
apt-pkg/acquire-item.cc:
- on network failures (Timeout,ResolveFailure,ConnectionRefused) move the
old (known good) sigfile back and don't touch the indexfiles
cmdline/apt-get.cc:
- don't fail on apt-get update problems but issue a warning instead
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 92051f8ff..99a51c9b8 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1381,7 +1381,7 @@ bool DoUpdate(CommandLine &CmdL) return false; if (Failed == true) - return _error->Warning(_("Some index files failed to download, they have been ignored, or old ones used instead.")); + _error->Warning(_("Some index files failed to download, they have been ignored, or old ones used instead.")); return true; } |