[yaourt] Impossible de réinstaller (Résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
Springbank
archer
Messages : 118
Inscription : mar. 11 oct. 2011, 10:27
Localisation : Bretagne

[yaourt] Impossible de réinstaller (Résolu)

Message par Springbank »

Bonjour à tous,

Après avoir supprimer yaourt pour passer à pacman 4.1, il m'est impossible de le réinstaller:

Code : Tout sélectionner

Paquets (2): package-query-1.2-2  yaourt-1.3-1

Taille totale de téléchargement : 0,07 MiB
Taille totale installé :           0,37 MiB

:: Procéder à l'installation ? [O/n] 
:: Récupération des paquets...
 package-query-1.2-2...    22,5 KiB   511K/s 00:00 [######################] 100%
 yaourt-1.3-1-any          49,7 KiB   789K/s 00:00 [######################] 100%
(2/2) vérification des clés dans le trousseau      [######################] 100%
(2/2) vérification de l'intégrité des paquets      [######################] 100%
Erreur: package-query: missing required signature
:: Le fichier /var/cache/pacman/pkg/package-query-1.2-2-x86_64.pkg.tar.xz est corrompu (paquet invalide ou corrompu (signature PGP)).
Voulez-vous le supprimer ? [O/n] 
Erreur: yaourt: missing required signature
:: Le fichier /var/cache/pacman/pkg/yaourt-1.3-1-any.pkg.tar.xz est corrompu (paquet invalide ou corrompu (signature PGP)).
Voulez-vous le supprimer ? [O/n] 
Erreur: la validation de la transaction a échoué (paquet invalide ou corrompu (signature PGP))
Des erreurs se sont produites, aucun paquet n'a été mis à jour.
Je vois bien qu'il me cause de missing required signature, mais je ne vois pas où...

Mon etc/pacman.conf

Code : Tout sélectionner

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
#SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
SigLevel = PackageRequired
Server = http://repo.archlinux.fr/$arch

Merci de votre aide...
Dernière modification par Springbank le dim. 07 avr. 2013, 14:06, modifié 1 fois.
Desktop: ASUS P8Z77-PRO + INTEL i5-3570K + HDD 1To
Archlinux 64 + Gnome Shell
hopimet
Elfe
Messages : 999
Inscription : mer. 14 mars 2012, 22:48

Re: [yaourt] Impossible de réinstaller

Message par hopimet »

Salut,

Essaie de mettre SigLevel = Never pour archlinuxfr :

Code : Tout sélectionner

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
http://wiki.archlinux.fr/Depot_archlinuxfr
Avatar de l’utilisateur
Springbank
archer
Messages : 118
Inscription : mar. 11 oct. 2011, 10:27
Localisation : Bretagne

Re: [yaourt] Impossible de réinstaller

Message par Springbank »

Merci..
Ça a marché, mais c'est pas un peu risqué de ne pas mettre de vérification des paquets?
Desktop: ASUS P8Z77-PRO + INTEL i5-3570K + HDD 1To
Archlinux 64 + Gnome Shell
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [yaourt] Impossible de réinstaller (Résolu)

Message par FoolEcho »

C'est juste pour le dépôt archlinuxfr, les signatures n'y sont pas mises en place.
«The following statement is not true. The previous statement is true.» :nage:
Répondre