Error Cannot Download Pear/archive_tar
Contents |
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 could not extract the package.xml file from pear Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs
Pear Install
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 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 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 suggeste
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 http://stackoverflow.com/questions/33546897/unable-install-pear-dependencies 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 Cannot install Pear Package HTML_BBCodeParser2(beta) on my system http://askubuntu.com/questions/690596/cannot-install-pear-package-html-bbcodeparser2beta-on-my-system up vote 1 down vote favorite I've tried the following things: sudo pear install -f HTML_BBCodeParser2-0.1.0 Result: downloading HTML_BBCodeParser2-0.1.0.tgz ... Starting to download HTML_BBCodeParser2-0.1.0.tgz (14,621 bytes) .....done: 14,621 bytes could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/HTML_BBCodeParser2-0.1.0.tgz" Download of "pear/HTML_BBCodeParser2" succeeded, but it is not a valid package archive Error: cannot download "pear/HTML_BBCodeParser2" Download failed install failed Then: sudo pear install HTML_BBCodeParser2-0.1.0 Starting to download HTML_BBCodeParser2-0.1.0.tgz (14,621 bytes) .....done: 14,621 bytes could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/HTML_BBCodeParser2-0.1.0.tgz" Download of "pear/HTML_BBCodeParser2" succeeded, but it is not a valid package archive Error: cannot download "pear/HTML_BBCodeParser2" Download failed install failed Then: sudo pear install HTML_BBCodeParser2-beta downloading HTML_BBCodeParser2-0.1.0.tgz ... Starting to download HTML_BBCodeParser2-0.1.0.tgz (14,621 bytes) .....done: 14,621 bytes could not extract the package.xml file from "/build/php5-8gpaOy/php5-5.5.9+dfsg/pear-build-download/HTML_BBCodeParser2-0.1.0.tgz" Download of "pear/HTML_BBCodeParser2" succeeded, but it is not a valid package archive Error: cannot download "pear/HTML_BBCodeParser2" Download failed install failed I'm running out of
Packages Statistics Channels Top Level :: File FormatsPackage Information: Archive_Tar MainDownloadDocumentationBugsTrackbacks Show All Changelogs https://pear.php.net/package/Archive_Tar/download/All » Version » Information 1.4.2 Easy Install Not sure? Get more info. pear install Archive_Tar-1.4.2 Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/Archive_Tar-1.4.2 Download For manual installation only 1.4.2 Release date: 2016-02-25 05:31 UTCRelease state: stableRelease uploaded by: mrookChangelog:* Fix reading of archives with error cannot files > 8GB * Performance optimizations * Do not try to call require_once on PEAR.php if it has already been loaded by the autoloaderDependencies:PHP Version: PHP 5.2.0 or newerPEAR Package: PEAR Installer 1.9.0 or newer 1.4.1 Easy Install Not sure? Get more info. pear install Archive_Tar-1.4.1 error cannot download Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/Archive_Tar-1.4.1 Download For manual installation only 1.4.1 Release date: 2016-02-25 05:24 UTCRelease state: stableRelease uploaded by: mrookChangelog:* Update composer.json to use pear-core-minimal 1.10.0alpha2Dependencies:PHP Version: PHP 5.2.0 or newerPEAR Package: PEAR Installer 1.9.0 or newer 1.4.0 Easy Install Not sure? Get more info. pear install Archive_Tar-1.4.0 Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/Archive_Tar-1.4.0 Download For manual installation only 1.4.0 Release date: 2015-07-20 10:07 UTCRelease state: stableRelease uploaded by: mrookChangelog:* Add support for PHP 7 * Drop support for PHP 4 * Add visibility declarations to methods and propertiesDependencies:PHP Version: PHP 5.2.0 or newerPEAR Package: PEAR Installer 1.9.0 or newer 1.3.16 Easy Install Not sure? Get more info. pear install Archive_Tar-1.3.16 Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/Archive_Tar-1.3.16 Download For manual installation only 1