AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / server / Perguntas / 879978
Accepted
Andrew Newby
Andrew Newby
Asked: 2017-10-25 01:56:28 +0800 CST2017-10-25 01:56:28 +0800 CST 2017-10-25 01:56:28 +0800 CST

Não é possível instalar o php-zip no servidor Ubuntu 16.04

  • 772

Estou tentando instalar o php7.0-zip no meu servidor para poder usá-lo em um script PHP, mas recebo um grande erro:

sudo apt-get install php-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libzip4 php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-imap php7.0-intl php7.0-json php7.0-ldap php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-pspell php7.0-readline php7.0-soap
  php7.0-xml php7.0-zip
The following NEW packages will be installed:
  libzip4 php-zip php7.0-zip
The following packages will be upgraded:
  php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-imap php7.0-intl php7.0-json php7.0-ldap php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-pspell php7.0-readline php7.0-soap
  php7.0-xml
19 upgraded, 3 newly installed, 0 to remove and 128 not upgraded.
Need to get 5,865 kB/5,903 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-soap amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:2 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-mcrypt amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:3 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-mbstring amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:4 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-intl amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:5 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-imap amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:6 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-json amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:7 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-opcache amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:8 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-readline amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:9 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-cli amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:10 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-fpm amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:11 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-xml amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:12 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-pspell amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:13 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-mysql amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:14 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-ldap amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:15 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-gd amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:16 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-curl amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:17 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-cgi amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Ign:18 http://mirrors.linode.com/ubuntu xenial-updates/main i386 php7.0 all 7.0.18-0ubuntu0.16.04.1
Err:19 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 php7.0-common amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:20 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 php7.0-zip amd64 7.0.18-0ubuntu0.16.04.1
  404  Not Found
Err:18 http://mirrors.linode.com/ubuntu xenial-updates/main i386 php7.0 all 7.0.18-0ubuntu0.16.04.1
  404  Not Found
E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-soap_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-mcrypt_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-mbstring_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-intl_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-imap_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-json_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-opcache_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-readline_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-cli_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-fpm_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-xml_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-pspell_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-mysql_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-ldap_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-gd_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-cgi_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0_7.0.18-0ubuntu0.16.04.1_all.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/universe/p/php7.0/php7.0-zip_7.0.18-0ubuntu0.16.04.1_amd64.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

o que estou perdendo? O --fix -missing funcionará? Ou apenas fazer com que ele seja instalado sem verificar as dependências etc?

Os detalhes do servidor são:

PHP 7 Ubuntu 6.04

Por favor, deixe-me saber se você precisar de outros detalhes (e onde encontrá-los :))

ubuntu-16.04
  • 1 1 respostas
  • 3951 Views

1 respostas

  • Voted
  1. Best Answer
    Mike
    2017-10-25T11:59:12+08:002017-10-25T11:59:12+08:00

    Certifique-se de executar apt-get updatepara garantir que os metadados estejam sincronizados com os repositórios que você instalou

    • 2

relate perguntas

  • Ubuntu Server 16 LTS sem usb 2.0

  • Criar daemon no Ubuntu 16.04

  • Analisar os picos de memória e CPU do contêiner docker

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Você pode passar usuário/passar para autenticação básica HTTP em parâmetros de URL?

    • 5 respostas
  • Marko Smith

    Ping uma porta específica

    • 18 respostas
  • Marko Smith

    Verifique se a porta está aberta ou fechada em um servidor Linux?

    • 7 respostas
  • Marko Smith

    Como automatizar o login SSH com senha?

    • 10 respostas
  • Marko Smith

    Como posso dizer ao Git para Windows onde encontrar minha chave RSA privada?

    • 30 respostas
  • Marko Smith

    Qual é o nome de usuário/senha de superusuário padrão para postgres após uma nova instalação?

    • 5 respostas
  • Marko Smith

    Qual porta o SFTP usa?

    • 6 respostas
  • Marko Smith

    Linha de comando para listar usuários em um grupo do Windows Active Directory?

    • 9 respostas
  • Marko Smith

    O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL?

    • 3 respostas
  • Marko Smith

    Como determinar se uma variável bash está vazia?

    • 15 respostas
  • Martin Hope
    Davie Ping uma porta específica 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    kernel O scp pode copiar diretórios recursivamente? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh retorna "Proprietário incorreto ou permissões em ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil Como automatizar o login SSH com senha? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin Como lidar com um servidor comprometido? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner Como posso classificar a saída du -h por tamanho 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent Como determinar se uma variável bash está vazia? 2009-05-13 09:54:48 +0800 CST

Hot tag

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve