Page 1 sur 1
[Probleme] pacman
Publié : mar. 17 mai 2016, 15:44
par lonewolfs
Bonjour,
J´était sur fedora et j´ai décidé d´installé a la place archlinux. tout c´est bien passé, je n´ai eu aucun problème, sauf que a chaque fois que je veux installé quelque chose avec pacman (ou yaourt) j´ai ceci :
"avertissement : fichier de configuration /etc/pacman.d/mirrorlist, ligne 1: l´instruction "T" dans la section "core" n´est pas valide"
"avertissement : fichier de configuration /etc/pacman.d/mirrorlist, ligne 1: l´instruction "T" dans la section "extra" n´est pas valide"
"avertissement : fichier de configuration /etc/pacman.d/mirrorlist, ligne 1: l´instruction "T" dans la section "community" n´est pas valide"
"avertissement : fichier de configuration /etc/pacman.d/mirrorlist, ligne 1: l´instruction "T" dans la section "multilib" n´est pas valide"
est ce que c´est normal ?
de plus le clavier a tendance a se bloqué une fois sur deux sur l´écran de login, comme j´ai eu sur Debian. ce que je comprend pas c´est que sur fedora j´ai pas eu un seul problème.
il s´agit d´un PC portable avec archlinux seul (la version de février) et gnome.
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 15:57
par oktoberfest
Salut,
tu as à priori une erreur de syntaxe dans ton fichier /etc/pacman.conf (une faute de frappe peut-être). Tu peux nous poster le fichier pour qu'on y jete un oeil si tu ne trouves rien de suspect.
EDIT : ou une erreur dans ton /etc/pacman.d/mirrorlist d'ailleurs
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 16:17
par lonewolfs
voici le contenu de mon fichier pacman.conf:
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/
#HookDir = /etc/pacman.d/hooks/
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
# 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
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 16:21
par oktoberfest
Le problème doit plutôt être dans ton mirrorlist.
PS : Utilise les balises code quand tu envoies du code ou le contenu de fichiers
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 16:27
par lonewolfs
pour le mirrorlist, j´ai garder uniquement le serveur français (même si j´habite en Belgique) :
j´ai mis en commentaire tout les autres serveur (j´ai suivi un tuto, a jour, qui conseillais ça). j´ai quand même essayé en dé-commentant toute la liste des serveur mais... j´ai le même soucis !
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 17:27
par benjarobin
Peux tu donner la sortie de
Code : Tout sélectionner
grep -Ev "^ *$|^ *#" /etc/pacman.conf /etc/pacman.d/mirrorlist
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 17:42
par lonewolfs
Code : Tout sélectionner
/etc/pacman.conf:[options]
/etc/pacman.conf:HoldPkg = pacman glibc
/etc/pacman.conf:Architecture = auto
/etc/pacman.conf:CheckSpace
/etc/pacman.conf:SigLevel = Required DatabaseOptional
/etc/pacman.conf:LocalFileSigLevel = Optional
/etc/pacman.conf:[core]
/etc/pacman.conf:Include = /etc/pacman.d/mirrorlist
/etc/pacman.conf:[extra]
/etc/pacman.conf:Include = /etc/pacman.d/mirrorlist
/etc/pacman.conf:[community]
/etc/pacman.conf:Include = /etc/pacman.d/mirrorlist
/etc/pacman.conf:[multilib]
/etc/pacman.conf:Include = /etc/pacman.d/mirrorlist
/etc/pacman.d/mirrorlist:T##
/etc/pacman.d/mirrorlist:Server = http://archlinux.polymorf.fr/$repo/os/$arch
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 17:58
par AchilleFraisse
Bonjour,
L'erreur vient de cette ligne :
de ton fichier /etc/pacman.d/mirrorlist
Edite ce fichier en mode sudo et commente cette ligne.
Re: [Probleme] pacman
Publié : mar. 17 mai 2016, 18:05
par lonewolfs
merci je vais testé ça des que possible !
edit: C'etait bien ca ! une petite erreur de frappe de ma part lors de l'edition. desolé du derangement.
Re: [Probleme] pacman
Publié : mer. 18 mai 2016, 17:06
par lonewolfs
Et pour le clavier, personne a une idée ?
Re: [Probleme] pacman
Publié : mer. 18 mai 2016, 17:39
par waitnsea
Bonjour,
STP Édite et mets le titre de ton 1er post en (Résolu) et ouvre un autre post (un seul sujet par post)
Pour tes miroirs, mets en 5 (utilise reflector, vois le wiki, car un miroir peut-être momentanément indisponible (maintenance par exemple).