[php-maint] updating php-pear on squeeze? Was: phpunit: missing versioned build dependency

Thomas Goirand thomas at goirand.fr
Sun Nov 18 02:40:44 UTC 2012


On 11/16/2012 04:57 PM, Jan Wagner wrote:
> Hi there,
> 
> I was looking into backporting php-codesniffer to squeeze.
> Unfortunately this requires phpunit (>= 3.6). When trying to backport
> phpunit I stumbled upon this problem:
> 
> On 11/15/2012 09:36 PM, Jan Wagner wrote:
>> This package.xml requires PEAR version 1.9.4 to parse properly, we
>> are version 1.9.1 Parsing of package.xml from file
>> "./PHPUnit-3.6.10/package.xml" failed Cannot download non-local
>> package "./PHPUnit-3.6.10/package.xml" install failed
> 
> Isn't there no easy way to update php-pear (without updating pear via
> pear) without backporting the whole php5 source package?
> 
> My idea behind this is, I want to use a recent version of
> php-codesniffer to evaluate on a squeeze system, if the used PHP
> software is compatible to PHP 5.4 without installing PHP 5.4 itself
> and break things _before_ knowing where (web-)application developers
> failed in the past.
> 
> Many thanks for your ideas, Jan.

Hi,

probably, you could try installing the latest pear with dpkg, ignoring
dependencies (probably using --ignore-depends=<package>).

Thomas



More information about the pkg-php-maint mailing list