Error Cannot Download Pear/mail
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Extract Error Which Is About Installing Pear Email Packages On Ubuntu 14.04 [closed] up vote 0 down vote favorite I want to send e-mail with smtp send function in php. So that ı should install pear email packages.But When I install these packages on terminal I get an error.The error is about extracting .tar.gz file.The tar.gz file isn't extracted.For example ı entered "sudo pear install mail" on terminal. The error is occurred as below. could not extract the package.xml file from "/tmp/pear/install/Mail-1.2.0.tgz" Download of "pear/mail" succeeded, but it is not a valid package archive Error: cannot download "pear/Mail" Download failed install failed And then ı entered "sudo pear install Mail_Mime" on terminal. Again same error is occurred as below. downloading Mail_Mime-1.8.9.tgz ... Starting to download Mail_Mime-1.8.9.tgz (33,796 bytes) .........done: 33,796 bytes could not extract the package.xml file from "/tmp/pear/install/Mail_Mime-1.8.9.tgz" Download of "pear/Mail_Mime" succeeded, but it is not a valid package archive Error: cannot download "pear/Mail_Mime" Download failed install failed $mail = @$smtp->send(.. , .., ..); function doesn't work. So that mail isn't s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up unable install pear dependencies up vote 1 down vote favorite I am new to php and drupal i want install below commands sudo pear install mail sudo http://askubuntu.com/questions/488308/extract-error-which-is-about-installing-pear-email-packages-on-ubuntu-14-04 pear install Net_SMTP sudo pear Auth_SASL sudo pear install mail_mime I tried many ways to install but i saw result below like this sudo pear install mail_mime [sudo] password for ******: downloading Mail_Mime-1.10.0.tgz ... Starting to download Mail_Mime-1.10.0.tgz (35,375 bytes) .........done: 35,375 bytes could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Mail_Mime-1.10.0.tgz" Download of "pear/mail_mime" succeeded, but it is not a valid package archive Error: cannot download "pear/Mail_Mime" Download failed install failed. can any one help me from http://stackoverflow.com/questions/33546897/unable-install-pear-dependencies this php drupal pear share|improve this question asked Nov 5 '15 at 14:18 Sankar N 134 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted It seems that the Archive_Tar PEAR component needs to be replaced/upgraded. Do this first: $ sudo pear upgrade -Z pear/Archive_Tar It would also be a good time to update your pear installation: $ sudo pear upgrade pear And then try the other steps again: $ sudo pear install mail Net_SMTP Auth_SASL mail_mime share|improve this answer answered Nov 5 '15 at 14:38 kguest 3,17732032 Thanks a lot i got solution now.......... –Sankar N Nov 5 '15 at 14:54 Great - you can accept my answer so, please. –kguest Nov 5 '15 at 15:07 add a comment| up vote 0 down vote The accepted answer suggest to first run $ pear upgrade -Z pear/Archive_Tar This however also gave me the error: Download of "pear/Archive_Tar" succeeded, but it is not a valid package archive. This did however download the Archive_Tar-1.4.2.tar file into my php\PEAR\download directory. Next, I replaced the php\PEAR\Archive\Tar.php file with the one in php\PEAR\download\Archive_Tar-1.4.2.tar\Archive_Tar-1.4.2\Archive\Tar.php (You can rename the one in php\PEAR\Archive\ first, just to be safe). This fixed the "not a valid package archive"-errors for me. As suggested in the accepted answer, it would now be a good time to update your pear i
Bug Statistics Package home|Report new bug|New search|Development Roadmap Status: Open|Feedback|All|Closed Since Version 1.10.1 Bug#7896 can't https://pear.php.net/bugs/7896 download packages, neither from cli or from web page. Submitted: 2006-06-14 06:53 UTC From: mikkel at linet dot dk Assigned: cellog Status: Closed http://blogs.candoerz.com/question/122092/unable-install-pear-dependencies.aspx Package: PEAR PHP Version: 5.1.4 OS: Fedora Core 5 (LInux) Roadmaps: (Not assigned) Subscription Your email: Comments Add Comment Add patch [2006-06-14 error cannot 06:53 UTC] mikkel at linet dot dk (Mikkel Kruse Johnsen)Description: ------------ I have almost never been able to use the "pear" command. I always times out before downloading packages. like: [root@tux ~]# pear install --alldeps Mail Could not download from "http://pear.php.net/get/Mail-1.1.10.tgz", cannot download "pear/Mail" Error: cannot download "pear/Mail" error cannot download Could not download from "http://pear.php.net/get/Net_SMTP-1.2.8.tgz", cannot download "pear/Net_SMTP" Error: cannot download "pear/Net_SMTP" Could not download from "http://pear.php.net/get/Net_Socket-1.0.6.tgz", cannot download "pear/Net_Socket" Error: cannot download "pear/Net_Socket" Could not download from "http://pear.php.net/get/Auth_SASL-1.0.2.tgz", cannot download "pear/Auth_SASL" Error: cannot download "pear/Auth_SASL" When going to you webside and finding the packages and trying to download it can't. (firefox) This is not just a temporary problem with your server, it has been like this for years, I think it about works 1 out off 10 times I have tryied. It is really annoying when you reaaly need a package to get on with your work, that you have to find it on google. Where is the mirror sites for pear.php.net ? Comments[2006-06-14 10:01 UTC] pajoye (Pierre-Alain Joye)Do you use a proxy? Use the verbose method pear -vvv cmd options. Our server works well. [2006-09-14 15:02 UTC] brandon dot
unable install pear dependencies [Resolved] I am new to php and drupal i want install below commands sudo pear install mail sudo pear install Net_SMTP sudo pear Auth_SASL sudo pear install mail_mime I tried many ways to install but i saw result below like this sudo pear install mail_mime [sudo] password for ******: downloading Mail_Mime-1.10.0.tgz ... Starting to download Mail_Mime-1.10.0.tgz (35,375 bytes) .........done: 35,375 bytes could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Mail_Mime-1.10.0.tgz" Download of "pear/mail_mime" succeeded, but it is not a valid package archive Error: cannot download "pear/Mail_Mime" Download failed install failed. can any one help me from this Asked November 14, 2015Tags: , drupal, pear Posted Under: Programming Add Comment 0 1 5 1 1 0 Share 213 views ×Sign In or Sign Up now! 2 Answers It seems that the Archive_Tar PEAR component needs to be replaced/upgraded. Do this first: $ sudo pear upgrade -Z pear/Archive_Tar It would also be a good time to update your pear installation: $ sudo pear upgrade pear And then try the other steps again: $ sudo pear install mail Net_SMTP Auth_SASL mail_mime Answered November 14, 2015 Candoerz Add Comment 2 1 5 1 0 Great - you can accept my answer so, please. –kguest Nov 5 at 15:07 CanDoerz10 months ago 0 Thanks a lot i got solution now.......... –Sankar N Nov 5 at 14:54 CanDoerz10 months ago 0 Candoerz 0 I'm also tried these command which mentioned in the above, but i'm getting the following errors. $ sudo pear install mail Net_SMTP Auth_SASL mail_mime WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2" downloading Mail-1.2.0.tgz ... Starting to download Mail-1.2.0.tgz (23,214 bytes) ........done: 23,214 bytes could not extract the package.xml file from "/tmp/pear/install/Mail- 1.2.0.tgz" Download of "pear/mail" succeeded, but it is not a valid package archive Error: cannot download "pear/Mail" downloading Net_SMTP-1.7.1.tgz ... Starting to download Net_SMTP-1.7.1.tgz (14,815 bytes) ...done: 14,815 bytes could not extract the package.xml file from "/tmp/pear/install/Net_SMTP-1.7.1.tgz" Download of "pear/Net_SMTP" succeeded, but it is not a valid packag