Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2003
    Location
    Potsdam, NY
    Posts
    646

    Installing RPM w/o RPM?

    Hey,

    Whenever I try to install an RPM its throwing a segmentation fault.

    ex:

    [email protected] [~]# rpm -Uvh j2sdk-1_4_2_03-linux-i586.rpm
    Preparing... ########################################### [100%]
    Segmentation fault


    I tried to find the source of RPM and compiling it, but I cant find it

    Any ideas on how to fix the problem? Its happening on 2 of my servers 0_o

  2. #2
    Join Date
    Aug 2002
    Location
    Superior, CO, USA
    Posts
    633
    In this particular case do you need the RPM? The JDK is available in multiple formats, including a self extracting binary. It extracts to the current directory so 'cd' to where you want to be and run it.

    As an aside though, what O/S are you on? Older RedHats (the 7.x series) require particular RPM's be installed before you try to install the JDK. See http://java.sun.com/j2se/1.4.2/install-linux.html for more information.

  3. #3
    Join Date
    Feb 2003
    Location
    Potsdam, NY
    Posts
    646
    Thats besides the point.... it wont install ANY rpm.

    EDIT: Argh, i remember i force installed the 2.3 glibc binaries about a month ago, it could be causing the problem. I'm not sure how to go about rolling back, gcc seems to be busted.

  4. #4
    Join Date
    Jun 2003
    Posts
    961
    you can convert rpm to tar with http://www.jmknoble.net/software/rpm2tar/

    i saw similar problems when the rpm package db was broken, maybe try to rebuild the db

    REBUILD DATABASE OPTIONS
    The general form of an rpm rebuild database command is

    rpm --rebuilddb


    To rebuild a new database, do:

    rpm --initdb


    The only options for these modes are --dbpath and --root.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •