Page 1 sur 1

[pacman] souci de dépendance (résolu)

Publié : ven. 05 avr. 2013, 06:10
par spouki
Bonjours

mini présentation car c est pas le sujet ici:
Je debute sous archilinux, je viens de la comunauter debian. hormis cela rien de spécial , merci d'être indulgent vu que c est mon premier post sur le forum, n'ésiter toute fois pas a me corriger.

j'ai pacman qui fait des siennes , j'ai pas mal chercher sur le net. j'ai donc modifier la ligne:
SyncFirst = pacman pacman-color package-query
voici donc le fichier final:

Code : Tout sélectionner

cat /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/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman pacman-color package-query
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#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 = Optional TrustedOnly

# 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]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

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

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#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]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#SigLevel = PackageRequired
#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
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
et donc un petit:

Code : Tout sélectionner

# pacman -Syu 
:: Synchronisation des bases de données de paquets...
 core est à jour ;
 extra                                               1418.4 KiB  1064K/s 00:01 [#############################################] 100%
 community est à jour ;
 archlinuxfr est à jour ;
:: 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] o

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<4.1
:: pacman-color : requiert pacman<4.1
le fichier des mirroirs :

Code : Tout sélectionner

cat /etc/pacman.d/mirrorlist
##
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2012-09-07
##

## Score: 0.2, United States
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.4, Germany
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.4, United States
Server = http://mirrors.cicku.me/archlinux/$repo/os/$arch
## Score: 0.5, France
Server = http://archlinux.polymorf.fr/$repo/os/$arch
## Score: 0.5, Netherlands
Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.6, Germany
Server = http://archlinux.limun.org/$repo/os/$arch
## Score: 0.7, United States
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
## Score: 0.7, Germany
Server = http://ftp.tuxdroid.org/archlinux/$repo/os/$arch
## Score: 0.8, United States
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
## Score: 0.9, United Kingdom
Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
## Score: 0.9, United States
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
## Score: 0.9, United States
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
## Score: 1.0, United Kingdom
Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
## Score: 1.0, United States
Server = http://hive.ist.unomaha.edu/archlinux/$repo/os/$arch
## Score: 1.0, Germany
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
## Score: 1.1, Netherlands
Server = http://arch.apt-get.eu/$repo/os/$arch
## Score: 1.1, Germany
Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
## Score: 1.1, France
Server = http://mir.archlinux.fr/$repo/os/$arch
## Score: 1.1, Germany
Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
## Score: 1.1, United States
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
## Score: 1.1, France
Server = http://mir1.archlinux.fr/archlinux/$repo/os/$arch
## Score: 1.2, Norway
Server = http://mirror.archlinux.no/$repo/os/$arch
## Score: 1.2, Russian Federation
Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
## Score: 1.2, Germany
Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
## Score: 1.2, Switzerland
Server = http://archlinux.puzzle.ch/$repo/os/$arch
## Score: 1.2, Germany
Server = http://1favre.de/arch/$repo/os/$arch
## Score: 1.4, France
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
## Score: 1.4, Australia
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
## Score: 1.4, Germany
Server = http://mirror.devnu11.net/archlinux/$repo/os/$arch
## Score: 1.5, Norway
Server = http://arch.ping.uio.no/$repo/os/$arch
## Score: 1.6, Denmark
Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
## Score: 1.6, Germany
Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
## Score: 1.7, France
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
## Score: 4.0, France
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
Server = ftp://ftp.archlinux.ikoula.com/archlinux/$repo/os/$arch
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
Server = http://mir.archlinux.fr/$repo/os/$arch
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
Server = ftp://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch

Je précise que l'installation date d'environ 1 ou 2 mois,
Merci d'avance :o

Re: [pacman] souci de dépandance

Publié : ven. 05 avr. 2013, 06:20
par Springbank
Salut,

Pareil pour moi ce matin, alors que je fais des MàJ assez régulièrement.

Pas de solutions pour l'instant...

[Edit] Il semble y avoir un soucis de conflit entre pacman et pacman-contrib. Je pense que pacman va passer en version 4.1 et qu'il ne peut faire sa mise à jour tout seul. Quelqu'un de plus confirmé pourra certainement nous renseigner dans la journée

Re: [pacman] souci de dépandance

Publié : ven. 05 avr. 2013, 06:39
par flapp
J'ai comme l'impression que certains sont en train de travailler activement sur ce problème...

https://aur.archlinux.org/packages/package-query/

Re: [pacman] souci de dépandance

Publié : ven. 05 avr. 2013, 12:08
par FoolEcho
Salut,

Ça devrait être résolu maintenant: http://forums.archlinux.fr/topic13270.html .
Notez bien que pacman-color n'est plus nécessaire, il faut donc le désinstaller avant de mettre à jour (contrôler pacman.conf pour activer les couleurs ;-) ).
spouki a écrit :mini présentation car c est pas le sujet ici:
Je debute sous archilinux, je viens de la comunauter debian. hormis cela rien de spécial , merci d'être indulgent vu que c est mon premier post sur le forum, n'ésiter toute fois pas a me corriger.
Ce serait bien de corriger les fautes... (dès le titre: «dépendance») :copain: :pastaper: :merci:

Re: [pacman] souci de dépandance

Publié : ven. 05 avr. 2013, 14:19
par lekaf974
Salut,

Ça devrait être résolu maintenant: topic13270.html .
Notez bien que pacman-color n'est plus nécessaire, il faut donc le désinstaller avant de mettre à jour (contrôler pacman.conf pour activer les couleurs ;-) ).
+1
Ce serait bien de corriger les fautes... (dès le titre: «dépendance») :copain: :pastaper: :merci:
+1

Re: [pacman] souci de dépandance

Publié : ven. 05 avr. 2013, 20:46
par fran
salut

une question sur cette mise à jour :
Dans le pacnew il n'y a pas la ligne avec SigLevel

Code : Tout sélectionner

[core]
Include = /etc/pacman.d/mirrorlist
comme dans l'ancien fichier

Code : Tout sélectionner

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
est ce que l'on doit rajouter la ligne ?

Re: [pacman] souci de dépendance

Publié : sam. 06 avr. 2013, 08:21
par chipster
Non car c'est un peu avant

Re: [pacman] souci de dépendance

Publié : sam. 06 avr. 2013, 10:52
par fran
Donc c'est la partie Siglevel dans l'entête du fichier qui gère ça

merci

Re: [pacman] souci de dépendance

Publié : sam. 06 avr. 2013, 11:10
par FoolEcho
Juste pour info, ceci n'empêche pas un réglage par dépôt.

Re: [pacman] souci de dépendance

Publié : dim. 07 avr. 2013, 07:09
par spouki
j'ais simplement commenter la ligne et j'ai aussi du supprimer un paquet pacman-colors, puis j'ai fait la mise a jours et cela c'est bien terminer.

Merci pour vos réponse