Professional Web Applications Themes

Using RPM with RedHat 9.0 - Linux Setup, Configuration & Administration

Hi! I have s fresh install of RedHat 9.0 on my laptop. Before, I used version 7.3. The way rpm behaves now puzzels me. I am not an expert, but at lest I got it working for my needs with 7.3. I needed a programming language called O-Caml. I got the rpm and installed it easily with the "rpm -i ..." command. Everything worked fine. Now I need xfig and a library called libuuid. I got the rpms from both the net and the SRPMS CD'es. When issuing the corresponding "rpm -i ..." command for these two rpms, I got ...

  1. #1

    Default Using RPM with RedHat 9.0

    Hi!

    I have s fresh install of RedHat 9.0 on my laptop. Before, I used version
    7.3. The way rpm behaves now puzzels me. I am not an expert, but at lest
    I got it working for my needs with 7.3.

    I needed a programming language called O-Caml. I got the rpm and installed
    it easily with the "rpm -i ..." command. Everything worked fine.

    Now I need xfig and a library called libuuid. I got the rpms from both
    the net and the SRPMS CD'es. When issuing the corresponding "rpm -i ..."
    command for these two rpms, I got an

    warning : V3 DSA signature: NOKEY, key ID ...

    message, and nothing installs. I did some looking for an explanation on
    this on the net and read something about it in the RedHat Linux
    Customization Guide, on page 245. I then followed the suggestion on page
    250 and, as root, issued:

    rpm --import /usr/share/rhn/RPM-GPG-KEY

    Everything went fine and now when installing a package with one of the
    following commands:

    rpm -ivh e2fsprogs-1.32-6.src.rpm or
    rpm -Uvh e2fsprogs-1.32-6.src.rpm

    I don't get the warning message anymore. I get instead the following
    output:

    1:e2fsprogs ########################################### [100%]

    which, according to the same doc. should be just fine. Still

    rpm -q e2fsprogs-1.32-6.src.rpm

    reveals

    package e2fsprogs-1.32-6.src.rpm is not installed

    What am I missing? I remember having read that one can (must?) initialize
    rpm's database with a command like "rpm -dbinit ..." Is this what I am
    lacking? If so why wasn't this done for me by the installation programme?
    If I issue this command now, will I loose track of the packages already
    installed?

    Can anyone please help me out?

    Thanks!
    Catalin

    --

    <<<< ================================== >>>>
    << We are what we repeatedly do. >>
    << Excellence, therefore, is not an act >>
    << but a habit. >>
    <<<< ================================== >>>>
    Doru-Catalin Togea Guest

  2. #2

    Default Re: Using RPM with RedHat 9.0

    Doru-Catalin Togea <doru-catifi.uio.no> wrote:
    ....
    > 1:e2fsprogs ########################################### [100%]
    > which, according to the same doc. should be just fine. Still
    > rpm -q e2fsprogs-1.32-6.src.rpm
    > reveals
    > package e2fsprogs-1.32-6.src.rpm is not installed
    > What am I missing? I remember having read that one can (must?) initialize
    The packages name isn't .src.rpm, try 'rpm -q e2fsprogs' or/and
    'rpm -q e2fsprogs-1.32-6'.

    Hint:
    man rpm

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Heiming Guest

  3. #3

    Default Re: Using RPM with RedHat 9.0

    On Mon, 7 Jul 2003 William Hooper wrote:
    >"Michael Heiming" <michael+USENETwww.heiming.de> wrote in message
    >news:31dceb.0oa.lnnews.heiming.de...
    >> Doru-Catalin Togea <doru-catifi.uio.no> wrote:
    >> ...
    >> > rpm -Uvh e2fsprogs-1.32-6.src.rpm
    >>
    >> > I don't get the warning message anymore. I get instead the
    >> > following output:
    >>
    >> > 1:e2fsprogs ########################################### [100%]
    >>
    >> > which, according to the same doc. should be just fine. Still
    Yes, this must have uppacked itself in the tree /usr/src/redhat.
    >> > rpm -q e2fsprogs-1.32-6.src.rpm
    >> >
    >> > reveals
    >>
    >> > package e2fsprogs-1.32-6.src.rpm is not installed
    >>
    >> > What am I missing? I remember having read that one can (must?)
    >> > initialize
    >>
    >> The packages name isn't .src.rpm, try 'rpm -q e2fsprogs' or/and 'rpm
    >> -q e2fsprogs-1.32-6'.
    >
    >Also note that .src.rpm installs are not put in the RPM database.
    >Only binary packages go in the database.
    Yes and also, to build a binary rpm which you can install later and use,
    you do a

    rpmbuild --bb <filename.spec>

    Goto, /usr/src/redhat/SPECS. If the above is successful, you see the rpm
    in the ./BUILD dir.

    GL.
    V.
    Vwakes Guest

  4. #4

    Default Re: Using RPM with RedHat 9.0

    Vwakes <vwakeNOSPAM100softhome.net> wrote:
    > On Mon, 7 Jul 2003 William Hooper wrote:
    > >> Doru-Catalin Togea <doru-catifi.uio.no> wrote:
    > >> ...
    > >> > rpm -Uvh e2fsprogs-1.32-6.src.rpm
    > >>
    > >> > I don't get the warning message anymore. I get instead the
    > >> > following output:
    > >>
    > >> > 1:e2fsprogs ########################################### [100%]
    > >>
    > >> > which, according to the same doc. should be just fine. Still
    > Yes, this must have uppacked itself in the tree /usr/src/redhat.
    > >
    > >Also note that .src.rpm installs are not put in the RPM database.
    > >Only binary packages go in the database.
    Yep, thx for your heads up.
    > Yes and also, to build a binary rpm which you can install later and use,
    > you do a
    > rpmbuild --bb <filename.spec>
    > Goto, /usr/src/redhat/SPECS. If the above is successful, you see the rpm
    > in the ./BUILD dir.
    If the build is successful the binary rpm should be in
    /usr/src/redhat/RPMS/i386, if you omit "--target <whatever>", personally
    I prefer 'rpm -ba <...> filename.spec', which rebuilds the binary and a
    source rpm in one go and comes in handy if you update rpm packages on your
    own, modifying the *.spec file.

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Heiming Guest

Similar Threads

  1. redhat 5.3 :) ssh
    By murph in forum Linux / Unix Administration
    Replies: 2
    Last Post: January 16th, 08:18 AM
  2. RedHat and RB 4.1.3.2
    By Mike in forum Informix
    Replies: 1
    Last Post: August 28th, 09:20 AM
  3. RedHat 7.2 on 250 GB HD
    By Helge Preuss in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: August 23rd, 04:56 PM
  4. sco / redhat
    By lallous in forum SCO
    Replies: 1
    Last Post: August 14th, 06:34 PM
  5. I need GD for Redhat 9
    By Jim Rendant in forum PERL Miscellaneous
    Replies: 7
    Last Post: August 14th, 04:20 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139