LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-06-2005, 03:09 AM   #1
JiggaJerry
Member
 
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 45

Rep: Reputation: 15
Segmentation fault?


I doubt anyone will even be able to answer this...but I've tried several different times to install programs in the terminal and during each installation I get the words 'segmentation fault'.

I'm not sure what is causing this or why its happening but I'd definitely like to get it fixed.

FC3 did not do this at first...my only speculation is that something was corrupted when I tried downloading the large amounts of updates that are now available for FC3, which froze several times.

Anyway, just thought I'd give it a shot...whats the deal?
 
Old 01-06-2005, 03:37 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
I've tried several different times to install programs in the terminal and during each installation I get the words 'segmentation fault'.
What do you mean? through rpm?
 
Old 01-06-2005, 03:39 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
I've tried several different times to install programs in the terminal and during each installation I get the words 'segmentation fault'.
What do you mean? through rpm?

If yes do
Code:
rpm -qa
If after displaying some packages, it stops with a segmentation fault, then your rpm database is corrupted and you need to rebuild the database with:
Code:
rpm --rebuilddb
 
Old 01-06-2005, 09:38 PM   #4
JiggaJerry
Member
 
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
yeah it happens when installing rpms... I didn't get a segmentation fault when doing rpm -qa but I went ahead and did rpm --rebuilddb anyway

unfortunately I am having the same error(s)

when I try installing an rpm under my username I get the result:
error: can't create transaction lock

when I try installing an rpm under root I get the result:
segmentation fault

Last edited by JiggaJerry; 01-06-2005 at 10:27 PM.
 
Old 01-06-2005, 10:01 PM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Download of updates only freezes if you choose an overloaded poorly reachable download server. There are many mirror servers world-wide, so pick a nearby one which doesn't make your downloads freeze.
 
Old 01-11-2005, 01:26 AM   #6
JiggaJerry
Member
 
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
read above post.

I was not aware this had to do with a faulty rpm database

rpm --rebuilddb does not work.

Last edited by JiggaJerry; 01-11-2005 at 01:30 AM.
 
Old 01-11-2005, 02:30 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
when I try installing an rpm under my username I get the result:
error: can't create transaction lock
This is how it should be. A simple user does not have the permission to install rpms.

Quote:
rpm --rebuilddb does not work.
what do you mean?
what error do you get?

Read this:
http://www.rpm.org/hintskinks/repairdb/

Last edited by perfect_circle; 01-11-2005 at 02:34 AM.
 
Old 01-16-2005, 12:53 AM   #8
JiggaJerry
Member
 
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by perfect_circle
This is how it should be. A simple user does not have the permission to install rpms.
what are you talking about? I've never had a problem installing rpms as a regular user...that is definitely how it should not be...

when I do rpm --rebuilddb I don't get any error messages, it seems like it does its thing just fine but afterwards when I attempt to install an rpm I get the same two messages stated earlier.

But anyways, I will try this link out...I already tried one from RedHat with no success but maybe this will help.
 
Old 01-16-2005, 03:28 AM   #9
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Quote:
Originally posted by JiggaJerry
what are you talking about? I've never had a problem installing rpms as a regular user...that is definitely how it should not be...
What he means is that plain "rpm" command must be run by the superuser or with sudo before it could install/erase RPM packages. This has been like that always. Only external helper tools like system-config-packages and system-install-packages receive more privileges via PAM, but with default configuration you need to enter root password for that.
 
Old 01-16-2005, 03:48 PM   #10
JiggaJerry
Member
 
Registered: Sep 2004
Distribution: Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
oh okay I understand...however I never got the lock error when trying to install as a regular user. I would simply just get a popup for me to enter the root password.
 
Old 01-16-2005, 04:01 PM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
You don't refer to plain RPM as in the command-line utility /bin/rpm, but to the front-end system-install-packages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what does Segmentation Fault mean ? baronlynx Linux - Newbie 10 10-25-2009 04:32 PM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika Suse/Novell 2 12-02-2005 09:34 AM
Help !!! Segmentation fault mola Linux - Software 3 06-23-2005 11:13 AM
Segmentation fault tejas15_10 Programming 9 06-20-2005 09:12 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 05:45 AM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration