Re: upgarding liveuser with PEAR 1.4b
| From: | Greg Beaver | Date: | Fri, 02 Sep 2005 15:33:28 +0000 |
| Subject: | Re: upgarding liveuser with PEAR 1.4b | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20755@lists.php.net to get a copy of this message | ||
Jeroen Houben wrote:
> Greg Beaver wrote:
>
>> Jeroen Houben wrote:
>>
>>
>>> Hi,
>>>
>>> pear upgrade -f liveuser
>>> WARNING: failed to download pear.php.net/liveuser within preferred
>>> state
>>> "stable", will instead download version 0.16.6, stability "beta"
>>> Did not download dependencies: pear/PEAR, pear/Event_Dispatcher,
>>> pear/Log, pear/DB, pear/MDB, pear/MDB2, pear/MDB2_Schema,
>>> pear/XML_Tree,
>>> pear/Crypt_RC4, use --alldeps or --onlyreqdeps to download
>>> automatically
>>> downloading LiveUser-0.16.6.tar ...
>>> Starting to download LiveUser-0.16.6.tar (-1 bytes)
>>>
>>> ................................................................................................done:
>>>
>>> 472,064 bytes
>>> ERROR: Adding package pear.php.net/LiveUser to registry failed
>>>
>>> Am I doing something wrong here?
>>>
>>
>>
>> I need much more information to help. pear -V, run the same command as
>> pear -vvvv upgrade -f liveuser, whether you're using sudo, and so on.
>>
>> This is a serious error, one that should never occur under any
>> circumstance. It's generally caused by a locking or permissions issue.
>>
>>
> Forgot to ask, but perhaps it is possible to show the underlying OS
> error (if any). I wouldn't have even posted this "problem" if the
> installer could hint me about insufficient permission.
I think it is possible. The error itself is returned from is_writable()
(I think, I'm not looking at the code at the moment), so it could be
arranged using a $php_errormsg hack, and I think that would work quite
well. Open bug report? :)
Greg