pear install fails without error message, downloaded go-pear is also affected (Karmic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Low
|
Unassigned |
Bug Description
Binary package hint: php5
After the workarounds applied from #420639 (cleaning and updating channels), "pear install" downloads the packages but exits without any error message just before the installation (or unpacking) starts.
I removed the php-pear package and tried to install pear via go-pear (downloaded from http://
This type of installation exits also when the installer unpacks the package PEAR.
ProblemType: Bug
Architecture: i386
Date: Wed Oct 7 16:48:56 2009
DistroRelease: Ubuntu 9.10
Package: php5 5.2.10.
PackageArchitec
ProcEnviron:
LANG=hu_HU.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: php5
Uname: Linux 2.6.31-12-generic i686
Gabor Halaszvari (g-halaszvari) wrote : | #1 |
summary: |
- pear install fails without error message (downloaded go-pear is also - affected) + pear install fails without error message, downloaded go-pear is also + affected (Karmic) |
Furlot (furlot) wrote : | #2 |
Chuck Short (zulcss) wrote : | #3 |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.
Changed in php5 (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
Gabor Halaszvari (g-halaszvari) wrote : | #4 |
1. Is this reproducible?
Absolutely. It happens at every "pear install" and "pear upgrade" command.
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
Try to upgrade a pear package, or try to install a new one. The package will be downloaded, but pear is exiting before the installation without any error message:
Examples:
root@
downloading Date-1.4.7.tgz ...
Starting to download Date-1.4.7.tgz (55,754 bytes)
.....
root@
root@
Will upgrade channel:
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.....
root@
root@
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.....
root@
The output of the same command under Ubuntu 9.04:
root@pcdev01:~# pear install Date
downloading Date-1.4.7.tgz ...
Starting to download Date-1.4.7.tgz (55,754 bytes)
.....
install ok: channel:
root@pcdev01:~#
The last line of the 9.04 output (install ok: ....) shows that the downloaded package was successfully unpacked and installed.
The pear script in 9.10 exits before this step (the downloaded 'go-pear' script also).
I think it's related to the PHP zlib extension and the Archive_Tar pear package which is used to unpack the downloaded files.
Furlot (furlot) wrote : | #5 |
pear install work with -Z option :
root@ubuntu:~# pear install -Z Auth_SASL
downloading Auth_SASL-1.0.3.tar ...
Starting to download Auth_SASL-1.0.3.tar (Unknown size)
............done: 44,544 bytes
install ok: channel:
root@ubuntu:~#
Gabor Halaszvari (g-halaszvari) wrote : | #6 |
Thank you!
This workaround is working.
The "pear help options" says nothing about this command line option. Is this an undocumented one?
Maybe it's related to the zlib bug mentioned here also: http://
Till Klampaeckel (till-php) wrote : | #7 |
Also, in the future, please try pear install -vvvvv Foo. Might give you more info.
Gabor Halaszvari (g-halaszvari) wrote : | #8 |
This is the output running with the -vvvvv option:
root@nx7400:
Notice: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
Downloading "http://
downloading Structures_
Starting to download Structures_
.........done: 30,191 bytes
Warning: unlink(
thedp (devil-panther) wrote : | #9 |
-vvvvv gives me no output!
But the -Z workaround worked perfectly!
I confirm this bug on a fresh Ubuntu Server 9.10-beta 1.0.2.tgz ... 1.0.2.tgz (5,494 bytes)
ex :
root@ubuntu:~# pear install Crypt_CHAP
downloading Crypt_CHAP-
Starting to download Crypt_CHAP-
.....done: 5,494 bytes
root@ubuntu:~#
I try pear upgrade but there is the same problem : ....... ....... ....... ....... ......done: 291,634 bytes
root@ubuntu:~# pear upgrade
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.......
root@ubuntu:~#