[pacman] re segmentation fault (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Nealith
Hankyu
Messages : 33
Inscription : dim. 11 sept. 2011, 20:11

[pacman] re segmentation fault (résolu)

Message par Nealith »

voilà, la réinstallation de pacman à rien changer
celle d'archlinux non plus, en parlant d'elle, la net-installation n'a pas fonctionner ( à bloquer au niveau de la sélection des paquets , il arrivait pas à les charger ), j'ai du faire une installation core
alors j'ai décidé je prendre mon courage à deux mains et de vous retaper les fichiers conf et mirrorlist de pacman :
note : j'ai juste décommenter des servers, mais j'ai une question, est ce normal que nano me demande ou je veux enregistrer le fichier ?

conf :

Code : Tout sélectionner

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
mirrorlist :

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 differentes paths, uncomment and update the paths.
#RootDir        = /
#DBPaths       = /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 = /urs/bin/wget --passive-ftp -c -0 %0 %u
#XferCommand = /urs/bin/curl -C - -f %u > %0
#CleanMethod = KeepInstalled
Architecture = auto

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

#NoUpgrade =
#NoExtract =

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

#
# REPOSITORIE
#  - can be defined here or inclued forme 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 leader [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 ther will be used before the default mirror.

#[testing]
#Include = /etc/pacman.d/mirrorlist

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

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

 #

# /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 differentes paths, uncomment and update the paths.
#RootDir        = /
#DBPaths       = /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 = /urs/bin/wget --passive-ftp -c -0 %0 %u
#XferCommand = /urs/bin/curl -C - -f %u > %0
#CleanMethod = KeepInstalled
Architecture = auto

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

#NoUpgrade =
#NoExtract =

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

#
# REPOSITORIE
#  - can be defined here or inclued forme 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 leader [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 ther will be used before the default mirror.

#[testing]
#Include = /etc/pacman.d/mirrorlist

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

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

##
## Arch Linux repository mirrorlist
## Generated on 2011-08-16
##

est ce normal que j'ai un double ?
ensuite c'est la liste des servers sachant qu'il y'en a un seul de décommenté (j'ai recommenté les autres après pour voir si ça changeai quelque chose )

Code : Tout sélectionner

Server = http://mir.archlinux.fr/$repo/os/$arch
voilà, c'est tout ce que je peux vous donner, merci d'avance :)
(PS : se pourrait qu'il y est des fautes, mais normalement j'ai fait attention à remettre exactement ce qu'il y a dans les deux fichiers)
Dernière modification par Nealith le jeu. 06 oct. 2011, 20:51, modifié 1 fois.
Avatar de l’utilisateur
Nic0
Chu Ko Nu
Messages : 454
Inscription : dim. 11 janv. 2009, 03:16
Localisation : Calvados (14)

Re: [pacman] re segmentation fault

Message par Nic0 »

Salut,

Dans la 1ère configuration, il y a un Include qui se balade tout seul, c'est parce que tu as coupé le copié/collé, ou il n'y a pas de [core] la ligne en dessus. En tout cas, si c'est la totalité de ton pacman.conf, ça me semble compromis.

Pour ton mirrorlist, ce n'est pas normal d'avoir la configuration de pacman avec, tu peux tout effacer de ton mirrorlist, en ne gardant que le server "mir".
~ Yet Another DevOps Blog ~
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17601
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [pacman] re segmentation fault

Message par benjarobin »

Quel est le rapport avec segmentation fault, où est le problème ? Qu'est ce que tu as fait ?
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [pacman] re segmentation fault

Message par FoolEcho »

Nealith a écrit :alors j'ai décidé je prendre mon courage à deux mains et de vous retaper les fichiers conf et mirrorlist de pacman :
Si ton réseau fonctionne, tu peux passer par pastebin. :chinois:
«The following statement is not true. The previous statement is true.» :nage:
Nealith
Hankyu
Messages : 33
Inscription : dim. 11 sept. 2011, 20:11

Re: [pacman] re segmentation fault

Message par Nealith »

je peux pas le télécharger x) , mais c'est chelou, j'ai juste dé-commenté quelques servers pourtant ....

comment cela se fait-il que je me retrouve avec tout le fichier conf sur le mirrorlist ??
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [pacman] re segmentation fault

Message par FoolEcho »

Tu as forcément fait une fausse manipulation avec les fichiers.

Pas de souci, tu peux récupèrer les originaux de pacman.conf et mirrorlist depuis les archives de pacman et mirrorlist (regarde dans le cache de pacman: /var/cache/pacman/pkg/ ou alors tu les récupères directement depuis les sources:
http://projects.archlinux.org/svntogit/ ... ges/pacman -- attention à prendre le bon pacman.conf si tu es en 64 bits
et http://projects.archlinux.org/svntogit/ ... mirrorlist ).
«The following statement is not true. The previous statement is true.» :nage:
Nealith
Hankyu
Messages : 33
Inscription : dim. 11 sept. 2011, 20:11

Re: [pacman] re segmentation fault (résolu )

Message par Nealith »

désolé du temps de réponse, mais l'iut c'est pas facile, je poste juste pour dire que je suis encore vivant et que je me remettrai dès demain sur archlinux pour essayer cette solution,
pour la fausse manip au niveau des fichiers, j'en ai pas la moindre idée :(

edit : je viens de faire un tour dans le fichier conf de pacman, tout y est oO
mais tjrs seg fault, je vais corrigé le fichier mirrorlist et voir ce que cela donne
edit 2 : alors j'ai corrigé le fichier mirrorlist, mais j'ai un gros pb, à chaque fois que j'enregistre , il s'avère en effet que le fichier conf se rajoute dessus ....
edit 3 : ça marche aussi dans l'autre sens, c'est mirrorlist qui se rajoute à conf ....
edit 4 : pb résolu
Répondre