Merge lp://staging/~bjornt/charms/precise/landscape-client/apt-retry into lp://staging/charms/landscape-client
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Approved by: | Björn Tillenius |
Approved revision: | 39 |
Merged at revision: | 38 |
Proposed branch: | lp://staging/~bjornt/charms/precise/landscape-client/apt-retry |
Merge into: | lp://staging/charms/landscape-client |
Diff against target: |
34 lines (+23/-3) 1 file modified
hooks/install (+23/-3) |
To merge this branch: | bzr merge lp://staging/~bjornt/charms/precise/landscape-client/apt-retry |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Glass | Approve | ||
David Britton | Approve | ||
Review via email:
|
Commit message
Retry apt-get if the lock can't be aquired. If we get an error from
apt-get we'll retry for 5 minutes.
Currently the code retries on any error, since I couldn't see an
easy way of checking for locking errors only.
Description of the change
Retry apt-get if the lock can't be aquired. If we get an error from
apt-get we'll retry for 5 minutes.
Currently the code retries on any error, since I couldn't see an
easy way of checking for locking errors only.
To post a comment you must log in.
[0] "...retry command for 30 attempts (~ 5 minutes)"