UnWork 198 Posted August 14, 2016 porra alguém ja teve esse erro da porra? ===> License PHP301 accepted by the user ===> Found saved configuration for php5-5.4.17 ===> php5-5.4.17 depends on file: /usr/local/sbin/pkg - found => php-5.4.17.tar.gz is not in /usr/ports/lang/php5/distinfo. => Either /usr/ports/lang/php5/distinfo is out of date, or => php-5.4.17.tar.gz is spelled incorrectly. *** [do-fetch] Error code 1 Stop in /usr/ports/lang/php5. *** [install] Error code 1 Stop in /usr/ports/lang/php5. Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 pkg install php56 1 UnWork reacted to this Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 ainda assim não da Share this post Link to post Share on other sites
Inconnu 235 Posted August 14, 2016 https://forums.freebsd.org/threads/15783/ Pode ser que te ajude esse link 1 UnWork reacted to this Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 https://forums.freebsd.org/threads/15783/ Pode ser que te ajude esse link Também não vai de jeito nenhum :( Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 ping 8.8.8.8 e ping google.com vê se ambos funcionam, para despistar algum problema de ligação à internet. Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 Sim, totalmente funcionais Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 pkg update pkg upgrade e novamente: pkg install -y php56 Verifica se funciona. Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 root@:~ # pkg update No active remote repositories configured. root@:~ # root@:~ # pkg upgrade No active remote repositories configured. root@:~ # pkg install -y php56 pkg: No packages available to install matching 'php56' have been found in the repositories Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 Verifica se existe e coloca aqui o conteúdo do ficheiro /etc/pkg/FreeBSD.conf sff. Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 Então é esse o problema :/Cria esse ficheiro com este conteúdo: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } Grava o ficheiro, depois tenta:pkg update Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 pkg update Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 968 B 1.0kB/s 00:01 pkg: Error loading trusted certificates repository FreeBSD has no meta file, using default settings Fetching packagesite.txz: 100% 5 MiB 475.3kB/s 00:12 " pkg: Error loading trusted certificates" Share this post Link to post Share on other sites
MiguelSousa 55 Posted August 14, 2016 Edita então para: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", enabled: yes } Isso significa que existe algo errado com a instalação do freebsd já agora. A iso original contém isso já pré-configurado Share this post Link to post Share on other sites
UnWork 198 Posted August 14, 2016 Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 968 B 1.0kB/s 00:01 Fetching packagesite.txz: 100% 5 MiB 950.6kB/s 00:06 Terminou ai, mas não deu nenhuma mensagem de terminada Share this post Link to post Share on other sites