when i use client.install_file, how to get the right progress,thanks

Asked by iverhan

when i use client.install_file(the function in client.py), i want to get the install progress by using transaction.connect("progress-changed",myfunc) .. but the progress percent will be 1,2,95,100. no 10----90 part

when use install_packages(), will come out the right result like: 1,2, 50,60,70,80,90,100

so how can i get the same effect like install_packages() when i use install_file(), thank you

Question information

Language:
English Edit question
Status:
Expired
For:
Aptdaemon Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.