[packagekit] yum backend system-update
Tim Lauridsen
tla at rasmil.dk
Thu Aug 30 04:04:14 PDT 2007
Richard Hughes wrote:
> Hey guys,
>
> I'm currently doing a rawhide update with PackageKit. I've found a niggle:
>
> update-system doesn't appear to use the signal "percentage" which
> makes the first progress bar always stay at zero. It also emits "data"
> instead of "package" as the packages are downloaded and installed. I
> think I'm going to remove "data" from the interface completely as
> package serves us well and allows us to put in the UI "Downloading
> OpenOffice.org Clipart" rather than "downloading
> net-tools-1.60-84.fc8.i386.rpm"
>
> I've clarified the spec as I agree it was badly worded.
>
> subpercentage 98
> subpercentage 99
> subpercentage 100
> subpercentage 0
> data net-tools-1.60-84.fc8.i386.rpm
> subpercentage 17
> subpercentage 19
>
> should be:
>
> subpercentage 98
> subpercentage 99
> subpercentage 100
> subpercentage 0
> percentage 34
> package 0 net-tools;1.60-84;i386;fedora Core Network Tools
> subpercentage 17
> subpercentage 19
>
> Could one of the yum guys change data for package (using a package_id
> and sumary) and also add the percentage updates? Thanks guys.
>
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
I have changed the yum backend to use package instead of data on
download, but not on installation/update/remove, because the package
information is not available on
deletion and cleanup (the second part of the update, there removes
leftovers from the updated package).
I also changed the yum backend to update the percentage more resent on
download / install / remove / update, but it need the latest upstream
yum git code to work.
(yum >= 3.2.5), it will not break is using yum-3.2.4, but will not give
the extra percentage output.
Tim
More information about the PackageKit
mailing list