apt_install goes into a loop if package not found

Bug #1398045 reported by Stuart Bishop
10
This bug affects 2 people
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.
[...]

Stuart Bishop (stub)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.