guia que estou usando para instalar:
https://github.com/portabilis/ieducar/wiki/Passos-para-instalação-do-i-Educar-no-S.O-Ubuntu-Linux
Quando chego neste ponto descrito abaixo,dá erro por não encontrar arquivo ou diretório.
instalação dos pacotes PEAR( dependências i-educar)
bash ~/ieducar/ieducar/scripts.......packages.sh
como faço para resolver este problema?
Autor: clestenis martins

77 comentários
Portabilis Tecnologia
www.portabilis.com.br
fatal: destination path 'ieducar' already exists and is not an empty directory. Atenciosamente, Clestenis de Oliveira Martins
www.portabilis.com.br
ieducar@ieducar-laptop ~ $ bash ~/ieducar/ieducar/scripts/install_pear_packages.sh ** Instalando dependencias i-Educar
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading XML_RPC2-1.1.2.tgz ...
Starting to download XML_RPC2-1.1.2.tgz (67,331 bytes)
.................done: 67,331 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/XML_RPC2-1.1.2.tgz"
Download of "pear/XML_RPC2" succeeded, but it is not a valid package archive
Error: cannot download "pear/XML_RPC2"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Cache_Lite-1.7.16.tgz ...
Starting to download Cache_Lite-1.7.16.tgz (32,997 bytes)
...done: 32,997 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Cache_Lite-1.7.16.tgz"
Download of "pear/Cache_Lite" succeeded, but it is not a valid package archive
Error: cannot download "pear/Cache_Lite"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
........done: 23,214 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Mail-1.2.0.tgz"
Download of "pear/Mail" succeeded, but it is not a valid package archive
Error: cannot download "pear/Mail"
Download failed
install failed
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
downloading Net_SMTP-1.6.2.tgz ...
Starting to download Net_SMTP-1.6.2.tgz (13,077 bytes)
.....done: 13,077 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_SMTP-1.6.2.tgz"
Download of "pear/Net_SMTP" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_SMTP"
downloading Net_Socket-1.0.14.tgz ...
Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
...done: 5,600 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_Socket-1.0.14.tgz"
Download of "pear/Net_Socket" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_Socket"
Download failed
install failed
pear/Services_ReCaptcha can optionally use PHP extension "mcrypt"
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading Services_ReCaptcha-1.0.3.tgz ...
Starting to download Services_ReCaptcha-1.0.3.tgz (10,915 bytes)
.....done: 10,915 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Services_ReCaptcha-1.0.3.tgz"
Download of "pear/Services_ReCaptcha" succeeded, but it is not a valid package archive
Error: cannot download "pear/Services_ReCaptcha"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
apache2: unrecognized service Pelo que identifiquei não está validando os arquivos. Por favor me ajude.
Portabilis Tecnologia
www.portabilis.com.br
ABOUT PEAR.PHP.NET/ARCHIVE_TAR-1.3.11
servereduc-HOME-2400 / # cd `pear config-get php_dir`
servereduc-HOME-2400 php # wget -O /tmp/archive.diff "https://pear.php.net/bugs/patch-download.php?id=19746&patch=archive_tar_php55.patch&revision=1355241213"
--2014-09-02 12:30:07-- pear.php.net/bugs/patch-download.php?id=19746&patch=archive_tar_php55.patch&revision=1355241213
Resolvendo pear.php.net (pear.php.net)... 5.77.39.20
Conectando-se a pear.php.net (pear.php.net)|5.77.39.20|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 1293 (1,3K) [application/octet-stream]
Salvando em: “/tmp/archive.diff” 100%[======================================>] 1.293 --.-K/s em 0s 2014-09-02 12:30:09 (9,03 MB/s) - “/tmp/archive.diff” salvo [1293/1293] servereduc-HOME-2400 php # patch -p1 < /tmp/archive.diff
patching file Archive/Tar.php
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] R
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Archive/Tar.php.rej
servereduc-HOME-2400 php # pear upgrade-all
Will upgrade channel://pear.php.net/pear
Will upgrade channel://pear.php.net/xml_util
Will upgrade channel://pear.php.net/archive_tar
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"
downloading PEAR-1.9.5.tgz ...
Starting to download PEAR-1.9.5.tgz (290,006 bytes)
.........done: 290,006 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/PEAR-1.9.5.tgz"
Download of "pear/pear" succeeded, but it is not a valid package archive
Error: cannot download "pear/PEAR"
downloading XML_Util-1.2.3.tgz ...
Starting to download XML_Util-1.2.3.tgz (17,134 bytes)
...done: 17,134 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/XML_Util-1.2.3.tgz"
Download of "pear/xml_util" succeeded, but it is not a valid package archive
Error: cannot download "pear/XML_Util"
downloading Archive_Tar-1.3.12.tgz ...
Starting to download Archive_Tar-1.3.12.tgz (19,863 bytes)
...done: 19,863 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Archive_Tar-1.3.12.tgz"
Download of "pear/archive_tar" succeeded, but it is not a valid package archive
Error: cannot download "pear/Archive_Tar"
Download failed Quanto tentamos efetuar a inserçãs das dependencias do Ieducar, é apresentado a seguinte mensagem: servereduc-HOME-2400 php # cd ..
servereduc-HOME-2400 share # sudo su ieducar
ieducar@servereduc-HOME-2400 /usr/share $ bash ~/ieducar/ieducar/scripts/install_pear_packages.sh ** Instalando dependencias i-Educar
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading XML_RPC2-1.1.2.tgz ...
Starting to download XML_RPC2-1.1.2.tgz (67,331 bytes)
.................done: 67,331 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/XML_RPC2-1.1.2.tgz"
Download of "pear/XML_RPC2" succeeded, but it is not a valid package archive
Error: cannot download "pear/XML_RPC2"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Cache_Lite-1.7.16.tgz ...
Starting to download Cache_Lite-1.7.16.tgz (32,997 bytes)
...done: 32,997 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Cache_Lite-1.7.16.tgz"
Download of "pear/Cache_Lite" succeeded, but it is not a valid package archive
Error: cannot download "pear/Cache_Lite"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
........done: 23,214 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Mail-1.2.0.tgz"
Download of "pear/Mail" succeeded, but it is not a valid package archive
Error: cannot download "pear/Mail"
Download failed
install failed
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
downloading Net_SMTP-1.6.2.tgz ...
Starting to download Net_SMTP-1.6.2.tgz (13,077 bytes)
.....done: 13,077 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_SMTP-1.6.2.tgz"
Download of "pear/Net_SMTP" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_SMTP"
downloading Net_Socket-1.0.14.tgz ...
Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
...done: 5,600 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_Socket-1.0.14.tgz"
Download of "pear/Net_Socket" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_Socket"
Download failed
install failed
pear/Services_ReCaptcha can optionally use PHP extension "mcrypt"
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading Services_ReCaptcha-1.0.3.tgz ...
Starting to download Services_ReCaptcha-1.0.3.tgz (10,915 bytes)
.....done: 10,915 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Services_ReCaptcha-1.0.3.tgz"
Download of "pear/Services_ReCaptcha" succeeded, but it is not a valid package archive
Error: cannot download "pear/Services_ReCaptcha"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[ OK ]
ieducar@servereduc-HOME-2400 /usr/share $ Observa-se que a mesma mensagem é identificada, como antes. Até formatei novamente a unidade em inúmera vezes, porém não estou conseguindo. Este Software é muito bom, e como gostaria de implantar em uma entidade, gostaria de colaborar com a equipe. Att