Page 1 sur 1

[pacman] Bug lors de la synchronisation(résolu)

Publié : dim. 12 avr. 2015, 13:01
par ThePierrezou
Bonjour,
Quand je veux faire une syncro j'ai mes barres de chargement qui restent vides.

Code : Tout sélectionner

[root@thepierrezou-pc pierre]# pacman -Sy 
:: Synchronisation des bases de données de paquets...
 repo-ck est à jour
 core est à jour            0,0   B  0,00B/s 00:00 [----------------------]   0%
 extra est à jour
 community est à jour       0,0   B  0,00B/s 00:00 [----------------------]   0%
 multilib est à jour
 archlinuxfr est à jour
Et quand je fais un pacman -Sc pour nettoyer j'ai une petite erreur:

Code : Tout sélectionner

[root@thepierrezou-pc pierre]# pacman -Sc
Paquets à conserver :
  Tous les paquets installés

Répertoire du cache : /var/cache/pacman/pkg/
:: Voulez-vous supprimer tous les autres paquets du cache ? [O/n] o
suppression des paquets obsolètes du cache...
erreur : méta-données du paquet manquantes dans /var/cache/pacman/pkg/gconf-3.2.6-3-x86_64.pkg.tar.xz.part

Répertoire des dépôts : /var/lib/pacman/
:: Voulez-vous supprimer les dépôts non utilisés ? [O/n] o
suppression des dépôts synchronisés inutilisés...
Petites explication ?

Mon pacman.conf

Code : Tout sélectionner

[root@thepierrezou-pc pierre]# 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
#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.

[repo-ck]
Server = http://repo-ck.com/$arch
Server = http://repo-ck.devtrue.net/$arch

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

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

Si vous voulez le contenu de certains fichiers de conf ne pas hésiter :)
Merci
ThePierrezou

Re: [pacman] Bug lors de la synchronisation

Publié : dim. 12 avr. 2015, 13:43
par FoolEcho
Salut,

Pour ce qui est du -Sc, a priori tu as eu des téléchargements incomplets (stoppées volontairement peut-être)... De ce côté, n'hésite pas à supprimer les fichiers génants (rm /var/cache/pacman/pkg/*part).

Autrement, est-ce qu'un pacman -Syy fonctionne ? (lance avec --debug et poste-nous le résultat au besoin)

Re: [pacman] Bug lors de la synchronisation

Publié : dim. 12 avr. 2015, 14:56
par ThePierrezou
Merci pour ta réponse rapide,
J'ai du faire un ctrl+c, et maintenant suite au rm je n'ai plus de problèmes :)
Pour ce qui est de pacman -Syy ça fonctionne, j'aimerais bien savoir la différence entre pacman -Sy et pacman -Syy.
Merci beaucoup pour ton aide :)

EDIT : j'ai trouvé en fait pacman -Syy force la maj et pacman -Sy non.
Maintenant même avec un pacman -Sy je n'ai plus d'erreurs :)

Re: [pacman] Bug lors de la synchronisation

Publié : dim. 12 avr. 2015, 17:18
par FoolEcho
ThePierrezou a écrit :EDIT : j'ai trouvé en fait pacman -Syy force la maj et pacman -Sy non.
Non. Le double y conduit à télécharger de nouveau complétement les listes des paquets des dépôts configurés (le simple y ne récupère que les listes plus récentes). Pas de mise à jour à ce niveau sans u.

Autrement, :resolu: (édition du titre du premier message :chinois: )

Re: [pacman] Bug lors de la synchronisation(résolu)

Publié : dim. 12 avr. 2015, 21:03
par ThePierrezou
Merci pour cette clarification :)