You are not logged in.

#1 2009-09-30 09:49:29

bliP
Member
Registered: 2009-09-30
Posts: 2

Pacman segmentation fault.

Hi

While installing Arch from the x86_64 core ISO I chose the New Zealand mirror (http://mirror.ihug.co.nz/archlinux/) and it completed successfully however now when I run pacman it dies with a segmentation fault when upgrading all packages. I've tried other mirrors and they work fine (which is the obvious answer) except I really need to use a local mirror otherwise everything takes too long to download.

[root@minsk ~]# pacman -Syu --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: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': http://mirror.ihug.co.nz/archlinux/core/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database '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': http://mirror.ihug.co.nz/archlinux/extra/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database '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': http://mirror.ihug.co.nz/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
:: Synchronizing package databases...
debug: using 'core.db.tar.gz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY:  (null)
debug: ftp_proxy:  (null)
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.

Cheers.

Offline

#2 2009-09-30 10:32:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Pacman segmentation fault.

I can not replicate using that mirror.   Try a "pacman -Syyu" (note the two "y"s).

Offline

#3 2009-09-30 11:58:30

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

Re: Pacman segmentation fault.

Could you provide a backtrace ?
See here for instructions : http://bugs.archlinux.org/task/10773#comment48269

The PKGBUILDs I posted there are outdated. If you want to provide a good backtrace, you will have to rebuild pacman and libfetch by updating the current PKGBUILDs from abs, and follow instructions there :
http://wiki.archlinux.org/index.php/Deb … ing_Traces

I should make a wiki page about how getting backtrace for pacman


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

Offline

#4 2009-10-01 10:17:07

bliP
Member
Registered: 2009-09-30
Posts: 2

Re: Pacman segmentation fault.

(Un)fortunately "pacman -Syyu" fixed it, I'll provide a backtrace if it segmentation faults in the future. Thanks!

Offline

#5 2009-10-03 00:50:36

sultanoswing
Member
Registered: 2008-07-23
Posts: 317

Re: Pacman segmentation fault.

Same error for me too, using a fresh install from 2009.8 x64_86 and the NZ ihug mirror.

pacman -Syyu fixed it for me too - doesn't sound like too much of a major to fix, I hope!


Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | ThinkPad X1 | ASUS ux303ua | Surface Laptop 2 | Minisforum UM780

Offline

#6 2009-10-03 08:38:07

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

Re: Pacman segmentation fault.

Still it would be nice to get a debugging trace to find out whats going on.


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

Offline

#7 2009-10-03 22:13:08

sultanoswing
Member
Registered: 2008-07-23
Posts: 317

Re: Pacman segmentation fault.

..and weirdly it is now working properly with '-Syu' today (I've upgraded and installed a full DE (GNOME), OpenOffice etc. since install yesterday.  I can't recall (sorry!) at what point I started using -Syu since it's such a force of habit...I must have started using it through installation of the DE and other packages and it worked without error. Hmmmm!?!


Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | ThinkPad X1 | ASUS ux303ua | Surface Laptop 2 | Minisforum UM780

Offline

Board footer

Powered by FluxBB