Fix interactivity in aptpkg
Simple copies
Add ret dictionary
Merge pull request #16361 from rallytime/bp-15584

Backport #15584 to 2014.7