J'ai depuis aujourd'hui un soucis de mise à jour lorsque je lance "pacman -Syu"
Code : Tout sélectionner
:: Synchronisation des bases de données de paquets...
core est à jour;
extra est à jour;
community est à jour;
archlinuxfr 28,0K 212,4K/s 00:00:00 [######################] 100%
:: Les paquets suivants devraient être mis à jour en premier :
pacman
:: Voulez-vous annuler l'opération courante et
:: mettre à jour ces paquets maintenant ? [O/n]
résolution des dépendances...
recherche des conflits entre paquets...
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: package-query: requiert pacman<3.6
J'ai téléchargé récemment "gnome-shell-extension-weather-git" depuis le dépôt Aur, et je pense que le problème vient de là.
J'ai fait quelques recherches dans ce forum et suis tombé sur un problème similaire. Une solution avancée était de mettre les gestionnaires de paquets à jour indépendamment en rajoutant dans /etc/pacman.conf:
Code : Tout sélectionner
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman pacman-color yaourt package-query
Est-ce bien ce qu'il faut faire?
Mon /etc/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 -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace
#
# 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]
#Server = file:///home/custompkgs
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch