Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: noppie 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
-
Check this out...
http://wiki.contribs.org/Updating_to_SME_7.2
-
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..
-
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: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
-
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 (http://forums.contribs.org/index.php?topic=37969.0) 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 (http://bugs.contribs.org/show_bug.cgi?id=3191),
-
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: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:rpm --import \
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/RPM-GPG-KEY-SMEServer