You are not logged in.

#1 2006-03-25 13:36:51

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Pacman segmentation fault [solved]

Allright this is not good.
I just tried search on a package, and I got this:

root:~$ pacman -Ss flash
zsh: segmentation fault  pacman -Ss flash
root:~$ 

What is happening?


Arch - It's something refreshing

Offline

#2 2006-03-25 13:44:06

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Pacman segmentation fault [solved]

I'm probably not much help but that won't tell the devs a lot, maybe try using strace to get some more output.

Offline

#3 2006-03-25 13:48:43

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Pacman segmentation fault [solved]

Cam wrote:

I'm probably not much help but that won't tell the devs a lot, maybe try using strace to get some more output.

Strace?

EDIT: I tried to go verbose, and I got this:

[root@matrix ~]$ pacman -Sv flash
error: unable to lock pacman database.
       if you're sure pacman is not already running, you
       can remove /tmp/pacman.lck

Tried to remove /tmp/pacman.lck, but i didn't work:

[root@matrix ~]$ rm /tmp/pacman.lck
[root@matrix ~]$ pacman -Ss flash
zsh: segmentation fault  pacman -Ss flash
[root@matrix ~]$ 

Arch - It's something refreshing

Offline

#4 2006-03-25 14:01:56

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Pacman segmentation fault [solved]

I just got a thought.
Earlier this day I tried to do a 'pacman-optimize'. I think it may have screewed pacman.
Now when I run it I just get this:

[root@matrix ~]$ pacman-optimize
==> md5sum'ing the old database...
  

It just hangs.


Arch - It's something refreshing

Offline

#5 2006-03-25 14:09:06

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Pacman segmentation fault [solved]

It seems like my filesystem just was full of errors.


Arch - It's something refreshing

Offline

#6 2006-03-25 15:00:28

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Pacman segmentation fault [solved]

Perhaps if you remove all references to the database ( /var/lib/pachan)you will be able to re-start pacman and then run pacman -Syu to re-synchronize the sytem.
BTW do not delete the directory (just in case   wink ), it should be enough to move/re-name the pacman directory.

HOpe this helps.

Offline

#7 2006-03-25 18:17:10

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Pacman segmentation fault [solved]

DO NOT DELETE /var/lib/pacman/local!!

that is your "local" database of packages that are installed on your system.

Offline

Board footer

Powered by FluxBB