[Bug 1843197] [NEW] Time reported for having downloaded the packages is way off

Egmont Koblinger egmont at gmail.com
Sun Sep 8 21:02:12 UTC 2019


Public bug reported:

It took about 30 minutes for me to download the packages for a distro
upgrade, yet it reports it took 6 seconds.

I'm upgrading from Disco to Eoan test version, using the command

  sudo do-release-upgrade -d

Excerpt from the output:

  7 packages are going to be removed. 81 new packages are going to be 
  installed. 1940 packages are going to be upgraded. 

  You have to download a total of 1,964 M. This download will take 
  about 4 hours with a 1Mbit DSL connection and about 3 days 4 hours 
  with a 56k modem. 

  [...]

  Fetching
  Get:1 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 locales all 2.30-0ubuntu1 [3,870 kB]
  Get:2 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 libc6-dbg amd64 2.30-0ubuntu1 [5,736 kB]
  [...]
  Get:2020 http://hu.archive.ubuntu.com/ubuntu eoan/universe amd64 xawtv-plugins amd64 3.106-1 [51.6 kB]
  Get:2021 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 xbrlapi amd64 5.6-11ubuntu2 [63.0 kB]
  Fetched 1,964 MB in 6s (1,094 kB/s)

The last line is faulty. The actual time was maybe about 30 minutes, not
6 seconds :-D

Note that the two other values shown in the last line, namely the
overall size and the average download speed seem to be correct, and
dividing these two indeed gives about 30 minutes.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: ubuntu-release-upgrader-core 1:19.04.16.6
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sun Sep  8 22:48:32 2019
InstallationDate: Installed on 2016-11-09 (1032 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to disco on 2019-09-08 (0 days ago)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco dist-upgrade third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1843197

Title:
  Time reported for having downloaded the packages is way off

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  It took about 30 minutes for me to download the packages for a distro
  upgrade, yet it reports it took 6 seconds.

  I'm upgrading from Disco to Eoan test version, using the command

    sudo do-release-upgrade -d

  Excerpt from the output:

    7 packages are going to be removed. 81 new packages are going to be 
    installed. 1940 packages are going to be upgraded. 

    You have to download a total of 1,964 M. This download will take 
    about 4 hours with a 1Mbit DSL connection and about 3 days 4 hours 
    with a 56k modem. 

    [...]

    Fetching
    Get:1 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 locales all 2.30-0ubuntu1 [3,870 kB]
    Get:2 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 libc6-dbg amd64 2.30-0ubuntu1 [5,736 kB]
    [...]
    Get:2020 http://hu.archive.ubuntu.com/ubuntu eoan/universe amd64 xawtv-plugins amd64 3.106-1 [51.6 kB]
    Get:2021 http://hu.archive.ubuntu.com/ubuntu eoan/main amd64 xbrlapi amd64 5.6-11ubuntu2 [63.0 kB]
    Fetched 1,964 MB in 6s (1,094 kB/s)

  The last line is faulty. The actual time was maybe about 30 minutes,
  not 6 seconds :-D

  Note that the two other values shown in the last line, namely the
  overall size and the average download speed seem to be correct, and
  dividing these two indeed gives about 30 minutes.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: ubuntu-release-upgrader-core 1:19.04.16.6
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity:Unity7:ubuntu
  Date: Sun Sep  8 22:48:32 2019
  InstallationDate: Installed on 2016-11-09 (1032 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to disco on 2019-09-08 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1843197/+subscriptions



More information about the foundations-bugs mailing list