You are not logged in.

#1 2009-01-19 19:40:54

Kruz
Member
Registered: 2008-06-22
Posts: 13

[SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

Hi. I tried to update pacman today and I got this error:

[kruz@longhorn idl]$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed to update core (unexpected system error)--------------------------------------------------------------------------------------------------------------------------]   0%
error: segmentation fault  10.0K    0.3K/s 00:18:32 [##-------------------------------------------------------------------------------------------------------------------------]   2%
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.

My pacman version is:

[kruz@longhorn idl]$ pacman -Qs pacman
local/pacman 3.2.2-1 (base)
    A library-based package manager with dependency support
local/pacman-mirrorlist 20090108-1 (base)
    Arch Linux mirror list for use by pacman

Here's the --debug section

[kruz@longhorn idl]$ pacman --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: opening database 'core'
debug: opening database from path '/var/lib/pacman/sync/core/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.archlinux.org/core/os/x86_64
debug: adding new server URL to database 'core': ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.unixheads.org/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.umflint.edu/mirrors/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.neotuli.net/arch/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.rit.edu/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.umoss.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://schlunix.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.archlinux.com.ve/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.gigenet.com/archlinux/core/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/sync/extra/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://mirror.cs.vt.edu/pub/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.archlinux.org/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://locke.suu.edu/linux/dist/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.unixheads.org/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.easynews.com/linux/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.umflint.edu/mirrors/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.neotuli.net/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.rit.edu/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.umoss.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://schlunix.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.archlinux.com.ve/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.gigenet.com/archlinux/extra/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/sync/community/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://mirror.cs.vt.edu/pub/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.archlinux.org/community/os/x86_64
debug: adding new server URL to database 'community': ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.unixheads.org/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.easynews.com/linux/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.umflint.edu/mirrors/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.neotuli.net/arch/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.rit.edu/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.umoss.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://schlunix.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.archlinux.com.ve/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.gigenet.com/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
error: no operation specified (use -h for help)
debug: closing database 'local'
debug: unregistering database 'local'
debug: closing database 'core'
debug: unregistering database 'core'
debug: closing database 'extra'
debug: unregistering database 'extra'
debug: closing database 'community'
debug: unregistering database 'community'

Here's my 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
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 %u > %o
#CleanMethod = KeepInstalled

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

#NoUpgrade   =
#NoExtract   =

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

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

# Testing is disabled by default.  To enable, uncomment the following
# two 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]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
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

And here's my mirrorlist:

Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://archlinux.umflint.edu/mirrors/archlinux/$repo/os/x86_64
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
Server = http://schlunix.org/archlinux/$repo/os/x86_64
Server = http://mirror.archlinux.com.ve/$repo/os/x86_64
Server = http://mirrors.gigenet.com/archlinux/$repo/os/x86_64

Any suggestions or ideas as to what broke?

Thanks for your attention

Last edited by Kruz (2009-01-20 06:58:06)

Offline

#2 2009-01-19 19:44:03

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

Is this the same as your problem?

http://bbs.archlinux.org/viewtopic.php?id=42235

Offline

#3 2009-01-19 19:46:59

Kruz
Member
Registered: 2008-06-22
Posts: 13

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

shining wrote:
Kruz wrote:

Hi, semi-new to the forums. I have the same problem and I haven't been able to fix it. I didn't understand the link with the "fix" and I pasted de pacman.conf.new over the pacman.conf to have the settings the way the developers wanted me to have them. Help, please.

Unless you are running pacman 3.1 with a custom pacman.conf, this has nothing to do with this thread...
Please start a new thread and give much more details about your problem.

According to shining it isn't, that's why I started this other one.

Offline

#4 2009-01-19 19:49:06

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

Kruz wrote:
shining wrote:
Kruz wrote:

Hi, semi-new to the forums. I have the same problem and I haven't been able to fix it. I didn't understand the link with the "fix" and I pasted de pacman.conf.new over the pacman.conf to have the settings the way the developers wanted me to have them. Help, please.

Unless you are running pacman 3.1 with a custom pacman.conf, this has nothing to do with this thread...
Please start a new thread and give much more details about your problem.

According to shining it isn't, that's why I started this other one.

I wasn't exactly sure if that's how it worked out. My apologies.

Offline

#5 2009-01-19 19:50:15

Kruz
Member
Registered: 2008-06-22
Posts: 13

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

It's ok, you're just doing your job as moderator.

Offline

#6 2009-01-20 06:59:10

Kruz
Member
Registered: 2008-06-22
Posts: 13

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

Pacman fixed itself, after I got home it updated my system without a problem. Thanks anyway.

Offline

#7 2009-02-23 03:20:15

vandrona
Member
Registered: 2009-01-21
Posts: 2

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

FWIW, I am still having the segmentation fault problem with pacman 3.2.2-1.  It will, occasionally run and do an update, but for the most part it will segfault so often that doing updates is basically impossible...

Offline

#8 2009-02-25 21:55:25

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [SOLVED] Pacman problem: "Internal pacman error: Segmentation fault."

Always when downloading?
http://bugs.archlinux.org/task/10773
We have no backtrace and no ways to reproduce this bug. It is unsolvable.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB