Merge lp:~evarlast/software-properties/support-update into lp:software-properties
Proposed by
Jay R. Wren
on 2015-05-30
| Status: | Merged |
|---|---|
| Merged at revision: | 932 |
| Proposed branch: | lp:~evarlast/software-properties/support-update |
| Merge into: | lp:software-properties |
| Diff against target: |
35 lines (+8/-1) 2 files modified
add-apt-repository (+4/-1) softwareproperties/SoftwareProperties.py (+4/-0) |
| To merge this branch: | bzr merge lp:~evarlast/software-properties/support-update |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | 2015-05-30 | Approve on 2015-06-02 | |
|
Review via email:
|
|||
Description of the Change
Add the -u, --update option to add-apt-repository to automatically update the apt cache.
By using apt.cache.
apt-get update -o Dir::Etc:
-o Dir::Etc:
The benefit is that using -u is faster (potentially MUCH faster) than downloading and building package cache for all sources.
To post a comment you must log in.

I like that, thanks a lot!