Pourtant, les jeux sont loin d'être faits !!!!! :D

Bonjour,
J'essaie d'installer curl pour php 7.
je suis sous linux ubuntu 16.XXX

la commande est pourtant simple :
sudo apt-get install php7.0-curl
ou
sudo apt-get install curl

voilà la réponse :

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libapache2-mod-php7.0 libcurl3 php7.0-cli php7.0-common php7.0-json
  php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml
Suggested packages:
  php-pear
The following NEW packages will be installed:
  libcurl3 php7.0-curl
The following packages will be upgraded:
  libapache2-mod-php7.0 php7.0-cli php7.0-common php7.0-json php7.0-mysql
  php7.0-opcache php7.0-readline php7.0-xml
8 upgraded, 2 newly installed, 0 to remove and 83 not upgraded.
Need to get 3,915 kB of archives.
After this operation, 739 kB of additional disk space will be used.
Do you want to continue? [Y/n] Err:1 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-xml amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:1 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-xml amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:2 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-readline amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Ign:3 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-opcache amd64 7.0.15-0ubuntu0.16.10.2
Ign:4 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-mysql amd64 7.0.15-0ubuntu0.16.10.2
Err:2 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-readline amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:3 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-opcache amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:4 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-mysql amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:5 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-json amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Ign:6 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-cli amd64 7.0.15-0ubuntu0.16.10.2
Ign:7 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 libapache2-mod-php7.0 amd64 7.0.15-0ubuntu0.16.10.2
Ign:8 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-common amd64 7.0.15-0ubuntu0.16.10.2
Ign:9 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 libcurl3 amd64 7.50.1-1ubuntu1.1
Ign:10 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 php7.0-curl amd64 7.0.15-0ubuntu0.16.10.2
Err:5 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-json amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:6 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-cli amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:7 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 libapache2-mod-php7.0 amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:8 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-common amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]
Err:9 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 libcurl3 amd64 7.50.1-1ubuntu1.1
  404  Not Found [IP: 91.189.91.26 80]
Err:10 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 php7.0-curl amd64 7.0.15-0ubuntu0.16.10.2
  404  Not Found [IP: 91.189.91.26 80]

je suis un peu tou nu :D :D

quelqu'un peu m'aider ?

@pluche.

Pierre

9 réponses


keulu
Réponse acceptée

dans /etc/apt/sources.list.d/ après, avec une petite recherche sur google, tu trouveras bien des repo archive ou old-release pour yakkety

et si jamais tu doit reinstaller ton system, prend pas forcement la dernière version, mais prend une version LTS (long term support)

Pierrot01
Auteur
Réponse acceptée

@Psylozoff, merci mais je préfére updater mon system ;)
pour info, je dois avoir une dizaine de site dessus et une bonnes vingtaine de bases de données.
de plus, tout reparamètrer doit être un taf de titan :D
@keulu, merci, je l'avais vu, mais grace à ton message, j'ai insisté et mon curl est installé ;)
@pluche.
Pierre.

yakkety est bien la release qui correspond a 16.X

SAUF QUE !!!!!

yakkety est en End Of Life depuis le 20 juillet 2017. plus de mise a jour de secu (donc plus de repo secu) et je pense qu'il va te falloir changer de repo pour les sources. et ca m'a l'air coton d'en trouver.

sinon tu peux tjrs essayer de passer en 17.04 en faisant un apt dist-upgrade

Salut,
Merci d'avoir répondu ;)
Mais je suis une bille sous linux :D :D
changé de dépot, j'veux bien, mais comment et lequel.

@plus
Pierre

Salut,

"sinon tu peux tjrs essayer de passer en 17.04 en faisant un apt dist-upgrade"

c'est riqué ça ?
et surtout simple ?

Merci.

Pierre

Evite les releases x.10 :-s A moins d'être forcé! Les releases x.04 sont les plus sûres!

En tout cas va falloir que tu pratiques l'administration de ton serveur :-s Utiliser des services sur un serveur dont tu ne maitrises pas l'admin c'est comme se muscler les bras et rester assis toute la journée... Tu vas finir par te baisser le dos ou le bassin :-p

@Psylozoff, c'est une VM que j'utilise pour développer.
Je laisse l'administration des serveurs à de vrai pro ;)

@keulu,
" tu trouveras bien des repo archive ou old-release pour yakkety"
j'ai vu ça, je suis dessus ;)

@plus

Pierre.

Si tu utilises une VM c'est d'autant plus simple d'en faire une seconde avec un linux LTS puis migrer le contenu significatif :-s