je souhaiterais installer yaourt mais je n'y parviens pas.
J'ai essayé en rajoutant le dépot archilinux.fr à mon mirrorlist, comme ceci:
Code : Tout sélectionner
Server = http://repo.archlinux.fr/$arch
Server = http://mir.archlinux.fr/$repo/os/$arch
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
Server = http://mir1.archlinux.fr/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch
Code : Tout sélectionner
sudo pacman -Syyu
:: Synchronisation des bases de données de paquets...
Erreur: échec de récupération du fichier 'core.db' depuis repo.archlinux.fr : Not Found
core 61,9K 465,9K/s 00:00:00 [----------------------] 100%
Erreur: échec de récupération du fichier 'extra.db' depuis repo.archlinux.fr : Not Found
extra 856,0K 575,2K/s 00:00:01 [----------------------] 100%
Erreur: échec de récupération du fichier 'community.db' depuis repo.archlinux.fr : Not Found
community 501,1K 572,1K/s 00:00:01 [----------------------] 100%
:: Début de la mise à jour complète du système...
il n'y a rien à faire
Code : Tout sélectionner
[eyome@archbang ~]$ sudo pacman -S yaourt
Erreur: impossible de trouver la cible: yaourt
Du coup, j'essaie l'autre méthode:
Code : Tout sélectionner
[eyome@archbang package-query]$ wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
--2011-10-18 21:24:51-- http://aur.archlinux.org/packages/package-query/package-query.tar.gz
Résolution de aur.archlinux.org... 208.92.232.29
Connexion vers aur.archlinux.org|208.92.232.29|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 566 [application/x-tgz]
Sauvegarde en : «package-query.tar.gz»
100%[======================================>] 566 --.-K/s ds 0s
2011-10-18 21:24:52 (47,4 MB/s) - «package-query.tar.gz» sauvegardé [566/566]
[eyome@archbang package-query]$ tar zxvf package-query.tar.gz
package-query/
package-query/PKGBUILD
[eyome@archbang package-query]$ cd package-query
[eyome@archbang package-query]$ makepkg -si
==> Création du paquet package-query 0.9-1 (mar. oct. 18 21:24:52 CEST 2011)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> Téléchargement de package-query-0.9.tar.gz...
--2011-10-18 21:24:52-- http://mir.archlinux.fr/~tuxce/releases/package-query/package-query-0.9.tar.gz
Résolution de mir.archlinux.fr... 91.121.141.57
Connexion vers mir.archlinux.fr|91.121.141.57|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 368057 (359K) [application/x-gzip]
Sauvegarde en : «package-query-0.9.tar.gz.part»
100%[======================================>] 368 057 562K/s ds 0,6s
2011-10-18 21:24:53 (562 KB/s) - «package-query-0.9.tar.gz.part» sauvegardé [368057/368057]
==> Validation des fichiers sources avec md5sums...
package-query-0.9.tar.gz ... Réussite
==> Extraction des sources...
-> Extraction de package-query-0.9.tar.gz avec bsdtar
==> Lancement de build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.22.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... git
checking for .git/... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
package-query:
Build information:
source code location : .
prefix : /usr
sysconfdir : /etc
conf file : /etc/pacman.conf
localstatedir : /var
database dir : /var/lib/pacman/
compiler : gcc
compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
package-query version : 0.9
using git version : no
git ver :
Variable information:
root working directory : /
aur base url : http://aur.archlinux.org
make all-recursive
make[1] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
Making all in src
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
alpm-query.c: In function ‘alpm_pkg_get_realsize’:
alpm-query.c:499:10: attention : ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
alpm-query.c:501:10: attention : ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function ‘ltostr’:
util.c:467:11: attention : ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
util.c: In function ‘itostr’:
util.c:460:11: attention : ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
util.c: In function ‘string_fcat’:
util.c:342:11: attention : ignoring return value of ‘vasprintf’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
Making all in doc
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[2]: Rien à faire pour « all ».
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
make[1] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
==> Entre dans l'environnement fakeroot...
==> Lancement de package()...
Making install in src
make[1] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
test -z "/usr/bin" || /bin/mkdir -p "/home/eyome/package-query/package-query/pkg/usr/bin"
/bin/sh ../libtool --mode=install /bin/install -c package-query '/home/eyome/package-query/package-query/pkg/usr/bin'
libtool: install: /bin/install -c package-query /home/eyome/package-query/package-query/pkg/usr/bin/package-query
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
make[1] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/src »
Making install in doc
make[1] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[2]: Rien à faire pour « install-exec-am ».
test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/eyome/package-query/package-query/pkg/usr/share/man/man8"
/bin/install -c -m 644 package-query.8 '/home/eyome/package-query/package-query/pkg/usr/share/man/man8'
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[1] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9/doc »
make[1] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
make[2] : on entre dans le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
make[1] : on quitte le répertoire « /home/eyome/package-query/package-query/src/package-query-0.9 »
==> Nettoyage de l'installation...
-> Suppression d'autres fichiers...
-> Compression des pages de man/info...
-> Strip des symboles inutiles dans les binaires et les bibliothèques...
==> Création du paquet...
-> Génération du fichier .PKGINFO...
-> Compression du paquet...
==> Quitte l'environnement fakeroot.
==> Création finie: package-query 0.9-1 (mar. oct. 18 21:25:08 CEST 2011)
==> Installation du paquet package-query avec pacman -U...
Avertissement: package-query-0.9-1 est à jour -- réinstalle
résolution des dépendances...
recherche des conflits entre paquets...
Cibles (1): package-query-0.9-1 [0,02 MB]
Taille totale des paquets (téléchargement): 0,00 Mo
Taille totale des paquets (installation): 0,07 Mo
Procéder à l'installation ? [O/n] o
(1/1) vérification de l'intégrité des paquets [----------------------] 100%
(1/1) analyse des conflits entre fichiers [----------------------] 100%
(1/1) mise à jour de package-query [----------------------] 100%
[eyome@archbang ~]$ sudo yaourt -Syua
sudo: yaourt: command not found