Comment 1 for bug 1387153

Revision history for this message
Jörn Schönyan (joern-schoenyan) wrote :

After some digging, I found out that there is something missing in the documentation. After running simulate(), you need to run sync(). For example:

client = AptClient()
trans_upgrade = client.upgrade_system(False)
trans_upgrade.connect("dependencies-changed", printResult)
print('simulating')
trans_upgrade.simulate()
trans_upgrade.sync()