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()
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() upgrade_ system( False) connect( "dependencies- changed" , printResult) simulate( ) sync()
trans_upgrade = client.
trans_upgrade.
print('simulating')
trans_upgrade.
trans_upgrade.