python2.5-doc does not update info dir properly

Bug #174786 reported by scudette
2
Affects Status Importance Assigned to Milestone
python2.5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python2.5-doc

In the post install file /var/lib/dpkg/info/python2.5-doc.postinst we find this:
info=
if [ -n "$info" ] && [ -x /usr/sbin/install-info ]; then
    install-info --quiet --section "Python" "Python" \
        --description="Python 2.5 Library Reference" \
        /usr/share/info/python2.5-lib.info
    #install-info --quiet --section "Python" "Python" \
    # --description="Python 2.5 Macintosh Modules" \
    # /usr/share/info/python2.5-mac.info
    install-info --quiet --section "Python" "Python" \
        --description="Python 2.5 Reference Manual" \
        /usr/share/info/python2.5-ref.info
    install-info --quiet --section "Python" "Python" \
        --description="Python/C 2.5 API Reference Manual" \
        /usr/share/info/python2.5-api.info
    install-info --quiet --section "Python" "Python" \
        --description="Extending & Embedding Python 2.5" \
        /usr/share/info/python2.5-ext.info
    install-info --quiet --section "Python" "Python" \
        --description="Python 2.5 Tutorial" \
        /usr/share/info/python2.5-tut.info
    install-info --quiet --section "Python" "Python" \
        --description="Distributing Python Modules (2.5)" \
        /usr/share/info/python2.5-dist.info
fi

which obviously always fails (because info is being cleared just before the test)
probably this should be info=`which info`

CVE References

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python2.5 - 2.5.1-6ubuntu1

---------------
python2.5 (2.5.1-6ubuntu1) hardy; urgency=low

  * Merge with Debian; remaining changes:
    - Include the pregenerated documentation.
    - Set priority of python2.5-minimal to required.
    - Build python2.5-doc from the pregenerated documentation.

python2.5 (2.5.1-6) unstable; urgency=low

  * Update to 20080102, taken from the 2.5 release branch.
    - Only define _BSD_SOURCE on OpenBSD systems. Closes: #455400.
  * Fix handling of packages in linecache.py (Kevin Goodsell). LP: #70902.
  * Bump debhelper to v5.
  * Register binfmt for .py[co] files.
  * Use absolute paths when byte-compiling files. Addresses: #453346.
    Closes: #413566, LP: #177722.
  * CVE-2007-4965, http://bugs.python.org/issue1179:
    Multiple integer overflows in the imageop module in Python 2.5.1 and
    earlier allow context-dependent attackers to cause a denial of service
    (application crash) and possibly obtain sensitive information (memory
    contents) via crafted arguments to (1) the tovideo method, and unspecified
    other vectors related to (2) imageop.c, (3) rbgimgmodule.c, and other
    files, which trigger heap-based buffer overflows.
    Patch prepared by Stephan Herrmann. Closes: #443333, LP: #163845.
  * Register info docs when doing source only uploads. LP: #174786.
  * Remove deprecated value from categories in desktop file. LP: #172874.
  * python2.5-dbg: Don't include the gdbm and _tkinter extensions, now provided
    in separate packages.
  * Provide a symlink changelog -> NEWS. Closes: #439271.
  * Fix build failure on hurd, working around poll() on systems on which it
    returns an error on invalid FDs. Closes: #438914.
  * Configure --with-system-ffi on all architectures. Closes: #448520.
  * Fix version numbers in copyright and README files (Dan O'Huiginn).
    Closes: #446682.

 -- Matthias Klose <email address hidden> Thu, 03 Jan 2008 16:21:32 +0100

Changed in python2.5:
status: New → 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.