[Bug 1132472] Re: Update-manager list earlier changes for certain packages before the relevant change for the update in question

Olivier Tilloy 1132472 at bugs.launchpad.net
Tue Nov 10 13:33:05 UTC 2020


This appears to be a bug in update-manager, where it fails to match the
currently installed version against the changelog, and consequently
doesn't truncate the changelog where it should, displaying the entire
changelog history. I am not familiar with update-manager's code, but the
code in question appears to be in the _get_changelog_or_news() function,
in UpdateManager/Core/MyCache.py (https://bazaar.launchpad.net/~ubuntu-
core-dev/update-
manager/main/view/head:/UpdateManager/Core/MyCache.py#L210, in the
'while True' loop towards the end of the function).

** Changed in: chromium-browser (Ubuntu)
       Status: New => Invalid

** Changed in: boost-defaults (Ubuntu)
       Status: New => Invalid

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

Title:
  Update-manager list earlier changes for certain packages before the
  relevant change for the update in question

Status in boost-defaults package in Ubuntu:
  Invalid
Status in chromium-browser package in Ubuntu:
  Invalid
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Have an old version of some boost package when a newer version is available.
  2. Open update-manager, select the boost package and look at the "Changes" tab.

  Expected result:
  The tab should contain which version I have currently installed, which version is available, and a section from the changelog summarizing the changes between those two versions.

  Actual result:
  While the boost packages have this, it is far down below a series of older changelog entries. All of these are for versions older than the one currently installed and as such are already included in the version I have. Furthermore they push down the "currently installed/available version" part which should always be listed at the top.

  I am not sure why this happens, and why it only happens with boost
  packages. I have seen this before with a previous boost update
  (unfortunately I failed to file a bug before updating), but not in any
  other packages.

  $ apt-cache policy libboost-date-time1.49.0
  libboost-date-time1.49.0:
    Installed: 1.49.0-3.1ubuntu1.1
    Candidate: 1.49.0-3.1ubuntu1.2
    Version table:
       1.49.0-3.1ubuntu1.2 0
          500 http://no.archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
          500 http://security.ubuntu.com/ubuntu/ quantal-security/main i386 Packages
   *** 1.49.0-3.1ubuntu1.1 0
          100 /var/lib/dpkg/status
       1.49.0-3.1ubuntu1 0
          500 http://no.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

  With the package above installed, this issue should be easy to
  reproduce. I have also attached the content of the "Changes" tab in
  update-manager.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.174.4
  ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
  Uname: Linux 3.5.0-23-generic i686
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: i386
  Date: Sun Feb 24 15:04:06 2013
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1361714262'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'744'
   b'com.ubuntu.update-manager' b'window-width' b'959'
  InstallationDate: Installed on 2012-10-20 (127 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost-defaults/+bug/1132472/+subscriptions



More information about the foundations-bugs mailing list