Koozali.org: home of the SME Server

Update problems

noppie

Update problems
« on: July 29, 2007, 07:20:16 PM »
Hi,

A few says ago I updated our sme server and encountered problems. First yum couldn't find some packages. After I checked, I found out that the repository url's had changed. This was the first update in months, so I updated yum first. That did the trick, yum proceeded with downloading all the packages. But then I got the following error:

------------------------------------------------
Install     41 Package(s)
Update     234 Package(s)
Remove       0 Package(s)
Total download size: 250 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 217521f6

Public key for perl-File-MMagic-1.27-2.el4.noarch.rpm is not installed
------------------------------------------------

Could anyone tell me how to obtain the public key for perl-File-MMagic-1.27-2.el4.noarch.rpm ?

Thanks in advance,

Eric

Offline byte

  • *
  • 2,183
  • +2/-0
Update problems
« Reply #1 on: July 29, 2007, 10:39:14 PM »
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

noppie

Update problems
« Reply #2 on: July 30, 2007, 03:19:50 PM »
Quote from: "byte"
Check this out...

http://wiki.contribs.org/Updating_to_SME_7.2


Thanks for the tip. But as I wrote I allready updated yum, so now the new mirrorlists are used, causing yum not to find the requested packages:
...
...
Error Downloading Packages:
  dbus-glib - 0.22-12.EL.9.i386: failure: SME/RPMS/dbus-glib-0.22-12.EL.9.i386.r                                                                                                   pm from base: [Errno 256] No more mirrors to try.

Can I trick yum by downloading these packages by hand and placing them somewhere? Or should I try to undo the update? If so,  could you tell me how?
I know, I'll read TFM the next time first..

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Update problems
« Reply #3 on: July 30, 2007, 04:57:23 PM »
Updating yum does NOT re-set your default repository list which WILL BE WRONG if you installed from any iso prior to 7.1 and have not yet reconfigured your default repositories.

Specifically, in SME 7.0 the sme repositories had copies of many centos rpms - starting with SME 7.1 these rpms must be downloaded directly from the centos repositories (and hence will not be found with the 7.0 default repository configuration).  

If you haven't yet done so, try this:
Code: [Select]
yum clean all
yum --disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeaddons \
--enablerepo=smeos \
--enablerepo=smeupdates \
update


Finally, with the original SME 7.1 repository configuration (I think) it was possible to mistakenly download and install a centos kernel which would then cause problems with subsequent sme updates: http://forums.contribs.org/index.php?topic=37183.0

Someone else had trouble w/ yum and downgraded it (I haven't seen instructions on exactly how to do this, though): http://bugs.contribs.org/show_bug.cgi?id=3021

Offline meneer

  • **
  • 26
  • +0/-0
    • http://www.tken.net
Update problems
« Reply #4 on: August 02, 2007, 12:41:11 AM »
I followed all the instructions to upgrade from 7.1.3 to 7.2, over and over again, but I am still experiencing the same problems as the first poster:

A German post mentioned excluding the pgp check in yum to enable the upgrade. Probable excluding it for the smeos repositories is enough, but that can't be the best way, the signature check has got some meaning?

How can the public key be retrieved? Or should we use the german solution.

I would like to vote for bug 3191,
...
First check cables............

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Update problems
« Reply #5 on: August 02, 2007, 05:12:52 AM »
Here's an english post on this: http://forums.contribs.org/index.php?topic=37908.0

You can disable the GPGCheck for the 5 default repositories using:
Code: [Select]
db yum_repositories setprop base GPGCheck no
db yum_repositories setprop updates GPGCheck no
db yum_repositories setprop smeaddons GPGCheck no
db yum_repositories setprop smeos GPGCheck no
db yum_repositories setprop smeupdates GPGCheck no
expand-template /etc/yum.conf


The topic referenced above also recommends running:
Code: [Select]
rpm --import \
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/RPM-GPG-KEY-SMEServer