[packagekit] pk-install-file

Matthias Clasen matthias.clasen at gmail.com
Thu Mar 20 11:39:56 PDT 2008


There are some things that pk-install-file doesn't get quite right:

- After all is done, the window is just empty. I would expect a little
summary like
 "Successfully installed foo-bar-1.2.3"

- The timeout at the end is way to short. The window unexpectedly
vanishes after 5 seconds. That should be at least 30 seconds, I think,
so people have a chance to notice that the window has essentially no
content, before it vanishes.

- When I run pk-install-file on an rpm that is already installed or
older than the installed version, I get a bubble where packagekitd
complains that "Backends shoudl sent status <value> signals for
install-file!" and the regular empty window. I would expect a
meaningful error message instead that explains that a newer version of
the package is already installed.

- The generic progress approach is really overcomplicated for
pk-file-install. When installing a single package, there is really no
need for 2 progress bars and multi-part transactions. It should really
just be a single label saying "Installing foo-bar-1.2.3" with a
progressbar, followed by a "Done".



More information about the PackageKit mailing list