Refresh progress jumps to ~90% very early

Bug #348053 reported by Nicolò Chieffo
2
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Fix Released
Undecided
Sebastian Heinlein

Bug Description

Binary package hint: packagekit

using the apt backend and the gnome gui when I use the system updater and I hit on refresh, the bar goes immediately to ~90% and stays there until the package lists are downloaded.

The list download progress is not shown at all

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: packagekit-backend-apt 0.3.14-0ubuntu4
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: packagekit
Uname: Linux 2.6.28-11-generic i686

Related branches

Revision history for this message
Nicolò Chieffo (yelo3) wrote :
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

When the refresh operation starts we don't know how many files have to be downloaded or how much data. Apt downloads first a few files which point to others which hold more information. So the progress bar would jump arround a lot. But PackageKit doesn't support a decreasing progress.

summary: - update process: bar at ~90%
+ Refresh progress jumps to ~90% very early
Changed in packagekit (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

I fixed this in ac5ffba87752ff50f7c597f1b217f4622aafca44:
APT: A backwards running progress (mostly the case during cache updates) is reported as not available progress information.

This should result in a pulsing progress bar.

Changed in packagekit (Ubuntu):
assignee: nobody → Sebastian Heinlein (glatzor)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit - 0.4.9+20090825-0ubuntu1

---------------
packagekit (0.4.9+20090825-0ubuntu1) karmic; urgency=low

  * New upstream snapshot provding a lot of APT backend improvements:
    - Allow to install updates which require the installation of additional
      packages. Updates depending on the removal of a package are still
      blocked (LP: #342671, LP: #374011, LP: #374011)
    - Warn about the installation of untrusted package (LP: #256245)
    - Don't crash in APT post update hook if system D-Bus daemon isn't
      running (LP: #388623)
    - Don't try to estimate a download progress during cache updating, since
      APT reports only a forth- and backwards running progress. (LP: #348053)
    - Support for python-apt 0.7.12 (LP: #415993)
    - Translated package descriptions
  * debian/patches:
    - Remove ignore_packages_in_conffile (Merged upstream)
    - Remove fix_typo (Merged upstream)
    - Add fix_unicode: Handle the encoding messages via stdin/stdout correctly
      (LP: #396513)
    - Add fix_unicode_debfile: Convert the path of the local file which
      should be installed to the correct encoding (LP: #347327)
  * debian/libpackagekit-qt-dev.install: Fix install location of CMake module.
    Thanks to Sveinung Kvilhaugsvik (LP: #345706)
  * debian/control: Fix spelling of Qt. Thanks to Sveinung Kvilhaugsvik
    (LP: #378419)

 -- Sebastian Heinlein <email address hidden> Tue, 25 Aug 2009 13:03:26 +0200

Changed in packagekit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.