[Manjaro] Problème de trousseau de clefs (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Répondre
boblinux
newbie
Messages : 4
Inscription : mer. 04 mars 2015, 17:36

[Manjaro] Problème de trousseau de clefs (résolu)

Message par boblinux »

Bonjour,
Je suis un novice dans le monde Archlinux (je viens d'Ubuntu =D )
Version Linux 3.12.24-1-MANJARO i686 GNU/Linux (basé sur Archlinux)
j'ai un problème pour mettre à jour ma distrib, ou juste pour télécharger un simple logiciel, voici les messages d'erreurs lors de l'installation d'un paquet (j'ai un message similaire pour d'autres paquets quels qu'ils soient) :

Code : Tout sélectionner

sudo pacman -S tk
[sudo] password for boblinuxz: 
résolution des dépendances...
recherche des conflits entre paquets...

Paquets (2) tcl-8.6-1  tk-8.6-1

Taille totale du téléchargement :   1,77 MiB
Taille totale installée :         11,03 MiB
Taille de mise à jour nette :      4,64 MiB

:: Procéder à l’installation ? [O/n] o
:: Récupération des paquets...
 tk-8.6-1-i686         1814,9 KiB   185K/s 00:10 [######################] 100%
(2/2) vérification des clés dans le trousseau      [######################] 100%
téléchargement des clés requises...
:: Importer la clé PGP 2048R9205AC90, « Eric Belanger <eric@archlinux.org> », créée le 2011-04-20 ? [O/n] o
(2/2) vérification de l’intégrité des paquets      [######################] 100%
erreur : tcl: signature from "Eric Belanger <eric@archlinux.org>" is unknown trust
:: Le fichier /var/cache/pacman/pkg/tcl-8.6-1-i686.pkg.tar.xz est corrompu (paquet invalide ou corrompu (signature PGP)).
Voulez-vous le supprimer ? [O/n] o
erreur : tk: signature from "Eric Belanger <eric@archlinux.org>" is unknown trust
:: Le fichier /var/cache/pacman/pkg/tk-8.6-1-i686.pkg.tar.xz est corrompu (paquet invalide ou corrompu (signature PGP)).
Voulez-vous le supprimer ? [O/n] o
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.
J'ai essayé :

Code : Tout sélectionner

sudo pacman-mirrors -g
:: Querying servers, this may take some time...
Africa
-> 0.716 http://manjaro.mirror.ac.za/stable/$repo/$arch
Australia
-> 1.128 http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
-> 1.299 http://manjaro.mirror.serversaustralia.com.au/stable/$repo/$arch
-> 0.890 http://manjaro.mirror.uber.com.au/stable/$repo/$arch
Bangladesh
-> 1.164 http://mirrors.ispros.com.bd/manjaro/stable/$repo/$arch
Belgium
-> 0.252 http://ftp.belnet.be/manjaro/stable/$repo/$arch
-> 1.457 http://manjaro.cu.be/stable/$repo/$arch
Brasil
-> 4.402 http://manjaro.fis.unb.br/stable/$repo/$arch
-> 2.573 http://www.las.ic.unicamp.br/pub/manjarolinux/stable/$repo/$arch
Chile
-> 0.915 http://manjaro.dcc.uchile.cl/stable/$repo/$arch
China
-> 1.233 http://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
-> 2.271 http://mirror.bjtu.edu.cn/manjaro/stable/$repo/$arch
-> 0.881 http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
Colombia
-> 0.632 http://mirror.edatel.net.co/manjaro/stable/$repo/$arch
Costa_Rica
-> 0.770 http://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
Denmark
-> 0.310 http://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
France
-> 0.240 http://manjarolinux.polymorf.fr/stable/$repo/$arch
-> Error!http://mirror.finn.lu/manjaro/stable/$repo/$arch
Germany
-> 0.219 http://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
-> 0.286 http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
-> 0.270 http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
-> 0.280 http://mirror3.layerjet.com/manjaro/stable/$repo/$arch
-> 0.286 http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
Greece
-> 0.281 http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
India
-> Error!http://manjaro.mirror.net.in/manjaro/stable/$repo/$arch
Indonesia
-> 1.172 http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
-> 1.261 http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
Ireland
-> 0.238 http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
Italy
-> 0.326 http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
Japan
-> 1.321 http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
-> 0.717 http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
Netherlands
-> 0.186 http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
Philippines
-> 2.504 http://mirror.pregi.net/pub/Linux/manjaro/stable/$repo/$arch
Portugal
-> 0.273 http://ftp.dei.uc.pt/pub/linux/manjaro/repos/stable/$repo/$arch
Romania
-> 0.430 http://mirrors.xservers.ro/manjaro/stable/$repo/$arch
-> 0.330 http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
-> 0.360 http://ftp.lug.ro/manjaro/stable/$repo/$arch
-> 0.479 http://manjaro.mirrors.linux.ro/repos/stable/$repo/$arch
Russia
-> 0.363 http://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
South_Korea
-> 0.962 http://mirror.premi.st/manjaro/stable/$repo/$arch
Sweden
-> 0.339 http://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
-> 0.429 http://mirror.zetup.net/manjaro/stable/$repo/$arch
Taiwan
-> 1.425 http://free.nchc.org.tw/manjaro/stable/$repo/$arch
-> 2.032 http://free2.nchc.org.tw/manjaro/stable/$repo/$arch
Turkey
-> 0.263 http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
United_Kingdom
-> 0.203 http://repo.manjaro.org.uk/stable/$repo/$arch
-> ..... http://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/-> 0.180
-> 0.365 http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
-> 0.388 http://manjaro.mirrors.uk2.net/stable/$repo/$arch
United_States
-> 0.575 http://mirror.dacentec.com/manjaro/stable/$repo/$arch
-> 0.854 http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch
-> 0.440 http://mirror.jmu.edu/manjaro/stable/$repo/$arch
-> 0.453 http://mirror.solarvps.com/manjaro/stable/$repo/$arch
-> 0.417 http://mirror.nexcess.net/manjaro/stable/$repo/$arch
-> Error!http://vm1.sorch.info/manjaro/stable/$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.
j'ai essayé :

Code : Tout sélectionner

sudo pacman -Syy
:: Synchronisation des bases de données de paquets...
 core                     132,5 KiB   569K/s 00:00 [######################] 100%
 extra                   1916,7 KiB   716K/s 00:03 [######################] 100%
 community                  2,8 MiB   649K/s 00:04 [######################] 100%
ensuite :

Code : Tout sélectionner

sudo pacman -S archlinux-keyring
résolution des dépendances...
recherche des conflits entre paquets...

Paquets (1) archlinux-keyring-20150212-1

Taille totale du téléchargement :  0,46 MiB
Taille totale installée :         0,64 MiB
Taille de mise à jour nette :     0,06 MiB

:: Procéder à l’installation ? [O/n] o
:: Récupération des paquets...
 archlinux-keyring-2...   472,5 KiB   854K/s 00:01 [######################] 100%
(1/1) vérification des clés dans le trousseau      [######################] 100%
téléchargement des clés requises...
:: Importer la clé PGP 2048R, « Pierre Schmitz <pierre@archlinux.de> », créée le 2011-04-10 ? [O/n] o
erreur : key "Pierre Schmitz <pierre@archlinux.de>" could not be imported
erreur : clé requise absente du trousseau
erreur : la validation de la transaction a échoué (erreur non prévue)
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
j'ai essayé :

Code : Tout sélectionner

sudo pacman-key --populate archlinux manjaro
==> ERREUR : Le fichier de porte-clefs /usr/share/pacman/keyrings/archlinux.gpg n’existe pas.
==> ERREUR : Le fichier de porte-clefs /usr/share/pacman/keyrings/manjaro.gpg n’existe pas.
Peut-être qu'il faut que je récupère directement le fichier archlinux.gpg et manjaro.gpd et que je les copie colle dans mon dossier usr/share/pacman/keyrings/ ? en effet je crois que ce dossier est vide !
ls /usr/share/pacman/keyrings/
ne donne rien, dossier vide :O.

Code : Tout sélectionner

sudo pacman -S archlinux-keyring
résolution des dépendances...
recherche des conflits entre paquets...

Paquets (1) archlinux-keyring-20150212-1

Taille totale installée :     0,64 MiB
Taille de mise à jour nette :  0,06 MiB

:: Procéder à l’installation ? [O/n] o
(1/1) vérification des clés dans le trousseau      [######################] 100%
téléchargement des clés requises...
:: Importer la clé PGP 2048R, « Pierre Schmitz <pierre@archlinux.de> », créée le 2011-04-10 ? [O/n] o
erreur : key "Pierre Schmitz <pierre@archlinux.de>" could not be imported
erreur : clé requise absente du trousseau
erreur : la validation de la transaction a échoué (erreur non prévue)
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
voici mon fichier pacman :

Code : Tout sélectionner

cat /etc/pacman.conf 
#
# /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 manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system
#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 = Optional TrustedOnly
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 Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

#
# 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.
#

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

[extra]
#SigLevel = Optional TrustedOnly
Include = /etc/pacman.d/mirrorlist

[community]
#SigLevel = Optional TrustedOnly
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
voici mon mirrorlist :

Code : Tout sélectionner

cat /etc/pacman.d/mirrorlist 
##
## Manjaro Linux repository mirrorlist
## Generated on 05 March 2015 20:25
##
## Use pacman-mirrors to modify
##


## Location  : United_Kingdom
## Time      : 0.180
## Last Sync : 3:20
Server = http://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch

## Location  : Netherlands
## Time      : 0.186
## Last Sync : 2:30
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch

## Location  : United_Kingdom
## Time      : 0.203
## Last Sync : 0:30
Server = http://repo.manjaro.org.uk/stable/$repo/$arch

## Location  : Ireland
## Time      : 0.238
## Last Sync : 3:00
Server = http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch

## Location  : France
## Time      : 0.240
## Last Sync : 1:10
Server = http://manjarolinux.polymorf.fr/stable/$repo/$arch

## Location  : Germany
## Time      : 0.286
## Last Sync : 0:10
Server = http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

## Location  : Denmark
## Time      : 0.310
## Last Sync : 1:50
Server = http://mirrors.dotsrc.org/manjaro/stable/$repo/$arch

## Location  : Sweden
## Time      : 0.339
## Last Sync : 0:20
Server = http://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch

## Location  : Russia
## Time      : 0.363
## Last Sync : 0:50
Server = http://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch

## Location  : United_Kingdom
## Time      : 0.388
## Last Sync : 0:30
Server = http://manjaro.mirrors.uk2.net/stable/$repo/$arch

## Location  : United_States
## Time      : 0.575
## Last Sync : 0:30
Server = http://mirror.dacentec.com/manjaro/stable/$repo/$arch

## Location  : Costa_Rica
## Time      : 0.770
## Last Sync : 1:30
Server = http://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch

## Location  : China
## Time      : 0.881
## Last Sync : 2:50
Server = http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch

## Location  : Australia
## Time      : 0.890
## Last Sync : 2:00
Server = http://manjaro.mirror.uber.com.au/stable/$repo/$arch

## Location  : Australia
## Time      : 1.299
## Last Sync : 0:30
Server = http://manjaro.mirror.serversaustralia.com.au/stable/$repo/$arch

## Location  : Japan
## Time      : 1.321
## Last Sync : 2:50
Server = http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch

## Location  : Taiwan
## Time      : 1.425
## Last Sync : 1:40
Server = http://free.nchc.org.tw/manjaro/stable/$repo/$arch

## Location  : Brasil
## Time      : 4.402
## Last Sync : 0:30
Server = http://manjaro.fis.unb.br/stable/$repo/$arch

Voilou !
je précise quej 'ai fait pas mal de manip en suivant le tuto en français/anglais de pacman yaourt etc.. mais rien n'y fait, j'y ai passé plusieurs jours sans relâche :|

Merci de votre aide ! car je despespere mais je m'accroche, archlinux me branche vraiment 8) !!
Dernière modification par boblinux le sam. 07 mars 2015, 21:38, modifié 1 fois.
Netbook Samsung NP N150Plus 1 Go Ram, 250 HD.
OS : 3.12.24-1-MANJARO i686 GNU/Linux
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17288
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [trousseau_clef] Problème de trousseau de clefs

Message par benjarobin »

Bonsoir,
Si je comprend bien tes sorties, le paquet archlinux-keyring est même manquant... Ce qui est plus qu'anormal...
Je ne sais pas comment tu as installé ArchLinux, mais surement pas de la manière officiel...

Edit: Je n'avais pas vu que tu étais sous manjaro. Ici c'est le forum ArchLinux et non de manjaro, donc merci de poser ta question sur le forum manjaro
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
boblinux
newbie
Messages : 4
Inscription : mer. 04 mars 2015, 17:36

Re: [trousseau_clef] Problème de trousseau de clefs

Message par boblinux »

J'ai installé manjaro depuis le site )=' et l'ai fait booter avec unetbootin, je ne vois pas ce qu'il y a d'officieux.

Il n'y a pas un moyen pour que je puisse récupérer le fichier manquant et y faire un copier coller dans le repertoire voulu?

Effectivement c'est le forum archlinux ici, je pensais que la base était la même et que manjaro n'était qu'une surcouche d'archlinux, et que potentiellement les problèmes se régleraient de la même façon, autant pour moi ...

J'essayerai de poser la question sur le forum manjaro peut-être que j'y trouvera mon bonheur )=', merci d'avoir répondu rapidement
Netbook Samsung NP N150Plus 1 Go Ram, 250 HD.
OS : 3.12.24-1-MANJARO i686 GNU/Linux
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17288
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [trousseau_clef] Problème de trousseau de clefs

Message par benjarobin »

Le problème c'est qu'il te manque le paquet archlinux-keyring. Or ce paquet est nécessaire pour installer tout paquet, archlinux-keyring compris...
On pourrait toujours bricoler pour y arriver, mais j'ai peur de cacher un souci bien plus important.
Si tu avais été sous ArchLinux, j'aurais indiqué de refaire l'installation, car ceci n'est pas possible...
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
boblinux
newbie
Messages : 4
Inscription : mer. 04 mars 2015, 17:36

Re: [trousseau_clef] Problème de trousseau de clefs

Message par boblinux »

Ok, dois-je réinstaller mon manjaro netbook edition? je ne vois pas ce qui a pu ne pas marché pendant l'installation, j'ai peut-être supprimé le paquet par inadvertence à force de tester les manips sur le net?
je réinstallerais la distrib du coup je ne vois pas d'autres options =/
Netbook Samsung NP N150Plus 1 Go Ram, 250 HD.
OS : 3.12.24-1-MANJARO i686 GNU/Linux
Doline
archer
Messages : 104
Inscription : mer. 25 févr. 2015, 18:25

Re: [trousseau_clef] Problème de trousseau de clefs

Message par Doline »

Salut,

Je viens de manjaro et je suis de l'avis de benjarobin : tu devrais poster sur le forum de cette distribution. Il est très actif et j'ai toujours trouvé les solutions à mes problèmes.

Pour revenir au tien, petite question : ton installation initiale date de combien de temps ? Ne serais tu pas sur une version de test ?

@+

Doline
HP Pro Book 650 - i5. SSD 500Go - RAM : 16Go
Arch Linux x86_64 - Plasma.... Et rien d'autre :mrgreen:
Avatar de l’utilisateur
waitnsea
Maître du Kyudo
Messages : 2114
Inscription : jeu. 15 mars 2012, 05:08

Re: [trousseau_clef] Problème de trousseau de clefs

Message par waitnsea »

boblinux a écrit :Ok, dois-je réinstaller mon manjaro netbook edition? je ne vois pas ce qui a pu ne pas marché pendant l'installation, j'ai peut-être supprimé le paquet par inadvertence à force de tester les manips sur le net?
je réinstallerais la distrib du coup je ne vois pas d'autres options =/
Bonjour,
Manjaro utilise ses propres dépôts de fichiers, qui contiennent les fichiers de Arch après un délai de stabilisation mais aussi quelques logiciels "maison" comme mhwd, et des scripts eux aussi maison pour les MàJ, etc...
Bien entendu les "clés" de sécurité d'Arch n'ont rien à faire sur une Manjaro.
En aucun cas tu ne trouveras de solution ici, ce n'est pas de la discrimination ! C'est que seul quelqu'un qui a une Manjaro installée ou quelqu'un de l'équipe peuvent le faire.
Avatar de l’utilisateur
papajoke
Elfe
Messages : 781
Inscription : sam. 30 août 2014, 19:54

Re: [trousseau_clef] Problème de trousseau de clefs

Message par papajoke »

waitnsea a écrit :Bien entendu les "clés" de sécurité d'Arch n'ont rien à faire sur une Manjaro.
pourtant elles sont présentes et le wiki manjaro donne toujours :

Code : Tout sélectionner

pacman-key --populate archlinux manjaro
Arch stable - Kde 5 / zsh - btrfs/mbr - Intel Core i3 - 6Go RAM - GeForce 405 video-nouveau
Avatar de l’utilisateur
waitnsea
Maître du Kyudo
Messages : 2114
Inscription : jeu. 15 mars 2012, 05:08

Re: [trousseau_clef] Problème de trousseau de clefs

Message par waitnsea »

J'imagine donc que les paquets Arch ont gardé les clefs Arch, boblinux n'a pas essayé de les re-récupérer ?
Les clefs manjaro non, bien sûr, et les dépôts pointés par pacman.conf et mirrorlists d'une Manjaro sont spécifiques en tout cas !
boblinux
newbie
Messages : 4
Inscription : mer. 04 mars 2015, 17:36

Re: [trousseau_clef] Problème de trousseau de clefs

Message par boblinux »

Ok je passe donc le sujet en résolu et je continue sur manjaro, encore merci à tout le monde pour l'attention portée et les réponses rapides, encore désolé d'avoir "polluer" le fofo archlinux avec mon H-S, bonne soirée, mon aventure continue sur manjaro, et ptet un jour je reviendrais ici fièrement pour parler vraiment d'Archlinux pur et donc ! (en effet j'utilise manjaro pour appréhender archlinux ! )

Kiss
Netbook Samsung NP N150Plus 1 Go Ram, 250 HD.
OS : 3.12.24-1-MANJARO i686 GNU/Linux
Répondre