Simulation broken
Bug #1387153 reported by
Jörn Schönyan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
New
|
Undecided
|
Sebastian Heinlein |
Bug Description
The documentation states:
"Simulate the transaction to calculate the dependencies, the required download size and the required disk space.
The corresponding properties of the AptTransaction will be updated."
That is plain wrong or buggy, there is no event like dependencies-
I need a solution for the Lubuntu team, so I hope this bugs gets some attention.
Best regards!
Changed in aptdaemon: | |
assignee: | nobody → Sebastian Heinlein (glatzor) |
To post a comment you must log in.
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.