You are not logged in.
Help is needed.
My Pacman has died, I just upgraded my pacman to the new pacman 3.4.2-1, and now i get the following error on my system.
When i use pacman command this comes up.
"pacman
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate"
pacman.log
[2011-01-03 08:00] Running 'pacman -R filezilla'
[2011-01-03 08:00] removed filezilla (3.3.5.1-1)
[2011-01-03 08:00] Running 'pacman -R pan'
[2011-01-03 08:00] Running 'pacman -R pan-git'
[2011-01-03 08:00] removed pan-git (20110102-1)
[2011-01-03 08:01] Running 'pacman --sync --refresh'
[2011-01-03 08:01] synchronizing package lists
[2011-01-03 12:45] Running 'pacman --sync ushare'
[2011-01-03 12:46] upgraded pacman (3.4.1-1 -> 3.4.2-1)
I am running on i686 on Celeron Dual Core .
Anyone knows what i can do, I tried to manuel download a earlier version and compile it from source , i got the same error with that.
If you need more information from my system to track the error just tell me.
Thank you for any help you can give me , Love Arch always
Perrito , Denmark.
Offline
first save the db.
tar czf pacman_db.tar.gz /var/lib/pacman/
then go here: https://bugs.archlinux.org/task/22156?project=3
Give what you have. To someone, it may be better than you dare to think.
Offline
Perhaps the pacman cache is corrupted. Try pacman -Syy then try again
Offline
Perhaps the pacman cache is corrupted. Try pacman -Syy then try again
Please save the db as in wonder's post before doing this. We thought we had fixed this issue with 3.4.2...
Offline
I have saved the db.
but no matter what i do with pacman it comes up with the same error message
pacman -Syu ore pacman -Syy still i get ..
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
it simply wont let me to anything , can it be a problem with one of the lib that pacman needs .?
Offline
Post the output of "pacman -Syy --debug"
Offline
Here is my output of pacman -Syy --debug.
pacman -Syy --debug
debug: config: attempting to read file /usr/local/etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: architecture: i686
debug: config: new section 'core'
debug: registering sync database 'core'
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
Thank you
Offline
Hmmm.... that is quite early to segfault....
Can you post your pacman.conf and mirrorlist files?
Offline
Here is 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 -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#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
# - 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]
#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
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgsThis is my mirrorlist.
# Mirror used during installation
#Server = ftp://ftp.klid.dk/archlinux/$repo/os/i686
#
# Arch Linux repository mirrorlist
# Generated on 2010-08-26
#
# Any
#Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
#Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
#Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
#Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
#Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
#Server = ftp://mirror.optus.net/archlinux/$repo/os/$arch
#Server = http://mirror.optus.net/archlinux/$repo/os/$arch
# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/$arch
#Server = http://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/$arch
# Belarus
#Server = ftp://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
#Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
# Belgium
#Server = ftp://archlinux.mirror.kangaroot.net/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
# Brazil
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/$arch
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
#Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
# Canada
#Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = ftp://mirror.its.dal.ca/archlinux/$repo/os/$arch
#Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
# Chile
#Server = ftp://mirror.archlinux.cl/$repo/os/$arch
# China
#Server = http://mirrors.163.com/archlinux/$repo/os/$arch
#Server = http://mirror.bjtu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirror6.bjtu.edu.cn/archlinux/$repo/os/$arch
#Server = ftp://mirrors.sohu.com/archlinux/$repo/os/$arch
#Server = http://mirrors.sohu.com/archlinux/$repo/os/$arch
# Denmark
#Server = ftp://mirrors.dotsrc.org/archlinux/$repo/os/$arch
Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
#Server = ftp://ftp.klid.dk/archlinux/$repo/os/$arch
# Estonia
#Server = ftp://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
#Server = http://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
# Finland
#Server = ftp://mirror.archlinux.fi/archlinux/$repo/os/$arch
#Server = http://mirror.archlinux.fi/archlinux/$repo/os/$arch
# France
#Server = http://mir.archlinux.fr/$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 = ftp://mir1.archlinux.fr/archlinux/$repo/os/$arch
#Server = http://mir1.archlinux.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 = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/$arch
# Germany
#Server = http://archlinux.limun.org/$repo/os/$arch
Server = ftp://artfiles.org/archlinux/$repo/os/$arch
#Server = http://artfiles.org/archlinux/$repo/os/$arch
Server = ftp://archlinux.giantix-server.de/$repo/os/$arch
Server = http://archlinux.giantix-server.de/$repo/os/$arch
#Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = ftp://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
#Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
#Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
#Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
#Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
Server = ftp://mirror.selfnet.de/archlinux/$repo/os/$arch
#Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
#Server = ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
#Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
#Server = ftp://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
# Great Britain
#Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
#Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/$arch
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/$arch
#Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
# Greece
#Server = ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
#Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/$arch
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch
# Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
# India
#Server = ftp://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
#Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
# Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
#Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
# Israel
#Server = ftp://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
# Japan
#Server = ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
#Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
# Kazakhstan
#Server = ftp://archlinux.kz/$repo/os/$arch
#Server = http://archlinux.kz/$repo/os/$arch
# Latvia
#Server = http://archlinux.goodsoft.lv/$repo/os/$arch
# Lithuania
#Server = ftp://atviras.lt/archmirror/$repo/os/$arch
#Server = http://atviras.lt/archmirror/$repo/os/$arch
# Netherlands
#Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/$arch
#Server = http://mirror.leaseweb.com/archlinux/$repo/os/$arch
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
#Server = http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
# New Caledonia
#Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/$arch
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch
# Norway
#Server = ftp://mirror.archlinux.no/$repo/os/$arch
#Server = http://mirror.archlinux.no/$repo/os/$arch
#Server = ftp://archlinux.uib.no/pub/Linux/Distributions/archlinux/$repo/os/$arch
#Server = http://archlinux.uib.no/$repo/os/$arch
# Poland
#Server = ftp://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/$arch
#Server = http://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/$arch
#Server = http://unix.net.pl/archlinux.org/$repo/os/$arch
# Portugal
#Server = http://darkstar.ist.utl.pt/archlinux/$repo/os/$arch
#Server = ftp://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
#Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
# Romania
#Server = ftp://mirror.archlinux.ro/archlinux/$repo/os/$arch
#Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
#Server = ftp://ftp.roedu.net/mirrors/archlinux.org/$repo/os/$arch
#Server = http://ftp.roedu.net/mirrors/archlinux.org/$repo/os/$arch
# Russia
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/$arch
#Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
# Spain
#Server = ftp://ftp.rediris.es/mirror/archlinux/$repo/os/$arch
#Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch
# Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
#Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
# Taiwan
#Server = ftp://ftp.mirror.tw/pub/ArchLinux/$repo/os/$arch
#Server = http://www.mirror.tw/pub/ArchLinux/$repo/os/$arch
#Server = ftp://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
#Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
# Turkey
#Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/$arch
#Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
# Ukraine
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
#Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
# United States
#Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
#Server = ftp://ftp.archlinux.org/$repo/os/$arch
#Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
#Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
#Server = ftp://mirrors.hosef.org/archlinux/$repo/os/$arch
#Server = http://mirrors.hosef.org/archlinux/$repo/os/$arch
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/$arch
#Server = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/$arch
#Server = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/$arch
#Server = ftp://mirrors.xmission.com/archlinux/$repo/os/$arch
#Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch
#Server = ftp://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
#Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
#Server = ftp://mirror.rit.edu/archlinux/$repo/os/$arch
#Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
#Server = http://schlunix.org/archlinux/$repo/os/$arch
#Server = http://mirror.umoss.org/archlinux/$repo/os/$arch
#Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$archThanks
Offline
They look fine. And I can not see why pacman would segfault at that point...
I just noticed this:
pacman.log
[2011-01-03 08:00] Running 'pacman -R filezilla'
[2011-01-03 08:00] removed filezilla (3.3.5.1-1)
[2011-01-03 08:00] Running 'pacman -R pan'
[2011-01-03 08:00] Running 'pacman -R pan-git'
[2011-01-03 08:00] removed pan-git (20110102-1)
[2011-01-03 08:01] Running 'pacman --sync --refresh'
[2011-01-03 08:01] synchronizing package lists
[2011-01-03 12:45] Running 'pacman --sync ushare'
[2011-01-03 12:46] upgraded pacman (3.4.1-1 -> 3.4.2-1)
How does running "pacman --sync ushare" update pacman?
Offline
Well i wanted to install ushare on my system, but then the system in that progress said that there is a new pacman update ready, do you want to install, and I said yes, it then updated the pacman and then the segfault came. as you can see i installed and removed other pacages only hours before without any problem, it faulted only right after update.
Per
Offline
Try `strace pacman -Syy --debug` as well. Also helpful would be getting a backtrace from gdb, although it might not be very helpful without symbols. Anyway, `gdb --args pacman -Syy`, then hit 's', 'c', and 'bt' once it says it threw the segfault symbol to get a backtrace.
Offline
I unfortantly don't have either strace nore gdb installed on my system, so i can't use them.
but thanks anyway.....
thanks
Offline
Would pacman.static allow installation of packages from say chroot?
Mr Green
Offline
Mr Green: pacman.static hasn't existed for ages.
perrito: can you grab the strace package off a mirror (you can get a download link from the main website), extract it somewhere temporary with tar or bsdtar, and just run the binary from there? It should run without problems. It also looks like you could do something similar with gdb.
You've given us very little to work with here, so we're really trying to help but you have to help yourself sometimes too...
Allan: This should be where the log normally goes, so we're blowing up in config parsing somehow...
[15:34:59] debug: config: new section 'core'
[15:34:59] debug: registering sync database 'core'
[15:34:59] debug: config file /etc/pacman.conf, line 66: including /etc/pacman.d/mirrorlist
[15:34:59] debug: config: attempting to read file /etc/pacman.d/mirrorlist
[15:34:59] debug: adding new server URL to database 'core': http://mirrors.kernel.org/archlinux/core/os/x86_64
Offline
Allan: This should be where the log normally goes, so we're blowing up in config parsing somehow...
Yeah... I stared at that code yesterday and could not find anything obvious where a NULL variable check was missed.
Offline
When you say "upgraded" to 3.4.2, how in the heck did you do that? Because using the stock Arch package I should never ever see this in your log output:
debug: config: attempting to read file /usr/local/etc/pacman.conf
Note the "/usr/local"...
Offline
There were a few people with screwed library dependencies and a second set of pacman files under /usr/local/ recently...
The output of these commands could also be helpful:
which pacman
pacman -v
cat /usr/local/etc/pacman.confEDIT:
I tried to manuel download a earlier version and compile it from source , i got the same error with that.
Looks like you did not specify the correct install/config directories while compiling. Please make sure you use the binary from the repos in /usr/bin when posting here, and better yet remove the disconnected pacman files under /usr/local.
Last edited by hokasch (2011-01-06 03:29:55)
Offline
I have the same issue. I can't seem to find anything wrong with my mirrorlist or pacman.conf
I'm going to bookmark this and look at it later. If anyone finds something of value, I appreciate it.
Offline