Re: [Météo] Conky-météo
Publié : ven. 18 janv. 2013, 18:09
Et du coup, ça va mieux, moins de souci ?
Forum d'entraide ! Posez vos questions ici
https://forums.archlinux.fr/
makepkg
avec pacman ou directement avec yaourt , cà revient un peu au même je pense. Code : Tout sélectionner
[moi@ArchLinux ~]$ sudo systemctl start weather_daemon.service
[moi@ArchLinux ~]$ sudo systemctl enable weather_daemon.service
ln -s '/usr/lib/systemd/system/weather_daemon.service' '/etc/systemd/system/multi-user.target.wants/weather_daemon.service'
[moi@ArchLinux ~]$ sudo systemctl status weather_daemon.service
weather_daemon.service - Daemon that can download weather forecast
Loaded: loaded (/usr/lib/systemd/system/weather_daemon.service; enabled)
Active: failed (Result: exit-code) since lun. 2013-09-16 23:10:13 CEST; 18s ago
Main PID: 15341 (code=exited, status=2)
CGroup: name=systemd:/system/weather_daemon.service
sept. 16 23:10:13 ArchLinux systemd[1]: Started Daemon that can download weather forecast.
sept. 16 23:10:13 ArchLinux systemd[1]: weather_daemon.service: main process exited, code=exited, status=2/INVALIDARGUMENT
sept. 16 23:10:13 ArchLinux systemd[1]: Unit weather_daemon.service entered failed state.
[moi@ArchLinux ~]$
Code : Tout sélectionner
# systemctl status weather_daemon.service
Code : Tout sélectionner
# journalctl -b _PID=15341
Code : Tout sélectionner
[moi@ArchLinux ~]$ yaourt -S weather_daemon
==> Téléchargement du PKGBUILD de weather_daemon depuis AUR...
x weather.install
x weather_daemon-0.2.tar.gz
x PKGBUILD
Comment by Chipsterjulien (2013-01-16 10:25)
add file fog.png
Comment by Chipsterjulien (2013-01-25 07:32)
To manage the hibernate and standby, I added a loop. Now the script wake up every 60s to compare the time. If everything is good, it falls asleep immediately
weather_daemon 0.2-6 (mer. déc. 5 11:46:25 UTC 2012)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n
==> Dépendances de weather_daemon :
- python (déjà installé)
- python-yaml (déjà installé)
- python-requests (déjà installé)
==> Éditer weather.install ? [O/n] ("A" pour annuler)
==> -------------------------------------------------
==> n
==> Lancer la compilation de weather_daemon ? [O/n]
==> -----------------------------------------------
==>
==> Construction et installation du paquet
==> Création du paquet weather_daemon 0.2-6 (lun. janv. 12 20:43:32 UTC 2015)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> weather_daemon-0.2.tar.gz trouvé
==> Validation des fichiers sources avec md5sums...
weather_daemon-0.2.tar.gz ... Réussite
==> Extraction des sources...
-> Extraction de weather_daemon-0.2.tar.gz avec bsdtar
==> Lancement de build()...
nothing to do
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
groupadd : PAM : Le service d'authentification n'a pas pu récupérer les informations d'authentification
==> ERREUR : Une erreur s’est produite dans package().
Abandon...
==> ERREUR: Makepkg n'a pas pu construire weather_daemon.
==> Relancer la compilation de weather_daemon ? [o/N]
==> -------------------------------------------------
==>
[moi@ArchLinux ~]$
Code : Tout sélectionner
[moi@ArchLinux ~]$ su
Mot de passe :
[root@ArchLinux moi]# yaourt -S weather_daemon
==> ATTENTION: Construire un paquet en root est dangereux.
Lancez plutôt yaourt en utilisateur non privilégié.
==> Téléchargement du PKGBUILD de weather_daemon depuis AUR...
x weather.install
x weather_daemon-0.2.tar.gz
x PKGBUILD
Comment by Chipsterjulien (2013-01-16 10:25)
add file fog.png
Comment by Chipsterjulien (2013-01-25 07:32)
To manage the hibernate and standby, I added a loop. Now the script wake up every 60s to compare the time. If everything is good, it falls asleep immediately
weather_daemon 0.2-6 (mer. déc. 5 11:46:25 UTC 2012)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n
makepkg: option invalide '--asroot'
Impossible de lire le PKGBUILD
[root@ArchLinux moi]#
Code : Tout sélectionner
[moi@ArchLinux ~]$ yaourt weather_daemon
1 aur/weather_daemon 0.2-6 (0)
Daemon that can download weather forecast on wunderground
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 1
==> Téléchargement du PKGBUILD de weather_daemon depuis AUR...
x weather.install
x weather_daemon-0.2.tar.gz
x PKGBUILD
Comment by Chipsterjulien (2013-01-16 10:25)
add file fog.png
Comment by Chipsterjulien (2013-01-25 07:32)
To manage the hibernate and standby, I added a loop. Now the script wake up every 60s to compare the time. If everything is good, it falls asleep immediately
weather_daemon 0.2-6 (mer. déc. 5 12:46:25 CET 2012)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n
==> Dépendances de weather_daemon :
- python (déjà installé)
- python-yaml (déjà installé)
- python-requests (déjà installé)
==> Éditer weather.install ? [O/n] ("A" pour annuler)
==> -------------------------------------------------
==> n
==> Lancer la compilation de weather_daemon ? [O/n]
==> -----------------------------------------------
==>
==> Construction et installation du paquet
==> Création du paquet weather_daemon 0.2-6 (sam. mars 21 20:52:08 CET 2015)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> weather_daemon-0.2.tar.gz trouvé
==> Validation des fichiers sources avec md5sums...
weather_daemon-0.2.tar.gz ... Réussite
==> Extraction des sources...
-> Extraction de weather_daemon-0.2.tar.gz avec bsdtar
==> Lancement de build()...
nothing to do
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
groupadd : PAM : Le service d'authentification n'a pas pu récupérer les informations d'authentification
==> ERREUR : Une erreur s’est produite dans package().
Abandon...
==> ERREUR: Makepkg n'a pas pu construire weather_daemon.
==> Relancer la compilation de weather_daemon ? [o/N]
==> -------------------------------------------------
==>
Code : Tout sélectionner
[root@ArchLinux moi]# yaourt -Sy weather_daemon
==> ATTENTION: Construire un paquet en root est dangereux.
Lancez plutôt yaourt en utilisateur non privilégié.
:: Synchronisation des bases de données de paquets...
core est à jour
extra est à jour
community est à jour
archlinuxfr est à jour
==> Téléchargement du PKGBUILD de weather_daemon depuis AUR...
x weather.install
x weather_daemon-0.2.tar.gz
x PKGBUILD
Comment by Chipsterjulien (2013-01-16 10:25)
add file fog.png
Comment by Chipsterjulien (2013-01-25 07:32)
To manage the hibernate and standby, I added a loop. Now the script wake up every 60s to compare the time. If everything is good, it falls asleep immediately
weather_daemon 0.2-6 (mer. déc. 5 12:46:25 CET 2012)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==>
Veuillez ajouter $EDITOR à vos variables d'environnement
par exemple :
export EDITOR="vim" (dans ~/.bashrc)
(remplacez vim par votre éditeur favori)
==> Éditer PKGBUILD avec : nano
makepkg: option invalide '--asroot'
Impossible de lire le PKGBUILD
[root@ArchLinux moi]#
je le sais bien mais quand chipster l'a fait de mon coté ca à aussi fonctionnéAnghirrim a écrit :J'avais ce problème ce soir. J'avais tenté l'install en sudo.
J'ai fait un "su -", puis update système en root et enfin yaourté le weather_daemon toujours en root.
C'est passé.
pre_install
et pre_upgrade
pour créer les utilisateurs manquant lorsque le paquet est déployé sur un autre PC que celui qui à construit le paquet