Problèmes et questions concernant l'édition XFCE.

Pacman est en greve

#1Messageil y a 7 ans

Salutation !

Depuis 2 ou 3 semaine , je n'arrive plus a faire les mises à jour via Pacman , seul pamac réussi à mettre mon système à jour ou à installer un paquet .

pacman -Syu
:: Synchronisation des bases de données de paquets...
erreur : échec de récupération du fichier « core.db » depuis repo.rhindon.net : Resolving timed out after 10519 milliseconds
erreur : échec de récupération du fichier « core.db » depuis mirror.is.co.za : Resolving timed out after 10521 milliseconds
...etc...


" pacman-mirror -g " s'effectue avec une lenteur exceptionnel , mais ne résout rien .

Comment puis-je réparer Pacman ?
Dernière modification par plutomixil y a 7 ans, modifié au total 1 fois.

Pacman est en greve

#2Messageil y a 7 ans

bonjour,

ce qui nous intéresse c'est le retour de pacman-mirrors

pamac et pacman utilise tous les 2 la même liste générée par pacman-mirrors, tu as donc les mêmes erreurs avec les 2.

pamac et pacman sont intelligents, si le premier de la liste triée avec pacman-mirrors ne répond pas, ils prennent le suivant jusqu’à en trouver un qui répond; ca devient extrêmement lent mais au moins normalement on n'est pas bloqué.

Pacman est en greve

#3Messageil y a 7 ans

pacman-mirrors -g
:: Interrogation des serveurs, cela peut prendre quelques temps...
Africa
-> 10.49 http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
Australia
-> 10.72 http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
-> 6.044 http://manjaro.uberglobalmirror.com/stable/$repo/$arch
-> 5.718 http://manjaro.mirror.serversaustralia.com.au/stable/$repo/$arch
Austria
-> 5.163 http://mirror.inode.at/manjaro/stable/$repo/$arch
Belarus
-> ..... http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch


Pamac arrive a faire la MAJ , mais ni pacman , ni yaourt n'y arrivent .

Pacman est en greve

#4Messageil y a 7 ans

Tu ne donnes que le début de la liste ici ?? ton retour est bon :confus:

Il me semble avoir vu qu'il y avait un bug avec pacman-mirrors il est recommandé de mettre un pays .

Pour mettre un pays, petit truc :

sudo pacman-mirrors -g -c toto

il te propose alors tous les choix de pays existants à la place de "toto" :clindoeil:

Pacman est en greve

#5Messageil y a 7 ans

Tu peux aussi placer cet alias dans ton .bashrc :

sudo pacman-mirrors -g -c France,Germany,Netherlands,United_Kingdom && sudo pacman -Syyu && yaourt -Sua && exit

Tu n'auras qu'a taper maj après rafraîchissement pour lancer une mise à jour conforme.

Pacman est en greve

#6Messageil y a 7 ans

même résultat , pacman ne télécharge absolument rien , seul pamac y arrive , car je pense qu'il utilise un autre protocole que pacman pour télécharger .
Serais ce un problème de clé ?

je voudrais savoir , si quelqu'un a l'information , car je l'ai chercher , mais je ne l'ai pas trouvé :
Comment réinstalle t'on Pacman ??
car il semblerait qu'on ne puisse l'installer sans réinstaller le système en entier .

Pacman est en greve

#7Messageil y a 7 ans

:bjr: Si on se réfère à la documentation, pamac, kalu, octopi sont une surcouche graphique de pacman ce qui rend ton problème particulièrement étrange :saispas: Concernant la réinstallation de pacman, c'est pareil que pour n'importe quel autre logiciel sudo pacman -S pacman

Pacman est en greve

#8Messageil y a 7 ans

pacman -S pacman
avertissement : pacman-5.0.1-4 est à jour -- réinstalle
résolution des dépendances...
recherche des conflits entre paquets...

Paquets (1) pacman-5.0.1-4

Taille totale du téléchargement :  0,72 MiB
Taille totale installée :         4,90 MiB
Taille de mise à jour nette :     0,00 MiB

:: Procéder à l’installation ? [O/n]
:: Récupération des paquets...
erreur : échec de récupération du fichier « pacman-5.0.1-4-x86_64.pkg.tar.xz » depuis manjarolinux.polymorf.fr : Resolving timed out after 10522 milliseconds
erreur : échec de récupération du fichier « pacman-5.0.1-4-x86_64.pkg.tar.xz » depuis mirror.lignux.com : Resolving timed out after 10520 milliseconds
erreur : échec de récupération du fichier « pacman-5.0.1-4-x86_64.pkg.tar.xz » depuis repo.rhindon.net : Resolving timed out after 10522 milliseconds
erreur : échec de récupération du fichier « pacman-5.0.1-4-x86_64.pkg.tar.xz » depuis ftp.free.org : Resolving timed out after 10520 milliseconds
...etc


et pamac refuse de réinstaller pacman , il y a un petit cadenas devant le paquet .

J'ai donc téléchargé manuellement le paquet pacman-5.0.1-4-x86_64.pkg.tar.xz et en l'installant il me repond ça :

sudo pacman -U pacman-5.0.1-4-x86_64.pkg.tar.xz 
[sudo] Mot de passe de steve : 
chargement des paquets...
avertissement : pacman-5.0.1-4 est à jour -- réinstalle
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é)
:: manjaro-system : installer pacman (5.0.1-4) casse la dépendance « pacman-init »

Pacman est en greve

#9Messageil y a 7 ans

Tu n'aurais pas ta partition pleine ?

df -h 
df -h /home

Pacman est en greve

#10Messageil y a 7 ans

df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
dev                3,9G       0  3,9G   0% /dev
run                4,0G    1,2M  3,9G   1% /run
/dev/sdb2          286G    173G   99G  64% /
tmpfs              4,0G     39M  3,9G   1% /dev/shm
tmpfs              4,0G       0  4,0G   0% /sys/fs/cgroup
tmpfs              4,0G     60K  4,0G   1% /tmp
/dev/sdb1          247M    141M   94M  60% /boot
tmpfs              799M     28K  799M   1% /run/user/1000

Pacman est en greve

#11Messageil y a 7 ans

Pas de souci d'encombrement.
Je viens de le réinstaller et je n'ai aucun problème0 C'est quoi ce <pacman-init> ?
Donne le retour de pacman -Qi pacman

Pacman est en greve

#12Messageil y a 7 ans

Nom                      : pacman
Version                  : 5.0.1-4
Description              : A library-based package manager with dependency
                           support
Architecture             : x86_64
URL                      : http://www.archlinux.org/pacman/
Licences                 : GPL
Groupes                  : base  base-devel
Fournit                  : pacman-contrib  pacman-init
Dépend de                : bash>=4.2.042-2  glibc>=2.17-2  libarchive>=3.1.2
                           curl>=7.39.0  gpgme  pacman-mirrorlist>=20130418
                           archlinux-keyring  manjaro-keyring
Dépendances opt.         : haveged: for pacman-init.service [installé]
Requis par               : manjaro-system  mhwd  package-query  pamac  yaourt
Optionnel pour           : --
Est en conflit avec      : pacman-contrib  pacman-init
Remplace                 : pacman-contrib  pacman-init
Taille installée         : 4,90 MiB
Paqueteur                : Philip Mueller <philm@manjaro.org>
Compilé le               : ven. 20 mai 2016 08:44:22 CEST
Installé le              : sam. 11 juin 2016 20:47:45 CEST
Motif d’installation     : Explicitement installé
Script d’installation    : Oui
Validé par               : Signature

Pacman est en greve

#13Messageil y a 7 ans

Apparemment, tu as pacman et pacman-init d'installés hors ces deux paquets sont en conflit. Je ne sais pas comment ce paquet <pacman-init> s'est retrouvé dans ton système... Je ne l'ai pas.
Essaye en prenant soins de ne surtout pas éteindre le pc avant la fin de l'opération:

sudo pacman -R pacman-init
sudo pacman -S --force pacman

Pacman est en greve

#14Messageil y a 7 ans

pacman-init est un vieux paquet non utile maintenant

As tu accès aux mirrors avec ton navigateur ? utilise-tu un proxy ?
Il faut regarder ta configuration pacman.conf si elle est particulière (XferCommand) : utilisation de wget ou curl ...

Pacman est en greve

#15Messageil y a 7 ans

:bjr: J'ai exactement le même retour pacman -Qi et pacman bosse tous les jours sans sourciller, on dirait que c'est pacman-mirrors qui est dans les choux, non ? Quel retour pour

cat /etc/pacman-mirrors.conf
et tant qu'à faire comme le suggère papajoke

cat /etc/pacman.conf

Pacman est en greve

#16Messageil y a 7 ans

cat /etc/pacman-mirrors.conf 
##
## /etc/pacman-mirrors.conf
##

## Branch Pacman should use (stable, testing, unstable)
Branch = stable

## Generation method
## 1) rank   - rank mirrors depending on their access time
## 2) random - randomly generate the output mirrorlist
# Method = rank

## Specify to use only mirrors from specific a country.
## Can add multiple countries separated by a comma (ex: Germany,France)
## Empty means all
# OnlyCountry =

## Mirrors directory
# MirrorlistsDir = /etc/pacman.d/mirrors

## Output file
# OutputMirrorlist = /etc/pacman.d/mirrorlist

## When set to True prevents the regeneration of the mirrorlist if
## pacman-mirrors is invoked with the --no-update argument.
## Useful if you don't want the mirrorlist regenerated after a
## pacman-mirrors package upgrade.
# NoUpdate = False


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/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg      = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#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
# We cannot check disk space from within a chroot environment
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 Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

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

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

[extra]
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]
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

Pacman est en greve

#17Messageil y a 7 ans

Salut, ces deux fichiers sont tout à fait normaux et XferCommand est bien commenté. Étrange ce comportement de pacman.

Pacman est en greve

#18Messageil y a 7 ans

que te donne la commande :

wget -dv manjarolinux.polymorf.fr && rm index.html  

Pacman est en greve

#19Messageil y a 7 ans

wget -dv manjarolinux.polymorf.fr && rm index.html
Setting --verbose (verbose) to 1
DEBUG output created by Wget 1.18 on linux-gnu.

Reading HSTS entries from /home/steve/.wget-hsts
URI encoding = « UTF-8 »
Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8)
--2016-12-24 00:18:55--  http://manjarolinux.polymorf.fr/
Résolution de manjarolinux.polymorf.fr (manjarolinux.polymorf.fr)… 195.154.59.140, 2001:bc8:3fdb:101::1
Caching manjarolinux.polymorf.fr => 195.154.59.140 2001:bc8:3fdb:101::1
Connexion à manjarolinux.polymorf.fr (manjarolinux.polymorf.fr)|195.154.59.140|:80… connecté.
Created socket 3.
Releasing 0x0000000001634430 (new refcount 1).

---request begin---
GET / HTTP/1.1
User-Agent: Wget/1.18 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: manjarolinux.polymorf.fr
Connection: Keep-Alive

---request end---
requête HTTP transmise, en attente de la réponse…
---response begin---
HTTP/1.1 200 OK
Date: Fri, 23 Dec 2016 23:19:05 GMT
Content-Type: text/html
Transfer-Encoding: chunked
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://netdna.bootstrapcdn.com; frame-src *; img-src * data: blob:; font-src 'self' data: https://fonts.gstatic.com https://netdna.bootstrapcdn.com; media-src *; connect-src *
Public-Key-Pins: pin-sha256="kt3/dbfB+ZPPp0jqrGMao5b7TM7k8vovI1M0h0p3vpI="; pin-sha256="sgWVyB9cIwNGxS8jogL3rmFhJLZvIJA6BQy2i6cHnMI="; pin-sha256="DMjElHNb7/ugDp+vVOGQa7SX3JmYo5Fhx5d9bTr+EzQ="; pin-sha256="f8AJBUipwyLm7Bi7dmWuSQtZ0mjzQIxTnMHKz46+tcA="; pin-sha256="AgDDWdyfwm+Zad1CjKwRCnO19IcNWX/77NdNqSVvye4="; pin-sha256="caovys7YuUPJnpTPpE78KnU0iMtmB4YSPXE8pwnBG0M="; pin-sha256="3WZ/XW1VBKtg96dOFxw6d76Dlj3zFmf5XQZjDWGP9UQ="; pin-sha256="4a1kUHHJfFCI56eCfyK93drXWNSg6A3s9bHZEy78omY="; pin-sha256="F8egtnP93jOrJ9O4wWFinz1Gg35fEDShqhouY7TH6AQ="; pin-sha256="NFET+D7EwbJMOu+/IMf0eNiOHL60ECd73RkSHkSHQKk="; max-age=86400
Set-Cookie: SERVERID=web1; path=/

---response end---
200 OK

Stored cookie manjarolinux.polymorf.fr -1 (ANY) / <session> <insecure> [expiry none] SERVERID web1
Registered socket 3 for persistent reuse.
Taille : non indiqué [text/html]
Sauvegarde en : « index.html »

index.html              [ <=>                ]     710  --.-KB/s    in 0s     

2016-12-24 00:19:05 (23,2 MB/s) - « index.html » sauvegardé [710]

Pacman est en greve

#20Messageil y a 7 ans

Bonsoir
J'ai le sentiment que pacman fonctionne normalement, puisque pamac l'invoque. Le retour que tu donne indique que tu pointe bien les bons dépôts.
As tu essayé en TTY ou en switchant en root (su -) ? Je pense que c'est xfce4-terminal qui pose problème.
Répondre