Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0

Bug #20514 invalid package.xml; not installable with pyrus
Submitted: 2015-03-11 21:23 UTC
From: piticli Assigned: mrook
Status: Closed Package: Archive_Tar
PHP Version: 5.4.38 OS: Debian
Roadmaps: 1.3.16    
Subscription  


 [2015-03-11 21:23 UTC] piticli (ivan lopez)
Description: ------------ ./pyrus install pear/pear Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52 Using PEAR installation found at /opt/phpfarm/inst/php-5.4.38/pear Downloading pear.php.net/PEAR Mime-type: application/octet-stream Downloading pear.php.net/Archive_Tar=================================================================>] 100% (283/283 kb) Mime-type: application/octet-stream Mime-type: application/octet-stream==================================================================>] 100% (19/19 kb) Pyrus\Package\Exception: Could not download abstract package pear.php.net/Archive_Tar Pyrus\HTTPException: Download of http://pear.php.net/get/Archive_Tar-1.3.15.phar failed, file does not exist Pyrus\Package\Exception: Could not download from "http://pear.php.net/get/Archive_Tar-1.3.15.tgz" Pyrus\PackageFile\Exception: Invalid package.xml Pyrus\XMLParser\Exception: Invalid XML document Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}notes': This element is not expected. Expected is ( {http://pear.php.net/dtd/package-2.0}date ). Pyrus\Package\Exception: Could not download from "http://pear.php.net/get/Archive_Tar-1.3.15.tar" Pyrus\PackageFile\Exception: Invalid package.xml Pyrus\XMLParser\Exception: Invalid XML document Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}notes': This element is not expected. Expected is ( {http://pear.php.net/dtd/package-2.0}date ). Pyrus\HTTPException: Download of http://pear.php.net/get/Archive_Tar-1.3.15.zip failed, file does not exist

Comments

 [2015-03-11 22:35 UTC] cweiske (Christian Weiske)
-Package: PEAR +Package: Archive_Tar
 [2015-03-23 20:44 UTC] alsin (Alex Sinyushkin)
Hi, Just for anyone who's met up with this problem: you can go inside the 'downloads' folder of the pyrus, de-archive the Archive_Tar-1.3.15.tar. The result should be the Archive_Tar-1.3.15 folder and the package.xml. Inside the package.xml there's a <date></date> tag missing in the first <release> of the <changelog>. Just add there the tags with some date and save. Then remove the original .tar archive and create a new one at its place with the same name from the de-archived Archive_Tar-1.3.15 folder and the package.xml you've just edited. Then go to the console and install the Archive_Tar from your local .tar by specifying this command: C:\path\to\php.exe C:\path\to\pyrus.phar install path/to/pear/downloads/Archive_Tar-1.3.15.tar. The installation should succeed now. And from now on you can install the PEAR itself.
 [2015-03-25 16:01 UTC] piticli (ivan lopez)
Alsin thanks for the reply, but I just found where the package.xml in debian download for editing. However this did not happen with the previous version of PEAR, so I understand it is very simple to correct for them releasing a new version to correct this problem.
 [2015-04-14 18:18 UTC] mrook (Michiel Rook)
-Status: Open +Status: Closed -Assigned To: +Assigned To: mrook
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2015-04-15 15:21 UTC] piticli (ivan lopez)
I try de new version and now works fine! ;)
 [2015-04-15 15:21 UTC] piticli (ivan lopez)
Thanks!