Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jahlewis on April 30, 2008, 03:10:01 PM

Title: Best way to get correct RPM version?
Post by: jahlewis on April 30, 2008, 03:10:01 PM
I've got affa running on a spare PC making backups of my primary 7.3 gateway server.  At one point in time, I must have run a yum update with base and updates enabled.  As a result, affa is now reporting some RPM versions are out of sync.

Both now have the correct repositories enabled (smeaddons, smecontribs, smeos, smeupdates)

For example:

What is the best way to "force" the correct version from the standard sme yum repositories?  rpm -e the wrong version, then yum install?

Quote
*
* The following packages are installed on both,
* the source 192.168.100.1 and on this backup host,
* but the version does not match:
*
perl-Class-ParamParser-1.0401-2.el4.sme
yum-metadata-parser-1.1.0-2.el4.centos
perl-IO-Socket-SSL-1.07-1.el4.rf
gpg-pubkey-66534c2b-41d57eae
kernel-2.6.9-55.0.2.EL
pcre-6.7-1
perl-Time-TAI64-2.11-1.el4.sme
perl-Unicode-IMAPUtf7-2.01-1
perl-Unix-ConfigFile-0.06-3.el4.sme
perl-Mail-RFC822-Address-0.3-1.el4.sme
Title: Re: Best way to get correct RPM version?
Post by: cactus on April 30, 2008, 05:04:47 PM
Both now have the correct repositories enabled (smeaddons, smecontribs, smeos, smeupdates)
Those are not the correct ones smecontribs should not be enabled byt default, base and updates should. They will most certainly bring you the newer kernel. The correct ones are in the FAQ in the wiki as well.
Title: Re: Best way to get correct RPM version?
Post by: kevinb on April 30, 2008, 06:29:06 PM
There may be a bug in AFFA? I also get the rpm discrepancy report:

Quote
*
* The following packages are installed on both,
* the source 192.168.1.1 and on this backup host,
* but the version does not match:
*
perl-Mail-DKIM-0.30.1-1.el4.rf
kernel-2.6.9-67.0.7.EL
smeserver-subversion-1.4-17.el4.sme
rrdtool-1.0.50-1.2.el4.rf
smeserver-sysmon-6.0-1

But when I run "yum list kernel" on both machines it shows that same kernel:

Quote
Installed Packages
kernel.i686                              2.6.9-67.0.1.EL        installed
kernel.i686                              2.6.9-67.0.7.EL        installed
kernel.i686                              2.6.9-67.0.4.EL        installed
Available Packages
kernel.i586                              2.6.9-67.0.7.EL        smeupdates

Title: Re: Best way to get correct RPM version?
Post by: janet on April 30, 2008, 10:51:43 PM
kevinb

Quote
There may be a bug in AFFA?

Then post a bug report in the correct place ie in bugzilla