Ubuntu Karmic Ships with PEAR-Affecting Issues

Be aware that the initial release of Ubuntu Karmic contains a bug that affects PHP and PEAR, whose fix came a tad too late to make the initial release.  The bug is fixed, and will be included in upcoming updates from Ubuntu.

From PEAR’s perspective, the key issue relates to the zlib library.  This is evident in any attempt to install or upgrade a package, since doing so involves downloading a tarball file that must be uncompressed.  The bug causes some zlib functions to be unavailable to PHP, and the Archive_Tar code will silently fail due to this.

If you attempt to install or upgrade a package, it may appear to finish without error, but without a final “install ok” or “upgrade ok” message.  This means the process failed.  The workaround is to include the -Z argument, so that a .tar file will be downloaded rather than a .tgz file:

pear install -Z phpdocumentor

10 Responses to “Ubuntu Karmic Ships with PEAR-Affecting Issues”

  1. uberVU - social comments Says:

    Social comments and analytics for this post…

    This post was mentioned on Twitter by joepaulscott: Ubuntu Karmic Ships with PEAR-Affecting Issues: Be aware that the initial release of Ubuntu Karmic contains a b.. http://bit.ly/47UePR…

  2. PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … | Just linux! Says:

    [...] View post:  PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … [...]

  3. Webby Scripts PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … Says:

    [...] original here: PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … [...]

  4. PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … Says:

    [...] here:  PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting … SHARETHIS.addEntry({ title: "PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting [...]

  5. PEAR Blog: Ubuntu Karmic Ships with PEAR-Affecting Issues | Webs Developer Says:

    [...] PEAR blog has pointed out some issues that the latest Ubuntu release (Karmic) can cause with a typical PEAR installation: Be aware that [...]

  6. Ubuntu Karmic Ships with PEAR-Affecting Issues | Ubuntu-News - Your one stop for news about Ubuntu Says:

    [...] Be aware that the initial release of Ubuntu Karmic contains a bug that affects PHP and PEAR, whose fix came a tad too late to make the initial release. The bug is fixed, and will be included in upcoming updates from Ubuntu. More here [...]

  7. PEAR Blog: Ubuntu Karmic Ships with PEAR-Affecting Issues | Development Blog With Code Updates : Developercast.com Says:

    [...] PEAR blog has pointed out some issues that the latest Ubuntu release (Karmic) can cause with a typical PEAR installation: Be aware that [...]

  8. Giorgio Sironi Says:

    Thanks, I bookmarked this page. I have upgraded my laptop today and I have still to reinstall php 5.3 and related pear packages.

  9. Tweets that mention PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting Issues -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Alex Piaz, Planet PHP, dlbrown06, PHP Ireland, PHP Belarus and others. PHP Belarus said: Ubuntu Karmic Ships with PEAR-Affecting Issues – Official Blog of the PEAR Group/PEAR President: Be aware that .. http://bit.ly/o9wU1 [...]

  10. Error en Ubuntu 9.10 afecta a PEAR « Software Libres, Mangas y animes ….. son Los lazos que nos unen a los que visitan esta bitacora Says:

    [...] el blog de PEAR (PHP Extensión and Application Repository) se reporta que la versión inicial de Ubuntu 9.10 “Karmic Koala” tiene un error que afecta a PHP y [...]

Leave a Reply