pacman] Probleme aprés l'ajout de multilib et aur

Questions et astuces concernant l'installation et la configuration d'archlinux
wonder
newbie
Messages : 1
Inscription : mer. 02 juil. 2014, 20:59

pacman] Probleme aprés l'ajout de multilib et aur

Message par wonder »

salut a tous!
je viens d'installer antergos et là j'ai voulu activé multilib et aur sauf que je rencontre cette erreur...
erreur: fichier de configuration /etc/pacman.conf, ligne 1: toutes les instructions doivent appartenir à une section.
j'ai beau essayer de modifié le fichier pacman.conf mais ça donne rien dont le contenu actuel et celui la

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 = Never
Server = https://repo.archlinux.fr/$arch

[antergos]
SigLevel = PackageRequired
Include = /etc/pacman.d/antergos-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
aidez moi svp et merci
Dernière modification par benjarobin le mer. 02 juil. 2014, 21:33, modifié 1 fois.
Raison : Merci d'utiliser les balises codes
proturf
Hankyu
Messages : 32
Inscription : jeu. 16 avr. 2009, 23:54
Localisation : Montauban

Re: pacman] Probleme aprés l'ajout de multilib et aur

Message par proturf »

Salut !

Code : Tout sélectionner

[archlinuxfr]
SigLevel = Never
Server = https://repo.archlinux.fr/$arch
Le dépôt archlinux n'est pas utile sous Antergos. De plus c'est http et non https
pc i5 3450 k - ssd 120 go samsung - hdd 2 to- nvidia 660ti 2go
Arch 64 bit - KDE
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17615
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: pacman] Probleme aprés l'ajout de multilib et aur

Message par benjarobin »

@proturf Tous les serveurs *.archlinux.fr (ou presque) sont passés en https, donc ceci est tout à fait valide : https://repo.archlinux.fr/
Après la question de l'utilité d'utiliser https peut se poser, mais au moins il y a le choix / la possibilité.
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
proturf
Hankyu
Messages : 32
Inscription : jeu. 16 avr. 2009, 23:54
Localisation : Montauban

Re: pacman] Probleme aprés l'ajout de multilib et aur

Message par proturf »

Au temps pour moi !! je me coucherai moins bête ce soir :humour:
pc i5 3450 k - ssd 120 go samsung - hdd 2 to- nvidia 660ti 2go
Arch 64 bit - KDE
Avatar de l’utilisateur
mokhtarone
archer de cavalerie
Messages : 179
Inscription : ven. 21 juin 2013, 16:40

Re: pacman] Probleme aprés l'ajout de multilib et aur

Message par mokhtarone »

Ho!
As-tu testé de régénérer le fichier pacman.conf depuis /var/cache/pacman/pkg/?
ASUS ROG STRIX B650EF GAMING ~ RYZEN 7 7700 ~ 32Go DDR5/6400Mhz ~ RTX 3090 :P

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