You are not logged in.

#1 2008-01-13 18:54:12

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Pacman 3.1 Segfault...

I did an update today and got pacman 3.1.  It was the only thing on the update list.  Now I get this whenever running pacman:

[root@highvoltage mrunion]# pacman
error: segmentation fault
error: Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
[root@highvoltage mrunion]#

How do I fix this?  I can't downgrade because pacman won't run.  I can't do anything with pacman!  I tried using the new pacman.conf and added in my one or two changes (all commented out), but no luck.  I updated the mirrorlist by commenting out the "ftp.archlinux.org" line, and that's all I did there.

How can I fix this, as now it seems I'm stuck big time!
sad


Matt

"It is very difficult to educate the educated."

Offline

#2 2008-01-13 18:57:05

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Pacman 3.1 Segfault...

Try using pacman.static.

Does "pacman --debug" show anything?

Offline

#3 2008-01-13 19:01:53

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Pacman 3.1 Segfault...

pacman --debug didn't show anything.  But I figured it out.  I rechecked my pacman.conf file and had mangled some of it up when merging my old one and new one.  All is well now.

Sorry for the trouble!


Matt

"It is very difficult to educate the educated."

Offline

#4 2008-01-13 19:17:36

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Pacman 3.1 Segfault...

Hmm. Do you still have the old and new conf files? We shouldn't get segfaults when parsing the conf files, and it would be interesting to see what caused it. If you do (or can reproduce a conf file that causes a segfault), can you post it to bug report here?

Offline

#5 2008-01-13 19:35:35

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Pacman 3.1 Segfault...

I will post a bug report if you like.  I can tell you exactly how to reproduce it -- save your mirrorlist file as pacman.conf and it'll happen!  I was on the wrong tab of GEdit when I did a "save as" and that's what happened!

Do you still want a bug report?


Matt

"It is very difficult to educate the educated."

Offline

#6 2008-01-13 19:37:18

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Pacman 3.1 Segfault...

Yes, please! That would be great (dev's don't always have time to read the forums, I just happened to come across this). Just describe the problem as best you can (your post above), and link to this thread.

Make sure you file it under the pacman project too (the link above will take you there).

Offline

#7 2008-01-14 01:27:21

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Pacman 3.1 Segfault...

No need to open a bug, as a fix has already been committed.

http://projects.archlinux.org/git/gitwe … 122becf8e1

Offline

#8 2009-01-19 18:27:41

Kruz
Member
Registered: 2008-06-22
Posts: 13

Re: Pacman 3.1 Segfault...

Hi, semi-new to the forums. I have the same problem and I haven't been able to fix it. I didn't understand the link with the "fix" and I pasted de pacman.conf.new over the pacman.conf to have the settings the way the developers wanted me to have them. Help, please.

Offline

#9 2009-01-19 19:05:13

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

Re: Pacman 3.1 Segfault...

Kruz wrote:

Hi, semi-new to the forums. I have the same problem and I haven't been able to fix it. I didn't understand the link with the "fix" and I pasted de pacman.conf.new over the pacman.conf to have the settings the way the developers wanted me to have them. Help, please.

Unless you are running pacman 3.1 with a custom pacman.conf, this has nothing to do with this thread...
Please start a new thread and give much more details about your problem.


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

Offline

Board footer

Powered by FluxBB