#1 Le 18/11/2015, à 23:15
- xunil2003
Créer un dépôt Ubuntu deb depuis un hébergeur web
Bonjour,
Ayant créé plusieurs applications en python, je voudrais savoir comment créer un dépôt deb Ubuntu en utilisant un compte chez un hébergeur web (sans serveur personnel).
je ne souhaite pas garder une machine allumée 24/24.
Attention : ne pas confondre avec un dépôt local.
Objectif : Créer un dépôt accessible à tous depuis un hébergeur web.
J'ai fait ceci :
Mon hébergeur est Free.
http://test.free.fr
PS : J'ai remplacé le nom du dépôt par test pour l'anonymat.
Le nom du dépôt est test.
Sur le dépôt mes fichiers (paquets deb) sont dans "http://test.free.fr/deb/"
A mon pc dans mon fichier "/etc/apt/sources.list" j'ai ajouté à la fin du fichier, les lignes suivantes
## Dépöt test
deb http://test.free.fr/deb/ trusty main
afin que l'utilisateur puisse installer mes applis via le terminal ou le mode graphique ?
Mais au 1er essai quand je fait un update j'ai des erreurs ?
laurent@laurent-PC-Bureau:~$ sudo apt-get update
Ign http://test.free.fr trusty InRelease
Ign http://dl.google.com stable InRelease
Ign http://extras.ubuntu.com trusty InRelease
Atteint http://security.ubuntu.com trusty-security InRelease
Ign http://ppa.launchpad.net trusty InRelease
Atteint http://dl.google.com stable Release.gpg
Atteint http://extras.ubuntu.com trusty Release.gpg
Ign http://test.free.fr trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Atteint http://security.ubuntu.com trusty-security/main Sources
Atteint http://dl.google.com stable Release
Atteint http://extras.ubuntu.com trusty Release
Atteint http://ppa.launchpad.net trusty InRelease
Atteint http://security.ubuntu.com trusty-security/restricted Sources
Ign http://test.free.fr trusty Release
Atteint http://extras.ubuntu.com trusty/main Sources
Atteint http://dl.google.com stable/main amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Atteint http://security.ubuntu.com trusty-security/universe Sources
Atteint http://extras.ubuntu.com trusty/main amd64 Packages
Atteint http://dl.google.com stable/main i386 Packages
Atteint http://ppa.launchpad.net trusty InRelease
Atteint http://security.ubuntu.com trusty-security/multiverse Sources
Ign http://fr.archive.ubuntu.com trusty InRelease
Atteint http://extras.ubuntu.com trusty/main i386 Packages
Atteint http://ppa.launchpad.net trusty Release.gpg
Atteint http://security.ubuntu.com trusty-security/main amd64 Packages
Atteint http://ppa.launchpad.net trusty Release.gpg
Atteint http://security.ubuntu.com trusty-security/restricted amd64 Packages
Atteint http://ppa.launchpad.net trusty/main amd64 Packages
Atteint http://security.ubuntu.com trusty-security/universe amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates InRelease
Atteint http://ppa.launchpad.net trusty/main i386 Packages
Atteint http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Atteint http://ppa.launchpad.net trusty/main Translation-en
Atteint http://security.ubuntu.com trusty-security/main i386 Packages
Atteint http://ppa.launchpad.net trusty Release.gpg
Atteint http://security.ubuntu.com trusty-security/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports InRelease
Atteint http://ppa.launchpad.net trusty/main amd64 Packages
Atteint http://security.ubuntu.com trusty-security/universe i386 Packages
Atteint http://ppa.launchpad.net trusty/main i386 Packages
Atteint http://security.ubuntu.com trusty-security/multiverse i386 Packages
Atteint http://ppa.launchpad.net trusty/main Translation-en
Atteint http://security.ubuntu.com trusty-security/main Translation-en
Atteint http://ppa.launchpad.net trusty Release
Atteint http://security.ubuntu.com trusty-security/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty Release.gpg
Atteint http://ppa.launchpad.net trusty Release
Atteint http://security.ubuntu.com trusty-security/restricted Translation-en
Atteint http://ppa.launchpad.net trusty Release
Atteint http://security.ubuntu.com trusty-security/universe Translation-en
Atteint http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://extras.ubuntu.com trusty/main Translation-fr_FR
Ign http://dl.google.com stable/main Translation-fr_FR
Atteint http://fr.archive.ubuntu.com trusty-updates/main Sources
Ign http://extras.ubuntu.com trusty/main Translation-fr
Ign http://dl.google.com stable/main Translation-fr
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en
Atteint http://ppa.launchpad.net trusty/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted Sources
Atteint http://ppa.launchpad.net trusty/main Translation-en
Atteint http://ppa.launchpad.net trusty/main amd64 Packages
Atteint http://ppa.launchpad.net trusty/main i386 Packages
Atteint http://ppa.launchpad.net trusty/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/universe Sources
Atteint http://ppa.launchpad.net trusty/main amd64 Packages
Atteint http://ppa.launchpad.net trusty/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty-updates/main amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Err http://test.free.fr trusty/main amd64 Packages
404 Not Found
Err http://test.free.fr trusty/main i386 Packages
404 Not Found
Atteint http://fr.archive.ubuntu.com trusty-updates/universe amd64 Packages
Ign http://test.free.fr trusty/main Translation-fr_FR
Ign http://ppa.launchpad.net trusty/main Translation-fr_FR
Ign http://ppa.launchpad.net trusty/main Translation-fr
Ign http://test.free.fr trusty/main Translation-fr
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Ign http://test.free.fr trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/universe Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/main Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty-backports/main amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/universe amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Translation-en
Atteint http://fr.archive.ubuntu.com trusty Release
Atteint http://fr.archive.ubuntu.com trusty/main Sources
Atteint http://fr.archive.ubuntu.com trusty/restricted Sources
Atteint http://fr.archive.ubuntu.com trusty/universe Sources
Atteint http://fr.archive.ubuntu.com trusty/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty/main amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty/restricted amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty/universe amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty/multiverse amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/main Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-en
Ign http://fr.archive.ubuntu.com trusty/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com trusty/universe Translation-fr_FR
W: Impossible de récupérer http://test.free.fr/deb/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://test.free.fr/deb/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
laurent@laurent-PC-Bureau:~$
Quelle erreur ai-je fait ?
Que faut-il mettre après :
deb http://test.free.fr/deb/
Pouvez-vous m'aiguiller, me conseiller, doc, etc .. ?
Merci.
Dernière modification par xunil2003 (Le 19/11/2015, à 00:03)
- AMD R9 5950x 64 Go Ram / Intel Pentium I7 960 - 12 Go Ram - 6 T0 - Kubuntu 12.04 x64 / Kubuntu 14.04 x64 / Kubuntu 16.04 x64 / Kubuntu 18.04 x64 / Kubuntu 20.04 x64 / Mint
- DreamPlug Multi Boot / Marvel 1.22 Ghz / Architecture ARM / 512 Mo Ram / Carte-sd 16 Go class 10 / 5 Watts / Debian Squeeze 2.6.39.4
- Raspberry PI 1 / Raspberry PI 2 / Raspberry PI 3 / Raspberry PI 4 : 4Gb
JE SUIS CHARLIE
Hors ligne
#2 Le 19/11/2015, à 00:42
- tiramiseb
Re : Créer un dépôt Ubuntu deb depuis un hébergeur web
Salut,
Il y a différents fichiers à mettre sur le site ("Packages", etc) et une arborescence particulière.
Par contre je ne saurais pas t'indiquer une doc. Probablement chez Debian tu trouveras ton bonheur...
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne