Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Pistonpilot on October 30, 2003, 11:15:37 AM

Title: What is the difference between the rpms in SRPM and RPM dirs
Post by: Pistonpilot on October 30, 2003, 11:15:37 AM
I installed the RPM that have the .src in front on my 6.03b server.  I don't know the difference other than one might be source files - but what difference does it make if any if I installed the .src.rpm instead of just the .rpm's?
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Byte on October 30, 2003, 12:44:24 PM
RPMS is the source that makes it into a RPM.

You should use the RPMS if your going to modify the source and build into RPM.
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Pistonpilot on October 30, 2003, 09:20:59 PM
Okay, but what did I do when I downloaded all the .src.rpm into a directory, and ran RPM - etc .. and did the update and rebooted.

It looked like it ran the updates or did it?
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Dan Brown on October 30, 2003, 10:06:32 PM
No, it didn't.  You need to install the non-source RPMs.
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Robert on October 30, 2003, 10:14:21 PM
You installed the srpms. This means the sources were copied to /usr/src/redhat/SOURCES, and the spec files, which specify how the rpms are built from the srpms, were copied to /usr/src/redhat/SPECS. You have not, however, updated your server software. You need to download the noarch and i386 rpms and repeat the update procedure.
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Pistonpilot on October 30, 2003, 10:25:45 PM
Robert wrote:
>
> You installed the srpms. This means the sources were copied
> to /usr/src/redhat/SOURCES, and the spec files, which specify
> how the rpms are built from the srpms, were copied to
> /usr/src/redhat/SPECS. You have not, however, updated your
> server software. You need to download the noarch and i386
> rpms and repeat the update procedure.

I just did that.  And it looked like it was updating.  I had previously updated the SSH issue so it told me that it was already updated.  After I processed the updates and rebooted I repeated the rpm - Uhv and it again processed to 100 percent but then told me that the ssh was already patched.  I don't think it updated.

Not sure why however.

I'm going to try the replacepackages option.
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: Pistonpilot on October 30, 2003, 11:02:36 PM
This time I used the force option and it obviously prepared the updates.  But what does line 7 tell me?  Is there someting I need to do further to accomate the error message?

On reboot, my server-manager shows:

 Mitel Networks SME Server 6.0
Copyright 1999-2003 Mitel Networks Corporation
All rights reserved.

So I guess it is properly upgraded - had to use --force though.  May it always be with you.

[root@e-smith 6.03bupdates]# rpm --oldpackage *.rpm
rpm: only installation, upgrading, rmsource and rmspec may be forced
[root@e-smith 6.03bupdates]# rpm -Uhv *.rpm --force
Preparing...                ########################################### [100%]
   1:dovecot                ########################################### [  4%]
   2:e-smith-lib            ########################################### [  8%]
   3:e-smith-release        ########################################### [ 12%]
   4:e-smith-samba          ########################################### [ 16%]
   5:e-smith-test           ########################################### [ 20%]
   6:e-smith-rpm            ########################################### [ 25%]
   7:netatalk               warning: /etc/atalk/AppleVolumes.default created as /etc/atalk/AppleVolumes.default.rpmnew
warning: /etc/atalk/afpd.conf created as /etc/atalk/afpd.conf.rpmnew
warning: /etc/atalk/papd.conf created as /etc/atalk/papd.conf.rpmnew
########################################### [ 29%]
   8:openssh                ########################################### [ 33%]
   9:openssh-clients        ########################################### [ 37%]
  10:openssh-server         ########################################### [ 41%]
  11:e-smith-openssh        ########################################### [ 45%]
  12:perl-CGI               ########################################### [ 50%]
  13:perl-CGI-FormMagick    ########################################### [ 54%]
  14:e-smith-formmagick     ########################################### [ 58%]
  15:e-smith-base           ########################################### [ 62%]
  16:e-smith-apache         ########################################### [ 66%]
  17:e-smith-backup         ########################################### [ 70%]
  18:e-smith-domains        ########################################### [ 75%]
  19:e-smith-portforwarding ########################################### [ 79%]
  20:e-smith-telnet         ########################################### [ 83%]
  21:e-smith-turba          ########################################### [ 87%]
  22:pine                   ########################################### [ 91%]
  23:proftpd                ########################################### [ 95%]
  24:e-smith-proftpd        ########################################### [100%]
Pistonpilot wrote:
>
> I installed the RPM that have the .src in front on my 6.03b
> server.  I don't know the difference other than one might be
> source files - but what difference does it make if any if I
> installed the .src.rpm instead of just the .rpm's?
Title: Re: What is the difference between the rpms in SRPM and RPM
Post by: byte on October 31, 2003, 12:03:44 AM
No need to force should have just used -replacepkgs as per Mitel Readme.

Line 7 is just saving your prev rpm data so if you were to remove that package. Thats normal