You are not logged in.
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
I can not replicate using that mirror. Try a "pacman -Syyu" (note the two "y"s).
Offline
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
(Un)fortunately "pacman -Syyu" fixed it, I'll provide a backtrace if it segmentation faults in the future. Thanks!
Offline
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
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
..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