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

This entry was posted in Announcements and tagged , , . Bookmark the permalink.

11 Responses to Ubuntu Karmic Ships with PEAR-Affecting Issues

  1. Pingback: uberVU - social comments

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

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

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

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

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

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

  8. 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. Pingback: Tweets that mention PEAR Blog » Blog Archive » Ubuntu Karmic Ships with PEAR-Affecting Issues -- Topsy.com

  10. Pingback: 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

  11. Kylie says:

    Thanks for the workaround, it came in handy for me

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>