Apt inconsistent in reporting download progress

Bug #275243 reported by Jonathan Rothwell
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When apt-get is downloading packages from the repository, it reports its progress in a very strange way: as bytes complete out of kB total (e. g. 1024/77kB total). Surely it'd be better for it to report them in the same unit instead of different denominations? It'd be akin to reporting that you've run 28,000 metres of a 50-kilometre race.

It's only a minor oversight, I think, but it's nonetheless irritating.

Tags: bitesize

Related branches

Revision history for this message
Jonathan Rothwell (jrothwell97) wrote :
Revision history for this message
Waleed Hamra (w-hamra1987) wrote :

Thank you for taking the time to make Ubuntu better. Since what you submitted is not really a bug, or a problem, but rather an Feature Request to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at [WWW] https://brainstorm.ubuntu.com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!

Revision history for this message
Waleed Hamra (w-hamra1987) wrote :

I'm actually changing the bug status to Confirmed

Changed in apt:
status: New → Confirmed
Revision history for this message
Waleed Hamra (w-hamra1987) wrote :

Status changed after discussions on the #ubuntu-bugs channel agreed that this is a bug, and not a wishlist.

Revision history for this message
C de-Avillez (hggdh2) wrote :

marking as triaged, low importance.

Changed in apt:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Stefan Haller (haliner) wrote :

I tried to fix this bug and it's not really a big bug, because there must be changed only one line.

This is my first bug I'm fixing for Ubuntu, so please be patient :)
The debdiff I've create is quite long, and I trimmed it a little bit (*_short.debdiff).

I don't know how the process goes on, maybe someone could leave a comment. Great :)

Revision history for this message
Stefan Haller (haliner) wrote :
Changed in apt (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Ubuntu Sponsors for main (ubuntu-main-sponsors)
Przemek K. (azrael)
tags: added: bitesize
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.6 KiB)

This bug was fixed in the package apt - 0.7.25.3ubuntu1

---------------
apt (0.7.25.3ubuntu1) lucid; urgency=low

  [ Michael Vogt ]
  * merged with the debian-sid branch

  [ Ivan Masár ]
  * Slovak translation update. Closes: #568294

apt (0.7.25.3) unstable; urgency=low

  [ Christian Perrier ]
  * Italian translation update. Closes: #567532

  [ David Kalnischkies ]
  * apt-pkg/contrib/macros.h:
    - install the header system.h with a new name to be able to use
      it in other headers (Closes: #567662)
  * cmdline/acqprogress.cc:
    - Set Mode to Medium so that the correct prefix is used.
      Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)
  * ftparchive/writer.cc:
    - generate sha1 and sha256 checksums for dsc (Closes: #567343)
  * cmdline/apt-get.cc:
    - don't mark as manually if in download only (Closes: #468180)

apt (0.7.25.2) unstable; urgency=low

  [ Michael Vogt ]
  * apt-pkg/contrib/cdromutl.cc:
    - fix UnmountCdrom() fails, give it a bit more time and try
      the umount again
  * apt-pkg/cdrom.cc:
    - fix crash in pkgUdevCdromDevices
  * methods/cdrom.cc:
    - fixes in multi cdrom setup code (closes: #549312)
    - add new "Acquire::cdrom::AutoDetect" config that enables/disables
      the dlopen of libudev for automatic cdrom detection. Off by default
      currently, feedback/testing welcome
  * cmdline/apt-cdrom.cc:
    - add new --auto-detect option that uses libudev to figure out
      the cdrom/mount-point
  * cmdline/apt-mark:
    - merge fix from Gene Cash that supports markauto for
      packages that are not in the extended_states file yet
      (closes: #534920)
  * ftparchive/writer.{cc,h}:
    - merge crash fix for apt-ftparchive on hurd, thanks to
      Samuel Thibault for the patch (closes: #566664)

  [ David Kalnischkies ]
  * apt-pkg/contrib/fileutl.cc:
    - Fix the newly introduced method GetListOfFilesInDir to not
      accept every file if no extension is enforced
      (= restore old behaviour). (Closes: #565213)
  * apt-pkg/policy.cc:
    - accept also partfiles with "pref" file extension as valid
  * apt-pkg/contrib/configuration.cc:
    - accept also partfiles with "conf" file extension as valid
  * doc/apt.conf.5.xml:
    - reorder description and split out syntax
    - add partfile name convention (Closes: #558348)
  * doc/apt_preferences.conf.5.xml:
    - describe partfile name convention also here
  * apt-pkg/deb/dpkgpm.cc:
    - don't segfault if term.log file can't be opened.
      Thanks Sam Brightman for the patch! (Closes: #475770)
  * doc/*:
    - replace the per language addendum with a global addendum
    - add a explanation why translations include (maybe) english
      parts to the new global addendum (Closes: #561636)
  * apt-pkg/contrib/strutl.cc:
    - fix malloc asseration fail with ja_JP.eucJP locale in
      apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)

  [ Christian Perrier ]
  * French translation update

apt (0.7.25.1) unstable; urgency=low

  [ Christian Perrier ]
  * French manpage translation update
  * Russian translation update by Yuri Kozlov
    Closes: #564171

  [Chris Leick]
  * spot & fix various typos in all manpages
...

Read more...

Changed in apt (Ubuntu):
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in apt (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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