[Bug 1084715] [NEW] update-manager showing wrong NEWS.Debian entries for SRUs

Steve Langasek steve.langasek at canonical.com
Thu Nov 29 20:21:30 UTC 2012


Public bug reported:

update-manager is showing me that there are updates available on my
quantal system for a set of boost packages - e.g., libboost-date-
time1.49.0.  apt-cache policy for libboost-date-time1.49.0 shows me:

libboost-date-time1.49.0:
  Installed: 1.49.0-3.1ubuntu1
  Candidate: 1.49.0-3.1ubuntu1.1

Per 'apt-get changelog libboost-date-time1.49.0', this means the
changelog entry update-manager should be showing me is:

boost1.49 (1.49.0-3.1ubuntu1.1) quantal; urgency=low

  * SRU/cherrypick fix for boost unordered (LP: #1017125)


Instead, I'm being shown a very long list of entries from /usr/share/doc/libboost-date-time1.49.0/NEWS.Debian.gz which are present in the *existing* package and should not be shown.  So something's wrong somewhere with how update-manager is pulling NEWS entries for display.

boost1.46 (1.46.1-3) unstable; urgency=low

  Boost.Build and bjam now ship in the main -dev package (currently
  libboost1.46-dev).  Packages boost-build and bjam are obsolete and to
  be removed from the archive.


boost1.39 (1.39.0-4) unstable; urgency=low
  
  Since only one (the multi-threaded) variant of each library is built,
  upstream elected to simplify the library name by removing the
  redundant "-mt" decoration.  Debian will follow this convention, to
  remain compatible at link time with other vendors.  The preferred form
  of the link option is now "-lboost_regex", etc.
  
  In response to the Debian 1.37 package, a number of boost-using
  packages changed their build system to add "-mt"; see entry below.  To
  avoid breaking all these packages, Debian is providing compatibility
  symlinks with the "-mt" decoration; e.g. "-lboost_regex-mt" continues
  to work.  However, note that this name is not compatible with other
  distributions, so build-system authors are encouraged to use the
  undecorated name.


boost1.37 (1.37.0-1) unstable; urgency=low
  
  The single-threaded variant of the libraries is no longer built.
  Prior to this, -lboost_regex was the single-threaded variant and
  -lboost_regex-mt was the multi-threaded variant of Boost.Regex.  Any
  software using "-lboost_regex" will need to now use "-lboost_regex-mt"
  instead (and similar for all other libraries, of course).


boost1.35 (1.35.0-1) unstable; urgency=low

  All packages now incorporate the boost version.  The -doc, -dbg, and
  -dev packages are labelled with 1.35 under the assumption that 1.35.x
  will all be API compatible.  The shared lib packages are labelled with
  the SOVERSION (1.35.0) as always.  The new packages conflict with the
  old (versions 1.34.x) since they install into the same directories.
  The new packages have a new source name, however, so both 1.34 and
  1.35 will be available from the Debian repository.
  
  Removed package bcp.  The binary "bcp" is now found in libboost-dev.

  Removed package pyste.  The binary "pyste" is now found in
  libboost-python-dev.


boost (1.34.0-1) unstable; urgency=low
  
  The boost library short name has changed semantics in Debian.  Prior to
  1.34.0-1, the short name was multi-threaded.  Now it is single
  threaded.

  Boost library names encode the SOVERSION and build characteristics of
  the library, including the compiler used (gcc41) and whether
  multi-threading is enabled (-mt if so).  This leads to long names like
  libboost_wserialization-gcc42-mt-1_34_1.so.1.34.1
  [http://www.boost.org/more/getting_started/unix-variants.html#library-naming]
  that are hard to discover in the build system of boost-using software.

  Prior to 1.34.0-1, Debian packages provided a NON-PORTABLE short form
  of the library name as a convenience.  The short form
  (e.g. libboost_wserialization.so) did not have the compiler or "-mt"
  strings in the name, even though it was the multi-thread flavour.

  Other distributions, e.g. Fedora, use the so-called "layout=system"
  install and also have shorter-named boost libraries.  However, the
  short-named libraries are the single-threaded flavour.  The
  multi-threaded flavour has "-mt" appended,
  e.g. libboost_wserialization-mt.so).

  After some discussion, both internal and on bug reports #429533,
  #424038, #425264, #428419, #431502, and #425992, we decided to bring
  the Debian names in line with "layout=system", hence compatible with
  other distributions.  This means that the short name has changed
  semantics from being the multi-threaded flavour to being now the
  single-threaded flavour.

  To summarize: if you're linking to libboostX for a multi-threaded
  application, append "-mt".

Changes for the versions:
Installed version: 1.49.0-3.1ubuntu1
Available version: 1.49.0-3.1ubuntu1.1

Version 1.49.0-3.1ubuntu1.1:

  * SRU/cherrypick fix for boost unordered (LP: #1017125)

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: update-manager 1:0.174.3
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Aptdaemon:
 
Architecture: amd64
Date: Thu Nov 29 12:13:34 2012
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-time' b'1354218938'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'700'
 b'com.ubuntu.update-manager' b'window-width' b'886'
InstallationDate: Installed on 2010-09-24 (797 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to quantal on 2012-06-11 (171 days ago)

** Affects: update-manager (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: amd64 apport-bug quantal running-unity

** Changed in: update-manager (Ubuntu)
       Status: New => Triaged

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  update-manager showing wrong NEWS.Debian entries for SRUs

Status in “update-manager” package in Ubuntu:
  Triaged

Bug description:
  update-manager is showing me that there are updates available on my
  quantal system for a set of boost packages - e.g., libboost-date-
  time1.49.0.  apt-cache policy for libboost-date-time1.49.0 shows me:

  libboost-date-time1.49.0:
    Installed: 1.49.0-3.1ubuntu1
    Candidate: 1.49.0-3.1ubuntu1.1

  Per 'apt-get changelog libboost-date-time1.49.0', this means the
  changelog entry update-manager should be showing me is:

  boost1.49 (1.49.0-3.1ubuntu1.1) quantal; urgency=low

    * SRU/cherrypick fix for boost unordered (LP: #1017125)

  
  Instead, I'm being shown a very long list of entries from /usr/share/doc/libboost-date-time1.49.0/NEWS.Debian.gz which are present in the *existing* package and should not be shown.  So something's wrong somewhere with how update-manager is pulling NEWS entries for display.

  boost1.46 (1.46.1-3) unstable; urgency=low

    Boost.Build and bjam now ship in the main -dev package (currently
    libboost1.46-dev).  Packages boost-build and bjam are obsolete and to
    be removed from the archive.

  
  boost1.39 (1.39.0-4) unstable; urgency=low
    
    Since only one (the multi-threaded) variant of each library is built,
    upstream elected to simplify the library name by removing the
    redundant "-mt" decoration.  Debian will follow this convention, to
    remain compatible at link time with other vendors.  The preferred form
    of the link option is now "-lboost_regex", etc.
    
    In response to the Debian 1.37 package, a number of boost-using
    packages changed their build system to add "-mt"; see entry below.  To
    avoid breaking all these packages, Debian is providing compatibility
    symlinks with the "-mt" decoration; e.g. "-lboost_regex-mt" continues
    to work.  However, note that this name is not compatible with other
    distributions, so build-system authors are encouraged to use the
    undecorated name.

  
  boost1.37 (1.37.0-1) unstable; urgency=low
    
    The single-threaded variant of the libraries is no longer built.
    Prior to this, -lboost_regex was the single-threaded variant and
    -lboost_regex-mt was the multi-threaded variant of Boost.Regex.  Any
    software using "-lboost_regex" will need to now use "-lboost_regex-mt"
    instead (and similar for all other libraries, of course).

  
  boost1.35 (1.35.0-1) unstable; urgency=low

    All packages now incorporate the boost version.  The -doc, -dbg, and
    -dev packages are labelled with 1.35 under the assumption that 1.35.x
    will all be API compatible.  The shared lib packages are labelled with
    the SOVERSION (1.35.0) as always.  The new packages conflict with the
    old (versions 1.34.x) since they install into the same directories.
    The new packages have a new source name, however, so both 1.34 and
    1.35 will be available from the Debian repository.
    
    Removed package bcp.  The binary "bcp" is now found in libboost-dev.

    Removed package pyste.  The binary "pyste" is now found in
    libboost-python-dev.

  
  boost (1.34.0-1) unstable; urgency=low
    
    The boost library short name has changed semantics in Debian.  Prior to
    1.34.0-1, the short name was multi-threaded.  Now it is single
    threaded.

    Boost library names encode the SOVERSION and build characteristics of
    the library, including the compiler used (gcc41) and whether
    multi-threading is enabled (-mt if so).  This leads to long names like
    libboost_wserialization-gcc42-mt-1_34_1.so.1.34.1
    [http://www.boost.org/more/getting_started/unix-variants.html#library-naming]
    that are hard to discover in the build system of boost-using software.

    Prior to 1.34.0-1, Debian packages provided a NON-PORTABLE short form
    of the library name as a convenience.  The short form
    (e.g. libboost_wserialization.so) did not have the compiler or "-mt"
    strings in the name, even though it was the multi-thread flavour.

    Other distributions, e.g. Fedora, use the so-called "layout=system"
    install and also have shorter-named boost libraries.  However, the
    short-named libraries are the single-threaded flavour.  The
    multi-threaded flavour has "-mt" appended,
    e.g. libboost_wserialization-mt.so).

    After some discussion, both internal and on bug reports #429533,
    #424038, #425264, #428419, #431502, and #425992, we decided to bring
    the Debian names in line with "layout=system", hence compatible with
    other distributions.  This means that the short name has changed
    semantics from being the multi-threaded flavour to being now the
    single-threaded flavour.

    To summarize: if you're linking to libboostX for a multi-threaded
    application, append "-mt".

  Changes for the versions:
  Installed version: 1.49.0-3.1ubuntu1
  Available version: 1.49.0-3.1ubuntu1.1

  Version 1.49.0-3.1ubuntu1.1:

    * SRU/cherrypick fix for boost unordered (LP: #1017125)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.174.3
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Aptdaemon:
   
  Architecture: amd64
  Date: Thu Nov 29 12:13:34 2012
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1354218938'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'700'
   b'com.ubuntu.update-manager' b'window-width' b'886'
  InstallationDate: Installed on 2010-09-24 (797 days ago)
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to quantal on 2012-06-11 (171 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1084715/+subscriptions




More information about the foundations-bugs mailing list