Professional Web Applications Themes

rpm -i sendmail problem - Linux Setup, Configuration & Administration

Hello, I did a simple upgading of sendmail, but weirdly enough, it seems the pkg has not been replace successfully? [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm warning: sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID 897da07a 1:sendmail ########################################### [100%] [rootgokkog sendmail]# rpm -q sendmail sendmail-8.12.5-7 Am I missing some other steps / packages? Thanks, Wenjie...

  1. #1

    Default rpm -i sendmail problem

    Hello,


    I did a simple upgading of sendmail, but weirdly enough, it seems
    the pkg has not been replace successfully?


    [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm
    warning: sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID 897da07a
    1:sendmail ########################################### [100%]
    [rootgokkog sendmail]# rpm -q sendmail
    sendmail-8.12.5-7


    Am I missing some other steps / packages?
    Thanks,
    Wenjie
    Wenjie Guest

  2. #2

    Default Re: rpm -i sendmail problem

    Wenjie wrote:
    > Hello,
    >
    >
    > I did a simple upgading of sendmail, but weirdly enough, it seems
    > the pkg has not been replace successfully?
    >
    >
    > [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm
    > warning: sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID 897da07a
    > 1:sendmail ########################################### [100%]
    > [rootgokkog sendmail]# rpm -q sendmail
    > sendmail-8.12.5-7
    >
    >
    > Am I missing some other steps / packages?
    > Thanks,
    > Wenjie
    It's fine. You've just never added the PGP or GPG keys for your
    operatinig system release. Look up the manual page on "rpm".

    Also, if your distribution provides one, you may want to add the
    sendmail-cf and sendmail-doc packages.

    Nico Kadel-Garcia Guest

  3. #3

    Default Re: rpm -i sendmail problem

    begin On Mon, 28 Jul 2003 05:33:12 -0700, Wenjie wrote:
    > Hello,
    >
    >
    > I did a simple upgading of sendmail, but weirdly enough, it seems the
    > pkg has not been replace successfully?
    >
    >
    > [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm warning:
    You did not upgrade sendmail, you installed the source package for
    sendmail-8.12.9-7

    You don't really need it, you can remove it if you want to.
    > sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID 897da07a
    > 1:sendmail ###########################################
    > [100%]
    > [rootgokkog sendmail]# rpm -q sendmail sendmail-8.12.5-7
    Yep, as I said you only installed the source package and not the
    application itself.

    Download; sendmail-8.12.9-7.i386.rpm

    Install by; rpm -Uvh package_name or rpm -Fvh package_name (Do not use
    rpm -ivh, this will install and not upgrade) See 'man rpm' for the details
    and information.


    --
    end
    There's no attachment here, your reader is broken by Microsoft's choice!!
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q265230[/url]


    Lenard Guest

  4. #4

    Default Re: rpm -i sendmail problem

    Wenjie wrote:
    > Hello,
    >
    >
    > I did a simple upgading of sendmail, but weirdly enough, it seems
    > the pkg has not been replace successfully?
    >
    >
    > [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm
    > warning: sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID
    > 897da07a
    > 1:sendmail ###########################################
    > [100%]
    > [rootgokkog sendmail]# rpm -q sendmail
    > sendmail-8.12.5-7
    >
    >
    > Am I missing some other steps / packages?
    > Thanks,
    > Wenjie
    Hi!
    a) you have installed the source. Now you need to compile it. Alternatively
    you could install the sendmail rpm .
    b) When upgrading use rpm -Uvh . That is better.

    I hope this helps.
    Regards
    Amar

    --
    Know us - [url]http://poornam.com[/url]
    Tech support - [url]http://bobcares.com[/url]
    Hosting Control Panel - [url]http://ikonware.com[/url]
    Amarjyoti Krishnan Guest

  5. #5

    Default Re: rpm -i sendmail problem

    Wenjie wrote:
    > Hello,
    >
    >
    > I did a simple upgading of sendmail, but weirdly enough, it seems
    > the pkg has not been replace successfully?
    >
    >
    > [rootgokkog sendmail]# rpm -ivh sendmail-8.12.9-7.src.rpm
    > warning: sendmail-8.12.9-7.src.rpm: V3 DSA signature: NOKEY, key ID 897da07a
    > 1:sendmail ########################################### [100%]
    > [rootgokkog sendmail]# rpm -q sendmail
    > sendmail-8.12.5-7
    >
    >
    > Am I missing some other steps / packages?
    You have installed the source files for the sendmail program, and not
    the actual sendmail program itself. [Note: If the file extension on an
    RPM file is ".src.rpm", this indicates that the RPM file contains the
    source files for the specified software package, and not the binary
    programs for that package.] If you run

    [root]# ls /usr/src/redhat/*

    you'll see the source file stuff that you just installed (e.g., the
    sendmail "tarball" file, any patch files, the RPM .spec file, etc.).

    If your goal is to build your own binary RPM files - e.g., .i386.rpm
    files - from the source files, then:

    * If you're using Red Hat 8 or 9, do

    [root]# rpmbuild --rebuild sendmail-8.12.9-7.src.rpm

    Assuming the build process goes smoothly, the newly created binary RPMs
    will be written into the '/usr/src/redhat/RPMS/' directory tree.

    * If you're using Red Hat 7.x or older, then you need to refer to the
    'rpm' man page for information on how to build binary RPMs from the
    source RPMs. IIRC, you need to do something like this:

    [root]# rpm -bb /usr/src/redhat/SPECS/sendmail.spec

    As before, if the build is successful, the newly created binary RPMs
    will be written into the '/usr/src/redhat/RPMS/' directory tree.


    After you build the new binary RPMs, use the rpm program's "upgrade"
    option (-U) to install them, e.g.,

    [root]# cd /usr/src/redhat/RPMS/i386/
    [root]# rpm -Uvh sendmail-*.i386.rpm

    Note: DO NOT install binary RPMs (e.g., '.i386.rpm' files) using the rpm
    program's "install" option (-i) as this can easily corrupt your system.
    For example: If sendmail version 1.0 is already installed on your system
    and you then install sendmail version 2.0, you will end up a mixture of
    the sendmail v1.0 and v2.0 packages on your system. THIS IS NOT GOOD. So
    *always* use the upgrade option (-U) when installing binary RPMs,
    because the upgrade option removes the older version, if it's currently
    installed, before it installs the newer version.

    --
    Jim

    To reply by email, remove "link" and change "now.here" to "yahoo"
    jfischer_link5809{at}now.here.com


    Jim Fischer Guest

  6. Moderated Post

    Default Re: rpm -i sendmail problem

    Removed by Administrator
    Nico Kadel-Garcia Guest
    Moderated Post

Similar Threads

  1. sendmail subject problem but with a twist
    By Chris Moore in forum Linux / Unix Administration
    Replies: 1
    Last Post: June 16th, 11:27 PM
  2. sendmail alias problem
    By shane Foster in forum Linux / Unix Administration
    Replies: 0
    Last Post: September 8th, 07:54 AM
  3. php <-> sendmail problem
    By in forum PHP Development
    Replies: 3
    Last Post: August 2nd, 12:19 PM
  4. Sendmail problem in AIX 4.3.3
    By subhasbothra in forum AIX
    Replies: 1
    Last Post: July 19th, 08:09 AM
  5. sendmail problem
    By zico in forum Linux / Unix Administration
    Replies: 0
    Last Post: July 18th, 10:21 AM

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