PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #7042

--packagingroot /tmp/pear should complain as syntax is --packagingroot=/tmp/pear

Details

Submitted2006-03-07 00:18 UTC
Fromglen at delfi dot ee
StatusBogus
PackagePEAR
PHP Version5.1.2
OSPLD Linux
Roadmaps(Not assigned)

Comments

[2006-03-07 00:18 UTC] glen at delfi dot ee

Description:
------------
$ pear download PEAR
downloading PEAR-1.4.8.tgz ...
Starting to download PEAR-1.4.8.tgz (283,109 bytes)
..........................................................done:
283,109 bytes
File /tmp/PEAR-1.4.8.tgz downloaded
$ rm -rf /tmp/pear
$ pear install --installroot /tmp/pear --nodeps
PEAR-1.4.8.tgz
Skipping package "pear/PEAR", already installed as version
1.4.8
No valid packages found
install failed

[2006-03-07 00:19 UTC] glen at delfi dot ee

sorry, the there should be --packagingroot. but the
problem stays.

$ pear install --packagingroot /tmp/pear --nodeps
PEAR-1.4.8.tgz
Skipping package "pear/PEAR", already installed as version
1.4.8
No valid packages found
install failed

[2006-03-07 20:52 UTC] glen at delfi dot ee

the problem stays, regardless of commandline usage.

$ pear install --packagingroot=/tmp/pear --nodeps
PEAR-1.4.8.tgz
WARNING: channel "pear.php.net" has updated its protocols,
use "channel-update pear.php.net" to update
Skipping package "pear/PEAR", already installed as version
1.4.8
No valid packages found
install failed

$ pear install --packagingroot=/tmp/pear --nodeps PEAR
WARNING: channel "pear.php.net" has updated its protocols,
use "channel-update pear.php.net" to update
Skipping package "pear/PEAR", already installed as version
1.4.8
No valid packages found
install failed

$ pear install --nodeps PEAR
WARNING: channel "pear.php.net" has updated its protocols,
use "channel-update pear.php.net" to update
Skipping package "pear/PEAR", already installed as version
1.4.8
No valid packages found
install failed

[2006-03-08 17:13 UTC] glen at delfi dot ee

pear version was included in bugreport, but ok

$ pear -V
PEAR Version: 1.4.8
PHP Version: 5.1.2
Zend Engine Version: 2.1.0
Running on: Linux builder 2.6.13.5-1smp #1 SMP Thu Feb 9
02:45:39 EET 2006 i686

[2006-03-08 23:04 UTC] glen at delfi dot ee

output available from:
http://haarber.alkohol.ee/pld/blah.bz2

[2006-03-09 01:43 UTC] glen at delfi dot ee

it was produced with script(1) command, use less -r to
read it.

looks like pear cache happened to be same as specified
installroot. didn't know that. and in previous log first
thing i did was rm -rf /tmp/pear, so pear cache shouldn't
have any effect (ie it couldn't be stale or owned by other
user)

glen@builder /tmp $ ls -ld /tmp/pear
drwxrwxr-x 4 glen glen 96 Mar 9 01:01 /tmp/pear/
glen@builder /tmp $ pear clear-cache
reading directory /tmp/pear/cache
24 cache entries cleared
glen@builder /tmp $ pear channel-update pear.php.net
Retrieving channel.xml from remote server
Channel pear.php.net channel.xml is up to date
glen@builder /tmp $ pear install
"--packagingroot=/tmp/pear2" PEAR
Failed to download pear/Archive_Tar (recommended version
1.3.1), latest release is version 1.3.1, stability
"stable", use "channel://pear.php.net/Archive_Tar-1.3.1"
to install
Did not download optional dependencies: pear/XML_RPC, use
--alldeps to download automatically
pear/PEAR requires package "pear/Archive_Tar" (recommended
version 1.3.1)
pear/PEAR can optionally use package
"pear/XML_RPC" (version >= 1.4.0)
downloading Console_Getopt-1.2.tgz ...
Starting to download Console_Getopt-1.2.tgz (3,370 bytes)
....done: 3,370 bytes
install ok: channel://pear.php.net/Console_Getopt-1.2
glen@builder /tmp $ ls -l /tmp/pear2/
total 0
drwxrwxr-x 3 glen glen 72 Mar 9 03:27 usr/
glen@builder /tmp $ ls -l /tmp/pear2/usr/share/pear/
total 0
drwxrwxr-x 2 glen glen 80 Mar 9 03:27 Console/

here's different problem already. it installed dependent
Console_Getopt (and only that)

but going back to the original problem, i can't no longer
reproduce it, and i'm not sure what have changed in system

glen@builder /tmp $ rm -rf /tmp/pear
glen@builder /tmp $ pear install --packagingroot=/tmp/pear
--nodeps PEAR-1.4.8.tgz
warning: pear/PEAR requires package
"pear/Archive_Tar" (recommended version 1.3.1)
warning: pear/PEAR requires package
"pear/Console_Getopt" (recommended version 1.2)
pear/PEAR can optionally use package
"pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/PEAR-1.4.8
PEAR: Optional feature webinstaller available (PEAR's
web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's
PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's
PHP-GTK2-based installer)
To install use "pear install pear/PEAR#featurename"
glen@builder /tmp $ rm -rf /tmp/pear
glen@builder /tmp $ pear install --packagingroot /tmp/pear
--nodeps PEAR-1.4.8.tgz
warning: pear/PEAR requires package
"pear/Archive_Tar" (recommended version 1.3.1)
warning: pear/PEAR requires package
"pear/Console_Getopt" (recommended version 1.2)
pear/PEAR can optionally use package
"pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/PEAR-1.4.8
PEAR: Optional feature webinstaller available (PEAR's
web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's
PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's
PHP-GTK2-based installer)
To install use "pear install pear/PEAR#featurename"
glen@builder /tmp $ pear list
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.2 stable
Console_Getopt 1.2 stable
PEAR 1.4.8 stable
XML_RPC 1.4.4 stable