LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Segmentation fault? (https://www.linuxquestions.org/questions/fedora-35/segmentation-fault-274492/)

JiggaJerry 01-06-2005 03:09 AM

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? :scratch:

perfect_circle 01-06-2005 03:37 AM

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?

perfect_circle 01-06-2005 03:39 AM

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

JiggaJerry 01-06-2005 09:38 PM

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

misc 01-06-2005 10:01 PM

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.

JiggaJerry 01-11-2005 01:26 AM

read above post.

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

rpm --rebuilddb does not work.

perfect_circle 01-11-2005 02:30 AM

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/

JiggaJerry 01-16-2005 12:53 AM

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.

misc 01-16-2005 03:28 AM

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.

JiggaJerry 01-16-2005 03:48 PM

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.

misc 01-16-2005 04:01 PM

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


All times are GMT -5. The time now is 04:59 PM.