[AUR] signatures manquantes[Résolu]

Mise à jour / Création /debug de paquetages
Répondre
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

[AUR] signatures manquantes[Résolu]

Message par stantor »

Salut !

J'essais d'installer deux paquetages "carla" et "xnview", mais ces deux ont besoins de signatures manquantes, je ne trouve pas de solutions, pas de clés dispo dans le PKGBUILD...
https://aur.archlinux.org/packages/carla/

Code : Tout sélectionner

erreur : '/tmp/yaourt-tmp-otsoa/PKGDEST.emV/libpng12-1.2.53-2-x86_64.pkg.tar.xz': paquet pour lequel la signature requise est manquante
Dernière modification par stantor le ven. 06 nov. 2015, 12:03, modifié 1 fois.
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

Bonsoir,
Il va falloir développer... Tout d'abord tu as un souci avec libpng12 et non carla. De plus je n'ai encore jamais vu une telle erreur, et je n'ai aucun souci de mon côté.
Quelle est le contenu de ton /etc/pacman.conf ? Tu n'aurais pas modifié certaines options par défaut ??
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
BlondVador
Chu Ko Nu
Messages : 302
Inscription : ven. 29 janv. 2010, 21:41

Re: [AUR] signatures manquantes

Message par BlondVador »

Bonsoir,

Cette erreur signifie que ça ne passe pas le sha256sum, seulement après vérification celui du PKGBUILD correspond à celui des archives téléchargées.

Je n'ai également aucun soucis de mon côté pour installer libpng12. Peut-être un problème de téléchargement de ton côté, je t'invite à réessayer.
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

Oui, j'ai fait des modifs en rajoutant des déports. Je les postes ce soir. Ce qui est bizarre c'est qu'avant de bidouiller pour trouver une solution, javais un message toujours pour libpng12 un peu différent:

Code : Tout sélectionner

erreur : libpng12 : signature requise manquante
erreur : la validation de la transaction a échoué (paquet pour lequel la signature requise est manquante)
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

BlondVador a écrit :Cette erreur signifie que ça ne passe pas le sha256sum, seulement après vérification celui du PKGBUILD correspond à celui des archives téléchargées.
.
Non c'est faux, le paquet a été construit, c'est bien un problème à l'installation. Le message est totalement différent dans le cas que tu décris
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

Bon je poste tout le contenu, j'ai juste rajouté deux dépots, et changer des options de "Siglevel". D'ailleurs j'ai pas tout compris encore niveau sécurité des dépots.

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
#[alucryd-multilib]
#Server = http://pkgbuild.com/~alucryd/$repo/x86_64
SigLevel = Optional#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
#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 = Required
#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]

#Include = /etc/pacman.d/mirrorlist

[core]

Include = /etc/pacman.d/mirrorlist

[extra]

Include = /etc/pacman.d/mirrorlist

#[community-testing]

#Include = /etc/pacman.d/mirrorlist

[community]

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
Include = /etc/pacman.d/mirrorlist

#[multilib-testing]

#Include = /etc/pacman.d/mirrorlist

[multilib]

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 = Optional TrustAll
Server = http://repo.archlinux.fr/$arch


#[archstudio]
# optimized for Intel core i3/i5/i7
# Details: http://www.xsounds.org/~archstudio
#Server = http://www.xsounds.org/~archstudio/x86_64
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

stantor a écrit :et changer des options de "Siglevel". D'ailleurs j'ai pas tout compris encore niveau sécurité des dépots.
Je vais paraitre un peu brutal, mais pourquoi as tu changé les options de "Siglevel" surtout si tu ne maitrise pas la chose ? Car cela paraissait évident que le problème venait de là... Par défaut la sécurité est relativement correct, à moins de savoir ce que l'on fait, on évite de toucher à ce genre de chose.

Bref, remplace tout ton pacman.conf par celui-ci :

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

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

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

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

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

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

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

# 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
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
BlondVador
Chu Ko Nu
Messages : 302
Inscription : ven. 29 janv. 2010, 21:41

Re: [AUR] signatures manquantes

Message par BlondVador »

benjarobin a écrit :
BlondVador a écrit :Cette erreur signifie que ça ne passe pas le sha256sum, seulement après vérification celui du PKGBUILD correspond à celui des archives téléchargées.
.
Non c'est faux, le paquet a été construit, c'est bien un problème à l'installation. Le message est totalement différent dans le cas que tu décris
En effet, j'étais tombé sur un thread sur les forums anglais qui où un intervenant "expliquait" ce message d'erreur. J'ai repris ses termes et je les ai traduit sans vérifier.
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

benjarobin a écrit : Je vais paraitre un peu brutal, mais pourquoi as tu changé les options de "Siglevel" surtout si tu ne maitrise pas la chose ? Car cela paraissait évident que le problème venait de là... Par défaut la sécurité est relativement correct, à moins de savoir ce que l'on fait, on évite de toucher à ce genre de chose.
Non, pas de soucis, je découvre et en essayant de me débrouiller par moi même en suivant des sujet sur le net, j'ai lu de faire ça justement pour résoudre ce problème, je ne retrouve plus le lien.
Par contre j'ai toujours un soucis à l'installation de "libpng12":

Code : Tout sélectionner

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

Mot de passe [sudo] de otsoa :
chargement des paquets...
erreur : '/tmp/yaourt-tmp-otsoa/PKGDEST.4l8/libpng12-1.2.53-2-x86_64.pkg.tar.xz': paquet pour lequel la signature requise est manquante
==> ATTENTION: Paquets conservés dans /tmp/yaourt-tmp-otsoa
cp : voulez-vous écraser « /tmp/yaourt-tmp-otsoa/libpng12-1.2.53-2-x86_64.pkg.tar.xz » ?
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

Peux tu donner la sortie de :

Code : Tout sélectionner

grep -Ev "^ *#|^ *$" /etc/pacman.conf
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

Bizarre cette commande ^^...

Code : Tout sélectionner

grep -EV "^ *#|^ *$" /etc/pacman.conf
grep (GNU grep) 2.22
Copyright © 2015 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 ou ultérieure <http://gnu.org/licenses/gpl.html>.
Logiciel libre : vous êtes libre de le modifier ou de le redistribuer.
Il n'y a AUCUNE GARANTIE, dans les limites autorisées par la loi.

Écrit par Mike Haertel et autres, consultez <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

J'ai fait une erreur de frappe dans le message précédent, c'est corrigé... Je l'avais tapé avec mon smartphone... Try again :-) Désolé
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

OK, thx, voici le retour:

Code : Tout sélectionner

grep -Ev "^ *#|^ *$" /etc/pacman.conf
[options]
SigLevel = Optional#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
Architecture = auto
CheckSpace
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Required
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[archlinuxfr]
SigLevel = Optional TrustAll
Server = http://repo.archlinux.fr/$arch
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17264
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [AUR] signatures manquantes

Message par benjarobin »

C'est bien ce qu'il me semblait... Tu es têtu ou tu n'as pas lu mon message viewtopic.php?p=148376#p148376 ??
Ton fichier de configuration de pacman n'est pas bon. Remplace intégralement par ce que j'ai donné !!!
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
stantor
Hankyu
Messages : 34
Inscription : jeu. 29 oct. 2015, 13:25

Re: [AUR] signatures manquantes

Message par stantor »

C'est bizarre c'est pourtant ce que j'ai fait hier au soir, si ça se trouve j'ai pas sauvegarder en quittant.

[edit]Ok, ca marche ! Merci ;)[/edit]
Gigabyte Z87P-D3/ Intel core i5 /32Go RAM/ SSD PNY 480 Go SATA III - SSD7CS900-480-PB / NVidia Geforce GTX 980Ti
Répondre