[pacman] besoin d'aide avec pacman(résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

[pacman] besoin d'aide avec pacman(résolu)

Message par mokhtarone »

Salut !
jai installé arch avec l’environnement kde , jai installé pacman , mais ! le fichier pacman.conf n’existe pas dans mon System , du coup jai essayé de le créer manuellement , et jai aussi régénérer le fichier mirrorlist . mais rien ne fonctionne , je ne peux pas ajouter les mirror et même si je les ajoutes , ça n marche pas , je n sais pas pourquoi , voici le contenu du fichier https://www.archlinux.org/mirrorlist/?c ... _version=4
et le problème c'est que je ne peux plus utiliser pacman ! rien a faire regardez
https://docs.google.com/file/d/0B6Vs35C ... sp=sharing
s'il vous plait , jai besoin d'ajouter les mirror testing & community & aur ...
merci
Dernière modification par mokhtarone le ven. 02 août 2013, 16:40, modifié 1 fois.
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

mokhtarone a écrit :jai installé pacman
??? C'est le premier paquet qui est installé... Tu n'as jamais besoin de l'installer. C'est lui qui permet d'installer des paquets...
mokhtarone a écrit : le fichier pacman.conf n’existe pas dans mon System
??? Au vu de ton screenshot tu as bien un /etc/pacman.conf

Sinon il faut que tu décommente au moins une ligne de /etc/pacman.d/mirrorlist
Qu'est ce que tu as fait pour avoir ce fichier dans cet état ?

Peux tu donner la sortie de

Code : Tout sélectionner

grep -Ev "^#|^$" /etc/pacman.conf
grep -Ev "^#|^$" /etc/pacman.d/mirrorlist
ls -l /etc/pacman.d/gnupg
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

non ! et bah enfait , jai d'eu le reinstaller pour verifier le probleme , mais bof , ca n'a servie a rien ! puisque le fichier pacman.conf n'a pas été généré automatiqument
du coup jai d'eu le creer manulement ! et jai tout foiré ! :cry:
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

mokhtarone a écrit :du coup jai d'eu le creer manulement
Impossible ! Si tu as réinstallé la paquet tu as forcément /etc/pacman.conf
Pour information tu ne peux pas réinstaller pacman sans pacman... Donc comment as tu réinstallé pacman ?

Attention j'ai édité mon message précédent, relit tout. Merci de répondre à l'ensemble des questions
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

Salut,

Déjà il faut que tu décommentes (enlever le #) devant les lignes des serveurs qui t'intéressent. Par exemple, les français.

Ci-joint également mon pacman.conf, ça pourrait t'aider pour le dépôt AUR (3 dernières lignes depuis [archlinuxfr]).

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

#[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]
Server = http://repo.archlinux.fr/$arch
SigLevel = Never
Sinon, je me demande bien comment tu as fait pour installer pacman si tu n'as pas pacman ??? (qui normalement est installé de base).

Edit : doublement grillé par benja :oops:
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

et bah enfait , si c possible a moins que j'ai pas fait une etape dans l'installation ! . c'est la 2eme fois que j'installe arch sans que le fichier pacman.conf ne soit généré .
aprés avoir selectionner les serveur de france dans le fichier mirrorlist
voila les resultats
https://docs.google.com/file/d/0B6Vs35C ... sp=sharing
https://docs.google.com/file/d/0B6Vs35C ... sp=sharing
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

???

Tes "résultats" on n'arrive pas à les voir. Il faut que tu les postes soit sur le forum directement soit sur pastebin si c'est trop long. De toute façon si ton pacman.conf n'est pas bon tu auras beau ajuster le mirrorlist ça ne marchera pas.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

Qu'est ce que tu appelles généré, car la tout est bon...
Tout fonctionne très bien, non ?

@hopimet Aucun souci ici pour voir les résultats
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

@benjarobin, comment tu fais ? Moi ça me demande un login et un mot de passe gmail ?

Edit : ah ben ça marche, en me déconnectant de mon propre compte gmail. Effectivement tout m'a l'air OK maintenant.
Dernière modification par hopimet le jeu. 01 août 2013, 21:18, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

Je suis connecté :-) Mais voici les images :
p120067 : http://img16.imageshack.us/img16/3987/1s5c.png
p120072 : http://img199.imageshack.us/img199/1874/g4i.png et http://img543.imageshack.us/img543/1876/nh3c.png
c'est la 2eme fois que j'installe arch sans que le fichier pacman.conf ne soit généré .
Qu'appelles tu généré ? Car tu ne dois rien faire normalement... Qu'est ce que tu fait ?
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

Fallait pas te casser le c**, je viens d'éditer. Bon on va arrêter d'aider à deux en même temps, on n'est pas synchrones ! :lol:
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

voila les resultats :

Code : Tout sélectionner

$ grep -Ev "^#|^$" /etc/pacman.conf
[options]
HoldPkg     = pacman glibc
Architecture = auto
CheckSpace
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

Code : Tout sélectionner

grep -Ev "^#|^$" /etc/pacman.d/mirrorlist
Server = http://archlinux.aubrac-medical.fr/$repo/os/$arch
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
Server = http://archlinux.vi-di.fr/$repo/os/$arch
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
Server = http://mir.archlinux.fr/$repo/os/$arch
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch

Code : Tout sélectionner

ls -l /etc/pacman.d/gnupg
total 776
-rw-r--r-- 1 root root    114 Jul 20 02:15 gpg.conf
-rw-r--r-- 1 root root 381945 Jul 20 02:15 pubring.gpg
-rw-r--r-- 1 root root 381945 Jul 20 02:15 pubring.gpg~
-rw------- 1 root root    600 Jul 20 02:15 random_seed
-rw------- 1 root root   1289 Jul 20 02:15 secring.gpg
-rw-r--r-- 1 root root   8600 Jul 20 02:15 trustdb.gpg
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

généré ? bah le fichier pacman.conf n'existait pas ! voila , jai d'eu copier le fichier que vous m’avez proposer tout a leurs :) pour essayer ...
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

Que te renvoie : pacman -Syu maintenant ?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

Ton premier message montre que tu possèdes bien un pacman.conf !!! Je ne sais absolument pas ce que tu fais, où as-tu écrit ce soi-disant pacman.conf manquant ?
Et tu n'as clairement pas copié celui donné par hopimet !!! La commande grep -Ev "^#|^$" /etc/pacman.conf n'aurait jamais sortie cela !
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

maintenant jai reussis a faire au moins les mises a jours via pacman -Syy et pacman -Syu
maintenant vous pouvez m’aider a ajouter les mirrors multilib + aur + testing ??

voici mes fichiers mirrorlist et pacman.conf
vérifier avec moi svp les fichiers , j'ai peur de foiré un truc ou une ligne :lol:
http://pastebin.com/hK2TPdxE
http://pastebin.com/6xh1DD2q

voici les résultats Mr Hopimet : ( je viens juste de télécharger les mise a jours )

Code : Tout sélectionner

# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
par contre Mr Benjarobin jai d'eu remplacer le fichier pacman.conf par celui que vous m'avez proposer durant cette discussion . et voila les resultats :
# grep -Ev "^#|^$" /etc/pacman.conf
[options]
HoldPkg = pacman glibc
Architecture = auto
CheckSpace
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

Pour AUR tu as mon pacman.conf dans mon premier message et je t'ai indiqué les lignes qui vont bien : les 3 dernières.

Code : Tout sélectionner

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
SigLevel = Never
Sans vouloir t'offenser, je ne pense pas que ce soit une bonne idée d'utiliser les dépôts testing...

PS : donne le retour de cat /etc/pacman.conf
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17613
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] besoin d'aide avec pacman

Message par benjarobin »

Je ne comprends vraiment pas ce que tu modifies, car si tu as remplacé le pacman.conf par celui donné par hopimet, tu n'as pas du tout cela... Et d'ailleurs je ne te conseil pas de prendre celui de hopimet, garde toutes les options par défauts, car apparemment tu débutes et +1 hopimet je te déconseille fortement testing
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
hopimet
Elfe
Messages : 996
Inscription : mer. 14 mars 2012, 22:48

Re: [pacman] besoin d'aide avec pacman

Message par hopimet »

@benjarobin : qu'est ce qu'il a mon pacman.conf ? Il est pas beau ?
:D
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: [pacman] besoin d'aide avec pacman

Message par mokhtarone »

comme vous pouvez voir ici , j'ai posté un autre problème cet après midi ^^
http://forums.archlinux.fr/topic14039.html
c'est pourquoi jai besoin des ces mirror ...
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

Arch Linux "KDE Plasma" "64Bits"
Répondre