[pacman.conf] Dépot arch

Questions et astuces concernant l'installation et la configuration d'archlinux
jerome45
newbie
Messages : 9
Inscription : mar. 09 août 2022, 13:05

[pacman.conf] Dépot arch

Message par jerome45 »

Bonjour,

Je viens d'installer Arch via Archinstall et je constate depuis l'installation que je n'ai pas beaucoup de mise à jour bizarre pour Arch :D

Voici mon pacman.conf :

Code : Tout sélectionner

  GNU nano 7.2                                                                 /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/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

#IgnorePkg   =
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

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

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

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

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

[extra]
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]
#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


Vous semble t'il correcte.

Merci pour l'aide
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17238
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman.conf] Dépot arch

Message par benjarobin »

Bonjour,
Ton pacman.conf n'est pas à jour (mais aucun lien avec le fait de ne pas avoir de mise à jour), tu ne devrais plus avoir de dépôt community. Voir le fichier pacman.conf.pacnew

Pour le problème de ne pas avoir de mise à jour, tu dois configurer / corriger la liste des miroir : /etc/pacman.d/mirrorlist
Tu as des outils pour cela, voir https://wiki.archlinux.org/title/mirrors. Tu peux utiliser reflector (voir viewtopic.php?p=177954#p177954), ou directement https://archlinux.org/mirrorlist/

Note il est inutile d'avoir plus de 10 miroirs, donc l'idée est de se faire une liste des 10 meilleurs miroirs par rapport à ta connexion.
Et dès que tu note un problème ou une lenteur, tu peux refaire cette manipulation. Dans la pratique je dois refaire la liste de miroir tous les 6 mois
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
jerome45
newbie
Messages : 9
Inscription : mar. 09 août 2022, 13:05

Re: [pacman.conf] Dépot arch

Message par jerome45 »

Ok merci,
je vais commenter le dépôt Community, Reflector sert bien à sélectionner les mirroirs les plus rapides ?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17238
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman.conf] Dépot arch

Message par benjarobin »

Je te conseil de faire une comparaison entre le .pacnew et ton fichier pacman.conf
C'est le but de Reflector oui.
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
jerome45
newbie
Messages : 9
Inscription : mar. 09 août 2022, 13:05

Re: [pacman.conf] Dépot arch

Message par jerome45 »

Merci.
Problème résolu
Répondre