From:  pear-qa@lists.php.net ("ivan@cdmon.com")
Date:  15 Apr 2015 18:21:26 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20514 [Com]: invalid package.xml; not installable with pyrus

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=20514&edit=1

 ID:               20514
 Comment by:       ivan@cdmon.com
 Reported By:      ivan at cdmon dot com
 Summary:          invalid package.xml; not installable with pyrus
 Status:           Closed
 Type:             Bug
 Package:          Archive_Tar
 Operating System: Debian
 PHP Version:      5.4.38
 Assigned To:      mrook
 Roadmap Versions: 
 New Comment:

I try de new version and now works fine! ;)


Previous Comments:
------------------------------------------------------------------------

[2015-04-14 14:18:18] mrook

-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-03-25 12:01:56] piticli

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-03-23 16:44:33] alsin

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  tag missing in the first
 of the . 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-11 18:35:13] cweiske

-Package: PEAR
+Package: Archive_Tar


------------------------------------------------------------------------

[2015-03-11 17:23:35] piticli

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

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20514&edit=1