Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #20319 "No releases available for package" when temp dir not writable
Submitted: 2014-06-27 12:04 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: PEAR (version SVN)
PHP Version: Irrelevant OS:
Roadmaps: 1.10.0    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 46 + 13 = ?

 
 [2014-06-27 12:04 UTC] cweiske (Christian Weiske)
Description: ------------ When the temporary directory is not writable, the pear installer gives a message "no releases available for package ..." instead of telling me that it cannot write temporary files. This happens when PEAR is normally run as root, and root owns /tmp/pear/, and then running PEAR as a normal user.

Comments

 [2014-06-30 13:24 UTC] avb (Alexey Borzov)
I am not sure that this error only happens when temp dir is not writable: I sometimes see it on Windows and it is fixed by "pear clear-cache" command. What can cause it in this case: broken / incomplete cache entries written?
 [2014-06-30 13:28 UTC] cweiske (Christian Weiske)
That could be a cause. We'd have to debug this when this problem occurs.
 [2015-07-26 16:32 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 1.10.0
Fix: https://github.com/pear/pear-core/pull/42
 [2015-07-26 16:40 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git stable branch. Will be in 1.10.0dev2 (or 1.10.0).