Serveurs Privés Virtuels (VPS) - VPS install PHP for apache2
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

VPS install PHP for apache2

Von
PaulD7
Erstellungsdatum 2019-06-25 12:33:55 (edited on 2024-09-04 11:48:58) in Serveurs Privés Virtuels (VPS)

Bonjour,
Je cherche à installer PHP sur mon VPS Ubuntu 18.04 Server mais j'ai cet erreur

Err :1 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-apt amd64 1.6.3ubuntu1
404 Not Found [IP : 91.189.91.23 80]

Il ne trouve pas lien du repository
Comment puis je faire ?

Merci


3 Antworten ( Latest reply on 2019-06-26 08:48:44 Von
Jalinn
)

c'est pas le dépôt qu'il ne trouve pas, c'est ton paquet en version 1.6.3

le paquet officiel:

```text
rmadison -u ubuntu python3-apt

python3-apt | 1.6.0 | bionic | amd64, i386
python3-apt | 1.6.4 | bionic-updates | amd64, i386
```
tu as fait un `un apt update` avant?

Oui j'ai fait un apt-get update et dedans j'ai :

Err :51 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main armhf Packages
404 Not Found [IP : 91.189.88.24 80]

```text tu es sur un armhf?
quel est ton VPS?

```text
python3-apt | 1.6.0 | bionic | amd64, arm64, armhf, i386, ppc64el, s390x
python3-apt | 1.6.4 | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x
```

The Ubuntu Cloud Archive: https://wiki.ubuntu.com/OpenStack/CloudArchive ```

Hello !

j'ai vu passé une info sur la ML BAR et je pense que ce comportement est liée à un bug python :
https://bugs.debian.org/931044

Workaroud fournis par la personne en question consiste à "_virer les f avant les strings aux lignes 1014 et après_" du fichier de configuration python.
Ex :
>sed -i '1014,1015s/f"/"/' /usr/lib/python3.4/http/client.py

A voir si ça corrige dans ton cas.
Essaie de refaire un update/upgrade au besoin des fois que ce soit déjà corrigé.

Jalinn