Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion aptkit/simpleclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ def install_packages(self, packages, use_apt_resolver=True):
changes = cache.get_changes()
for pkg in changes:
if pkg.marked_install and pkg.name not in packages:
packages.append(pkg.name)
# see aptworker.py: _mark_packages_for_installation() - #auto suffix
# marks this extra package as auto-installed even though we've explicitly
# added it here.
packages.append(pkg.name + "#auto")

client = aptkit.client.AptClient()
client.install_packages(packages, reply_handler=self._simulate_trans, error_handler=self._on_error)
Expand Down