[pacman] erreur de synchronisation (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
tuxrouge
archer
Messages : 143
Inscription : dim. 07 déc. 2008, 00:09

[pacman] erreur de synchronisation (résolu)

Message par tuxrouge »

coucou voilà ce que j'ai:

Code : Tout sélectionner

# pacman -Syu
error: config file /etc/pacman.d/current could not be read.
error: config file /etc/pacman.d/extra could not be read.
apparement, si j'ai bine suivi, une erreur de synchronisation. Mais je crois que mon ordre est justement là pour le faire.

au cas ou, voici mon 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
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

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

# Testing is disabled by default.  To enable, uncomment the following
# two 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


[current]
Server = http://mir.archlinux.fr/current/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/current/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/current/os/x86_64
Include = /etc/pacman.d/current

[extra]
Server = http://mir.archlinux.fr/extra/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/extra/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/extra/os/x86_64
Include = /etc/pacman.d/extra

[unstable]
Server = http://mir.archlinux.fr/unstable/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/unstable/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/unstable/os/x86_64
Include = /etc/pacman.d/unstable

[community]
# Add your preferred servers here, they will be used first
Server = http://mir.archlinux.fr/community/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/community/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/community/os/x86_64
Include = /etc/pacman.d/community

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
une erreur de ma part ?
Dernière modification par tuxrouge le ven. 02 janv. 2009, 23:28, modifié 1 fois.
Avatar de l’utilisateur
gyo
Maître du Kyudo
Messages : 1049
Inscription : jeu. 19 avr. 2007, 10:40
Localisation : Nantes (44)

Message par gyo »

Ça fait un petit moment que les listes de mirroir du type /etc/pacman.d/[nom_repo] ne sont plus utilisés.

Il faut se référer à /etc/pacman.d/mirrorlist plutôt et les serveurs que tu spécifies dans ton pacman.conf (directive Server) font redondances avec ceux lister dans mirrorlist (par contre, il faudra modifier le fichier mirrorlist pour placer les mirroir FR en premier).
Et n’avoir que la directive Include=/etc/pacman.d/mirrorlist

Et il me semble que le dépôt [unstable] ne soit plus d’activité.

Mais bien sûr il faut garder la directive Server pour le dépôt [archlinuxfr] (puisque c’est un miroir spécifique).

Voilà.
commentaire rédigé à l’aide d’un clavier ergonomique bépo
KISS MY ARCH
tuxrouge
archer
Messages : 143
Inscription : dim. 07 déc. 2008, 00:09

Message par tuxrouge »

ok

desole pour le temps de réponse mais j'ai fais un tour à l'hôpital entre temps. merci
Répondre