Page 1 sur 1

[AUR] Paquets invalides ou corrompus (résolu)

Publié : mer. 08 mai 2013, 13:34
par T D
Bonjour :)

Depuis quelques semaines, je ne peux plus installer de paquets venant d'AUR car ils sont tous invalides ou corrompus d'après Yaourt. Pour décrire précisément ce qui se passe, je prend l'exemple d'une tentative d'installation de Fontmatrix. Lorsque je fais yaourt -S fontmatrix, j'obtiens les commentaire et la demande d'édition du PKGBUILD et je peux lancer la compilation. Là, tout se passe normalement (les dépendances étaient déjà présentes sur mon système) et, lorsque la compilation est terminée, yaourt demande si je veux installer le package. En répondant O, il me renvoie ce type de message :

Code : Tout sélectionner

==> Nettoyage de l'installation…
  -> Suppression des fichiers indésirables…
  -> Compression des pages de man/info…
  -> Nettoyage des symboles inutiles dans les fichiers binaires et les bibliothèques…
==> Création du paquet « fontmatrix »...
  -> Génération du fichier .PKGINFO…
  -> Generating .MTREE file...
  -> Compression du paquet… 
==> Création finie : fontmatrix 0.6.0-5 (mer. mai  8 13:04:53 CEST 2013)

==> Installer fontmatrix ? [O/n]
==> [A]fficher le contenu du paquet [V]érifier avec namcap
==> ------------------------------------------------------
==> O

chargement des paquets…
Erreur: '/tmp/yaourt-tmp-root/PKGDEST.lSj/fontmatrix-0.6.0-5-x86_64.pkg.tar.xz': paquet invalide ou corrompu (signature PGP)
==> ATTENTION: Paquets conservés dans /tmp/yaourt-tmp-root
J'ai fait quelques recherches et j'ai trouvé des sujets sur des problèmes d'installation hors AUR où il était question de vérification des signatures, de réinstallation de package-query, etc. mais rien ne fonctionne. J'ai même régénéré toutes les signatures sans plus de succès.

Pouvez-vous m'aider ?

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 14:47
par hopimet
Salut,

Peux tu publier ton pacman.conf ?

Code : Tout sélectionner

cat /etc/pacman.conf

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 14:50
par T D

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
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SigLevel = Required DatabaseOptional
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace
Color

#
# 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]
#Include = /etc/pacman.d/mirrorlist

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

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

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

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

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

#[catalyst]
#Server = http://catalyst.apocalypsus.net/repo/catalyst/$arch

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

#[multilib-testing]
#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]
#Server = file:///home/custompkgs

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 15:47
par coincoin
Celà marche sans problème en ne passant pas par yaourt et faire ça avec makepkg directement ?

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 17:10
par T D
J'ai essayé d'installer manuellement le paquet comme indiqué dans le wiki, et j'ai toujours le même message d'erreur :

Code : Tout sélectionner

$ tar zxvf fontmatrix.tar.gz
$ cd fontmatrix
$ makepkg -s
# pacman -U fontmatrix-0.6.0-5-x86_64.tar.xz
Erreur: 'fontmatrix-0.6.0-5-x86_64.tar.xz': paquet invalide ou corrompu (signature PGP)

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 20:16
par FoolEcho
Salut,

Dans ton pacman.conf, il te manque:

Code : Tout sélectionner

LocalFileSigLevel = Optional

Re: [AUR] Paquets invalides ou corrompus

Publié : mer. 08 mai 2013, 20:48
par T D
Merci FoolEcho, ça a résolu le problème. J'avais oublié cette ligne en comparant /etc/pacman.conf et /etc/pacman.conf.new.

Problème résolu !