Re: possible bugs in PEAR installer
| From: | Greg Beaver | Date: | Fri, 01 Aug 2003 21:25:08 +0000 |
| Subject: | Re: possible bugs in PEAR installer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19139@lists.php.net to get a copy of this message | ||
I've noticed that directories are not removed as well, but haven't looked into it, as it isn't as critical as the other things I've been looking at like spaces in pathnames. The dependencies thing is quite serious, and I would post it if there isn't one up already.
Greg
Laurent Laville wrote:
I'm not sure at 100% but i noticed as Arnaud Limbourg few days ago a problem when trying to install my package HTML_SetupWizard. 1. All temporary files are still on the hard disk like for html_setup_wizard after doing pear install SetupWizard.php .tmpSetupWizard.php etc. 2. when i trypear uninstall <package>all files from <package> are of course removed but not directories ! What's wrong here ?! 3. i'm surprised after reading Arnaud comment Things to do: - modify package.xml to have the dependencies registered, it really is painful to find that you missed a dependency ;) here are my package dependencies :<deps> <dep type="pkg" rel="ge" version="1.1">PEAR</dep> <dep type="pkg" rel="ge" version="4.1.0">PHP</dep> <dep type="pkg" rel="ge" version="1.7">Config</dep> <dep type="pkg" rel="ge" version="1.6">Log</dep> <dep type="pkg" rel="ge" version="0.9.0">File_Passwd</dep> <dep type="pkg" rel="ge" version="0.8.5">I18N</dep> <dep type="pkg" rel="ge" version="1.1">MDB</dep> <dep type="pkg" rel="ge" version="1.2">HTML_Common</dep> <dep type="pkg" rel="ge" version="3.0">HTML_QuickForm</dep> <dep type="pkg" rel="ge" version="1.0">HTML_Template_Sigma</dep> <dep type="pkg" rel="ge" version="0.1.0">HTML_CSS</dep> <dep type="pkg" rel="ge" version="2.0">HTML_Page</dep> <dep type="pkg" rel="ge" version="0.4">HTML_Progress</dep> <dep type="pkg" rel="ge" version="1.0">Net_UserAgent_Detect</dep> </deps>I've removed packages HTML_CSS and File_Passwd pear uninstall HTML_CSS pear uninstall File_Passwd i check with pear list all pkg are gone ! Then i've tried pear install HTML_SetupWizard-1.0RC1.tgz and got install ok: HTML_SetupWizard 1.0RC1 So where dependencies check gone !!!! because HTML_CSS and File_Passwd are no more on my system and should be stop install progress, isn't it ? I'm running under PEAR 1.1, PHP 4.3.2 and Windows XP is it a bug, should i submit a new bug entry ?! What your opinions ? Laurent