On Fri, 2010-07-30 at 21:06 +0200, Sven-Hendrik Haase wrote:
On 30.07.2010 21:00, b1 wrote:
Hey alltogether
Unfortunatelly I ran into some really strange pacman problem. While performing an normal system update, my computer froze (due to some incorrect overclocking settings). After correcting the settings and rebooting, I tried to run the Upgrade again, and got this (after manually removing the lock file):
error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate.
Afterwards I ran the pacman with --debug switch. Since the ouptut is rather long, I have attached it to the end of the mail.
Unfortunatelly, gdb wasn't very helpfull, just showing 0x00007ffff78d8c96 in strcmp () from /lib/libc.so.6
If any one has any idea of how to replace the broken pacman with a new pacman or of how to fix this issue, I would greatly appreciate to hear from you.
Thanks in advance
Benedikt
You should try to manually get the package from the ftp, unpack it and overwrite the pacman binary manually. Then perform a full system reinstallation using pacman -Sy $(pacman -Qq) since you cannot know whether other binaries are also affected.
-- Sven-Hendrik
Thanks for your reply, especially for the reinstallation of all packages. I wouldn't have thought of that. However unfortunatelly the problem persists. pacman -Syu produces the exactly same output as before. However based on your suggestions I ran the following commands after replacing the pacman binary... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sudo pacman -U ftp://ftp5.gwdg.de/pub/linux/archlinux/core/os/x86_64/pacman-3.4.0-2-x86_64.pkg.tar.gz pacman-3.4.0-2-x86_64 658.3K 335.7K/s 00:00:02 [######################] 100% resolving dependencies... looking for inter-conflicts... Targets (1): pacman-3.4.0-2 Total Download Size: 0.00 MB Total Installed Size: 2.23 MB Proceed with installation? [Y/n] checking package integrity... (1/1) checking for file conflicts [######################] 100% (1/1) upgrading pacman [######################] 100% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ b1 ~: sudo pacman -S $(pacman -Qq) warning: a52dec-0.7.4-4 is up to date -- reinstalling warning: aalib-1.4rc5-6 is up to date -- reinstalling warning: abs-2.3.4.1-1 is up to date -- reinstalling warning: acl-2.2.49-1 is up to date -- reinstalling warning: alacarte-0.13.1-1 is up to date -- reinstalling warning: alsa-lib-1.0.23-1 is up to date -- reinstalling warning: alsa-plugins-1.0.23-1 is up to date -- reinstalling warning: alsa-utils-1.0.23-2 is up to date -- reinstalling warning: apache-2.2.15-2 is up to date -- reinstalling [...] warning: zenity-2.30.0-1 is up to date -- reinstalling warning: zlib-1.2.5-2 is up to date -- reinstalling warning: zvbi-0.2.33-2 is up to date -- reinstalling error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ b1 ~: sudo pacman -Syu:: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... warning: evolution: local (2.31.2-1) is newer than extra (2.30.2-1) warning: evolution-data-server: local (2.31.2-1) is newer than extra (2.30.2.1-1) warning: gtkhtml: local (3.31.2-1) is newer than extra (3.30.2-1) error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Any help is greatly appreciated. Thanks Benedikt