Upgrade of PEAR/Package
Posted: Thu Mar 04, 2010 4:12 pm
I would like to install the Pear_Mail which has some functionality that is desired moreso then the mail() option.
I'm almost stuck in a catch 22 here though.
The following are installed:
So I figured it was easy enough to install Mail
I figured, not a problem, upgrade the pear installer
Okay, another dependency, annoying but easy enough to get around
Oh crap! Can't upgrade the installer due to Archive_Tar, can't upgrade Archive_Tar due to the installer.
I did try to use the force option as viewtopic.php?f=30&t=101328&p=596544&hi ... de#p596544 showed helped, but it seems to be too far of a gap to bridge
Even trying to use 1.3.3 or 1.3.4 didn't help
I can easily get the Archive_Tar tgz file for manual installation, of course Pear removed this information and I can't seem to find it anywhere. Just copying the files over the 1.3.2 version doesn't seem to make any difference. I was going to try the go-pear.php steps, but as it doesn't read any conf files and I never installed pear before (it was already present when I took over this server). I don't want to be breaking anything as this is a live server and critical to keep the PDF and XLS abilities by those two pear packages.
Any ideas?
I'm almost stuck in a catch 22 here though.
The following are installed:
Code: Select all
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.3 stable
File_PDF 0.2.0 beta
HTML_Template_IT 1.1 stable
HTTP 1.4.0 stable
HTTP_Download 1.1.3 stable
HTTP_Header 1.2.0 stable
Net_UserAgent_Detect 2.0.1 stable
OLE 0.5 beta
PEAR 1.5.1 stable
Spreadsheet_Excel_Writer 0.9.1 beta
Structures_Graph 1.0.3 stable
XML_RPC 1.5.3 stable
XML_Util 1.2.1 stable
pecl_http 1.3.2 stableCode: Select all
[root@www docs]# pear install Mail
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail requires PEAR Installer (version >= 1.5.6), installed version is 1.5.1
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
No valid packages found
install failed
Code: Select all
[root@www docs]# pear upgrade pear
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.5.1
pear/PEAR dependency package "pear/Archive_Tar" installed version 1.3.2 is not the recommended version 1.3.3, but may be compatible, use --force to install
No valid packages found
upgrade failed
Code: Select all
[root@www docs]# pear upgrade Archive_Tar
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.5.1
No valid packages found
upgrade failed
I did try to use the force option as viewtopic.php?f=30&t=101328&p=596544&hi ... de#p596544 showed helped, but it seems to be too far of a gap to bridge
Code: Select all
[root@www docs]# pear upgrade --force Archive_Tar
warning: pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.5.1
downloading Archive_Tar-1.3.5.tar ...
Starting to download Archive_Tar-1.3.5.tar (Unknown size)
.....................done: 92,160 bytes
Validation Error: This package.xml requires PEAR version 1.5.4 to parse properly, we are version 1.5.1
Parsing of package.xml from file "/tmp/pear/cache/package.xml" failed
Download of "pear/Archive_Tar" succeeded, but it is not a valid package archive
Error: cannot download "pear/Archive_Tar"
I can easily get the Archive_Tar tgz file for manual installation, of course Pear removed this information and I can't seem to find it anywhere. Just copying the files over the 1.3.2 version doesn't seem to make any difference. I was going to try the go-pear.php steps, but as it doesn't read any conf files and I never installed pear before (it was already present when I took over this server). I don't want to be breaking anything as this is a live server and critical to keep the PDF and XLS abilities by those two pear packages.
Any ideas?