Error Cannot Download Pear/console_getopt
Contents |
Bug Statistics Package home|Report new bug|New search|Development Roadmap Status: Open|Feedback|All|Closed Since Version 1.10.1 Bug#11507 update/install fails, cause "Invalid tgz file" Submitted: 2007-07-03 08:56 UTC From: could not extract the package.xml file from pear phpmyforum Assigned: Status: Bogus Package: PEAR (version 1.5.4) PHP Version: 5.2.3
Pear Install
OS: Linux Roadmaps: (Not assigned) Subscription Your email: Comments Add Comment Add patch [2007-07-03 08:56 UTC] phpmyforum (Christoph Roeder)Description: ------------ When I try to upgrade or install pear, I'll get "Invalid tgz file". Btw. the option "--alldeps" doesn't exist for upgrade-all Test script: --------------- $ pear upgrade-all Expected result: ---------------- Upgrade of PEAR and Console_Getopt Actual result: -------------- $ pear upgrade-all Will upgrade channel://pear.php.net/console_getopt Will upgrade channel://pear.php.net/pear Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) downloading Console_Getopt-1.2.3.tgz ... Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes) ....done: 4,011 bytes Could not get contents of package "/tmp/pear/cache/Console_Getopt-1.2.3.tgz". Invalid tgz file. Download of "pear/console_getopt" succeeded, but it is not a valid package archive Error: cannot download "pear/Console_Getopt" downloading PEAR-1.6.1.tgz ... Starting to download PEAR-1.6.1.tgz (295,780 bytes) ...done: 295,780 bytes Could not get contents of package "/tmp/pear/cache/PEAR-1.6.1.tgz". Invalid tgz file. Download of "pear/pear" succeeded, but it is not a valid package archive Error: cannot download "pear/PEAR" Download failed upgrade-all failed Comments[2007-08-18 21:29 UTC] cellog (Greg Beaver)PEAR version? does /tmp/pear/cache exist? do you have write permissions? [2007-08-19 07:41 UTC] phpmyforum (Christoph Roeder)I'm running th command as root, so yes I have enough permissions ;) The folder and files will also be created: $ l /tmp/pear/cache/ ... -rw-r--r-- 1 root root 151 2007-08-19 09:38 cebfc2db563cacd14abbf18f437cc384rest.cacheid -rw-r--r-- 1 root root 4011 2007-08-19 09:38 Console_Getopt-1.2.3.tgz -rw-r--r-- 1 root root 1712 2007-08-19 09:38 db76a8a03cb04516e14bd1e599d376a7rest.cachefile -rw-r--r-- 1 root root 151 2007-08-19 09:38 db76a8a03cb04516e14bd1e599d376a7rest.cacheid -rw-r--r-- 1 root root 908 2007-08-19 09:38 faea342fd87fdec1d86f522230325d03rest.cachefile -rw-r--r-- 1 root root 151 2007-08-19 09:38 faea342fd87fdec1d86f522230325d03rest.cacheid -rw-r--r-- 1 root root 295780 2007-08-19 09:38 PEAR-1.6.1.tgz [2007-08-19 15:00 UTC] cellog (Greg Bea
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: https://pear.php.net/bugs/bug.php?id=11507&edit=3 Sign up Pear - succeeded, but it is not a valid package up vote 15 down vote favorite 3 During a pecl package installation, i got the error, Download of "pecl/pecl_http" succeeded, but it is not a valid package archive Error: cannot download "pecl/pecl_http" This error is coming for all the packages. So i tried the solution given here, http://cweiske.de/tagebuch/pear-php-5.5.htm. But it http://stackoverflow.com/questions/23762141/pear-succeeded-but-it-is-not-a-valid-package is not working. And i don't have any other clue on this. It would be really helpful if someone explains what exactly the problem is. Please help. php ubuntu pecl share|improve this question asked May 20 '14 at 14:09 Mr.Stranger 2,73933664 add a comment| 4 Answers 4 active oldest votes up vote 23 down vote accepted This bug commonly affects systems upgraded to Ubuntu 14.04 LTS from Ubuntu 12.04 LTS. There is a workaround for php5-5.5.9 as commented by kolAflash on Launchpad. The workaround contains a small typo (tar instead of tgz), so I provide a working solution: # First run pear to download the packages. It will probably put the packages into # /build/buildd/php5-5.5.9+dfsg/pear-build-download/ # but it can't install them. $ pear upgrade # Un-Gzip the downloaded packages. $ gunzip /build/buildd/php5-5.5.9+dfsg/pear-build-download/*.tgz # Now pear should be able to work with the pure tar-files. $ pear upgrade /build/buildd/php5-5.5.9+dfsg/pear-build-download/*.tar All credit for this workaround obviously goes to kolAflash. share|improve this answer answered May 23 '14 at 8:13 Werner 996714 and kolAflash are heros! TYVM. –Pheagey Jan 19 at 18:24 This s
... 191 Next » » Deployment of a symfony app failed...Pear issue ? Threaded Mode | Linear Mode Deployment of https://discussion.dreamhost.com/thread-88330.html a symfony app failed...Pear issue ? 08-11-2007, 12:04 PM Post: #1 naudjf Dreamling Posts: 1 Joined: Aug 2007 Deployment of a symfony app failed...Pear issue ? Hi, I installed (FTP) a Symfony (php5 framework) app on my dreamhost DreamHost account. But I have 500 errors on each page that need to do some database accesses. My mysql error cannot database is ok (I made a small database access php script to test that). I was wondering if I have to install pear (using ssh for my account) when I read this article (seen on the DreamHost wiki) : http://herself.movielady.net/2007/07/13/...dreamhost/ So I tried to. But, it bugs on step...2 of the article ($ pear install -o PEAR). error cannot download I get this error messages : "[crush]$ pear install -o PEAR Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) downloading PEAR-1.6.1.tgz ... Could not download from "http://pear.php.net/get/PEAR-1.6.1.tgz", cannot download "pear/PEAR" (could not open /tmp/pear/cache/PEAR-1.6.1.tgz for writing) Error: cannot download "pear/PEAR" downloading Archive_Tar-1.3.2.tgz ... Could not download from "http://pear.php.net/get/Archive_Tar-1.3.2.tgz", cannot download "pear/Archive_Tar" (could not open /tmp/pear/cache/ Archive_Tar-1.3.2.tgz for writing) Error: cannot download "pear/Archive_Tar" downloading Structures_Graph-1.0.2.tgz ... Could not download from "http://pear.php.net/get/Structures_Graph- 1.0.2.tgz", cannot download "pear/Structures_Graph" (could not open /tmp/ pear/cache/Structures_Graph-1.0.2.tgz for writing) Error: cannot download "pear/Structures_Graph" downloading Console_Getopt-1.2.3.tgz ... Could not download from "http://pear.php.net/get/Console_Getopt- 1.2.3.tgz", cannot download "pear/Console_Getopt" (could not open /tmp/ pear/cache/Console_Getopt-1.2.3.tgz for writing) Error: cannot download "pear/Console_Getopt" " I tried the step I B 3 (from the same article) command ($ which pear, that is supposed to answer /home/naudjf/pear/pear.). But it displays: /usr/local/php5/bin/pear instead... Well, I don't know what else to do. This pear thing is the only thing I am thinking about... Thanx !! «