Koozali.org: home of the SME Server

Best way to get correct RPM version?

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
Best way to get correct RPM version?
« 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:
  • Primary server: kernel-2.6.9-55.0.2.EL
  • Affa server: kernel-2.6.9-67.0.1.EL

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
............

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Best way to get correct RPM version?
« Reply #1 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Best way to get correct RPM version?
« Reply #2 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


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Best way to get correct RPM version?
« Reply #3 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.