Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Download of "pecl/json" succeeded, but it is not a valid package archive
#1

I'm in the process of upgrading the webserver backup server (making it as up to date as the server in amsterdam) and got an error installng the json component,

 

Quote:[root@www ~]# pear install pecl/jsondownloading json-1.2.1.tgz ...

Starting to download json-1.2.1.tgz (-1 bytes)

....done: 3,585 bytes

Could not get contents of package "/tmp/tmp6dS4fR/json-1.2.1.tgz". Invalid tgz file.

Download of "pecl/json" succeeded, but it is not a valid package archive

Error: cannot download "pear/json"
 

 

reason why ?

 

because the http://pecl.php.net/ site is down...

 

Quote:ERROR: 

* DB Error: connect failed
 

any workaround ? or must I wait until it's back up again ?

Reply
#2

solved their site is back up again

 

Quote:Build complete.(It is safe to ignore warnings about tempnam and tmpnam).

 

running: make INSTALL_ROOT="/var/tmp/pear-build-root/install-json-1.2.1" install

Installing shared extensions: /var/tmp/pear-build-root/install-json-1.2.1/usr/lib/php/modules/

running: find "/var/tmp/pear-build-root/install-json-1.2.1" -ls

16859048 4 drwxr-xr-x 3 root root 4096 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1

16859089 4 drwxr-xr-x 3 root root 4096 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1/usr

16859090 4 drwxr-xr-x 3 root root 4096 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1/usr/lib

16859091 4 drwxr-xr-x 3 root root 4096 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1/usr/lib/php

16859092 4 drwxr-xr-x 2 root root 4096 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1/usr/lib/php/modules

16859088 80 -rwxr-xr-x 1 root root 76122 Jan 4 10:54 /var/tmp/pear-build-root/install-json-1.2.1/usr/lib/php/modules/json.so

 

Build process completed successfully

Installing '/var/tmp/pear-build-root/install-json-1.2.1//usr/lib/php/modules/json.so'

install ok: channel://pear.php.net/json-1.2.1
Reply
#3
Glad you could get it solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)