pyrus/Pyrus — Issue #95: pyrus install pecl/yaml: Invalid XML document
Author: suin
Created: 2012-03-03 08:06:31+00:00
State: open

```
$ php -v
PHP 5.3.8 (cli) (built: Mar 1 2012 13:09:44)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Xdebug v2.1.3, Copyright (c) 2002-2012, by Derick Rethans
```

```
$ pyrus --version
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/suin/.phpenv/versions/5.3.8/share/pyrus/.pear
php pyrus.phar version 2.0.0a4.
```

```
$ pyrus search yaml
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/suin/.phpenv/versions/5.3.8/share/pyrus/.pear
Searching for yaml
7 packages found:
pear.doctrine-project.org/DoctrineSymfonyYaml
pear.eveyron.com/Yaml
pear.horde.org/Horde_Yaml
pearhub.org/Ding
pecl.php.net/syck
pecl.php.net/yaml
pear.symfony-project.com/YAML

For information on a specific package, type: pyrus info channel/PackageName
```

```
$ pyrus install pecl/yaml
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /Users/suin/.phpenv/versions/5.3.8/share/pyrus/.pear
Downloading pecl.php.net/yaml
Mime-type: application/octet-stream
Mime-type: application/octet-stream==================================================================>] 100% (32/32 kb)
Pyrus\Package\Exception: Could not download abstract package pecl.php.net/yaml
Pyrus\HTTPException: Download of http://pecl.php.net/get/yaml-1.0.1.phar failed, file does not exist
Pyrus\Package\Exception: Could not download from "http://pecl.php.net/get/yaml-1.0.1.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 one of ( {http://pear.php.net/dtd/package-2.0}date, {http://pear.php.net/dtd/package-2.0}license ).

Pyrus\Package\Exception: Could not download from "http://pecl.php.net/get/yaml-1.0.1.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 one of ( {http://pear.php.net/dtd/package-2.0}date, {http://pear.php.net/dtd/package-2.0}license ).

Pyrus\HTTPException: Download of http://pecl.php.net/get/yaml-1.0.1.zip failed, file does not exist
```