antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
UnWork

[Freebsd] Install Php5

19 posts in this topic

porra alguém ja teve esse erro fdp 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
antiblock
Elveron

ainda assim não da 

Share this post


Link to post
Share on other sites

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
Sim, totalmente funcionais

Share this post


Link to post
Share on other sites

pkg update

pkg upgrade

 

e novamente:

 

pkg install -y php56

 

 

Verifica se funciona.

Share this post


Link to post
Share on other sites
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

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

não existe ;-;

Share this post


Link to post
Share on other sites

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
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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this