apt_install goes into a loop if package not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
If you call apt_install specifying a package that does not exist in the current sources, it goes into a fail loop until manually terminated.
[...]
2014-12-01 15:27:44 INFO install Reading package lists...
2014-12-01 15:27:44 INFO install Building dependency tree...
2014-12-01 15:27:44 INFO install Reading state information...
2014-12-01 15:27:44 INFO install E: Unable to locate package dse-full
2014-12-01 15:27:44 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds.
2014-12-01 15:27:54 INFO install Reading package lists...
2014-12-01 15:27:54 INFO install Building dependency tree...
2014-12-01 15:27:54 INFO install Reading state information...
2014-12-01 15:27:54 INFO install E: Unable to locate package dse-full
2014-12-01 15:27:54 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds.
[...]
summary: |
- apt_install goes into a loop if a package cannot be found + apt_install goes into a loop if invalid sources |
summary: |
- apt_install goes into a loop if invalid sources + apt_install goes into a loop if package not found |