Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: imcintyre on March 02, 2007, 05:43:30 AM
-
I have SME Server 7.0 that I upgraded to 7.1. In the SME Server Panel, under software installer. There are a number of upgrades listed. All are blue in color. I try to install them, all kinds of good things seem to be happening and finally I am asked to reconfigure, the system reboots and then..... The same upgrades are still listed as available. For some reason the upgrades are not installed or not detected as being installed. I have "installed" them 3 times without success.
I would appreciate any help or insight that can be given.
Thx
-
Please take this to the bug tracker.
-
Will do, just waiting for password to be emailed
-
But while I'm waiting..... :?
Does anybody have this problem?
-
Will do, just waiting for password to be emailed
Check your email now!
-
Check your email now!
Hmmmm. Checked email and checked and...
I'll try another email account.
-
Ok. I have reported to Bug Tracker
-
Please, try this command:
yum clean all
and when finish:
yum update
Confirm you have selected these repositories:
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
I not upgrade properly, please post the errors.
-
I ran both your commands and there were no errors reported and no commands required afterward.
Is there anything else I should look at
Thx in advance for your help.
-
From the command line.
db yum_repositories setprop updates Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop base Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,httpd,mod_ssl
expand-template /etc/yum.conf
yum clean all
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
If it still fails look in /etc/e-smith/db and clean out the yum directories (except the repositories one although you could if you don't have any custom repositories).
rm /home/e-smith/db/yum_available
rm /home/e-smith/db/yum_installed
rm /home/e-smith/db/yum_updates
signal-event post-upgrade
signal-event reboot
-
William:
Is this all one command/one line of code?
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
Thx in advance
Ian
-
having some problems getting yum updates and files...
[root@server71 ~]# yum update \
> --disablerepo=* \
> --enablerepo=base \
> --enablerepo=updates \
> --enablerepo=smeos \
> --enablerepo=smeupdates \
> --enablerepo=smeaddons
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.02 seconds
primary.xml.gz 100% |=========================| 106 kB 00:00
updates : ################################################## 308/308
Added 308 new packages, deleted 0 old in 14.01 seconds
primary.xml.gz 100% |=========================| 569 kB 00:00
base : ################################################## 1500/1500
Added 1500 new packages, deleted 0 old in 48.23 seconds
primary.xml.gz 100% |=========================| 257 kB 00:08
smeos : ################################################## 486/486
Added 486 new packages, deleted 0 old in 21.91 seconds
primary.xml.gz 100% |=========================| 77 kB 00:02
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 77 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 77 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 3.1 kB 00:00
smeupdates: ################################################## 2/2
Added 2 new packages, deleted 0 old in 0.23 seconds
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
No Packages marked for Update/Obsoletion
and
signal-event post-upgrade
signal-event reboot
-
Also this
[root@server71 ~]# yum --enablerepo=* install netpbm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smetest 100% |=========================| 951 B 00:00
smedev 100% |=========================| 951 B 00:00
http://mirror.centos.org/centos/4/testing/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: testing
failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
-
As always please report bugs and potential bugs in the bug tracker - Dont forget to search the bug tracker as your problem may exist. Thanks!
-
Byte:
If "file bug" comment is directed at me, see Bug 2610. I wasn't sure if it was a bug or I was just a screw up so I filed here first.
Electroman:
Not sure if this is a question or an answer. Assuming it is a question, should you be updating from the "testing" repository?
Ian
-
Ran...
yum --enablerepo=* install netpbm
from the command line and it borked as above but then ran it from servman
and all went well.
Not sure if it is a bug or needed to have testing enabled.
-
William:
Is this all one command/one line of code?
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
Thx in advance
Ian
The backslash is used to wrap lines and is handy to keep things neat.
Just cut and paste the whole lot into a terminal window.
If you go back through your console history you will see how it was converted to one line.
-
This works
yum --enablerepo=base install netpbm
-
This works
yum --enablerepo=base install netpbm
You can search all your repositories and then decide which one to get it from.. if you have a choice.
yum whatprovides netpbm --enablerepo=*
Lots of options with yum.
-
10-4 William
yum --enablerepo=* install netpbm
Works on 7.1 but not on 7.1.1
Humm...starting to look like a bug in 7.1.1
-
William;
See error at end, this still seems screwed up.
Ran this:yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
Results were:
IMc - some deletions for brevity
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libghttp to pack into transaction set.
libghttp-1.0.9-10.99_2.el 100% |=========================| 4.5 kB 00:00
---> Package libghttp.i386 1:1.0.9-10.99_2.el4.at set to be updated
---> Downloading header for perl-Digest-SHA to pack into transaction set.
perl-Digest-SHA-5.44-1.el 100% |=========================| 3.9 kB 00:00
---> Package perl-Digest-SHA.i386 0:5.44-1.el4.rf set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
DCC i386 1.3.50-16.el4.at smeupdates 1.3 M
aspell i386 12:0.60.3-7.1.el4.sme smeupdates 1.0 M
aspell-de i386 50:0.50-11.2.2.el4.sme smeupdates 3.5 M
aspell-en i386 50:6.0-2.1.el4.sme smeupdates 1.5 M
IMc - some deletions for brevity
pam_abl i386 0.2.3-2.el4.sme smeupdates 22 k
perl-Compress-Zlib i386 1.42-1.el4.rf smeos 152 k
perl-Digest-SHA i386 5.44-1.el4.rf smeupdates 78 k
perl-HTTP-GHTTP i386 1.07-4.el4.at smeupdates 30 k
perl-Mail-DKIM noarch 0.22-1.el4.sme smeupdates 70 k
pv i386 0.9.6-1.el4.rf smeupdates 49 k
Transaction Summary
=============================================================================
Install 11 Package(s)
Update 62 Package(s)
Remove 0 Package(s)
Total download size: 57 M
Is this ok [y/N]: y
Downloading Packages:
(1/73): e-smith-backup-1. 100% |=========================| 67 kB 00:00
(2/73): e-smith-ldap-4.12 100% |=========================| 50 kB 00:00
IMc - some deletions for brevity
(73/73): aspell-en-6.0-2. 100% |=========================| 1.5 MB 00:11
Running Transaction Test
Finished Transaction Test
Transaction Check Error: package kernel-2.6.9-42.0.10.EL (which is newer than
kernel-2.6.9-42.0.8.EL) is already installed package kernel-smp-2.6.9-42.0.10.EL
(which is newer than kernel-smp-2.6.9-42.0.8.EL) is already installed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server /]#
-
Bit hard to explain via forums but here goes..
What version kernel modules do you have ?
rpm -qa kmod*
I'll assume there _42.0.8.EL
Which version kernel are you running?
uname -r
I'll assume it's 2.6.9-42.0.10.EL
I'll also assume it's a production machine so we will downgrade the kernel.
If you can sit in front of the machine, reboot it and select a 2.6.9-42.0.8.EL kernel at boot time.
Or edit /boot/grub/grub.conf and change the 'default' line to be your required kernel. The list of kernels start at 0 and count down the list. Save your edits and reboot.
Repeat the above commands and make sure your kmods equal your kernel.
Now, remove the 'newer' kernels.
yum remove kernel-2.6.9-42.0.10.EL
yum remove kernel-smp-2.6.9-42.0.10.EL
If it wants to remove anything else come back here with a list.
Now try the update process again.
-
Thx for quick response. It's a "production" machine I use at home. I'm about to go to work so I will do this evening.
-
William:
Code: rpm -qa kmod*
Result:[root@server /]# rpm -qa kmod*
kmod-appletalk-smp-1.0-1.2.6.9_42.0.3.EL
kmod-slip-1.0-1.2.6.9_42.0.3.EL
kmod-slip-smp-1.0-1.2.6.9_42.0.3.EL
kmod-ppp-smp-1.0.2-1.2.6.9_42.0.3.EL
kmod-ppp-1.0.2-1.2.6.9_42.0.3.EL
kmod-appletalk-1.0-1.2.6.9_42.0.3.EL
Code: uname -r
Result:[root@server /]# uname -r
2.6.9-42.0.10.ELsmp
Following your idea of editing grub.conf:
login as: root
root@192.168.7.1's password:
Last login: Mon Mar 5 20:41:59 2007 from pc-00050.mydomain.ca
[root@myserver ~]# cd ..
[root@myserver /]# cd /boot/grub/
[root@myserver grub]# pico grub.conf
UW PICO(tm) 4.10 File: grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/main/root
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title SME Server (2.6.9-42.0.10.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.10.EL ro root=/dev/main/root
initrd /initrd-2.6.9-42.0.10.EL.img
title SME Server (2.6.9-42.0.10.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.10.ELsmp ro root=/dev/main/root
initrd /initrd-2.6.9-42.0.10.ELsmp.img
title CentOS (2.6.9-42.0.3.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.3.EL ro root=/dev/main/root
initrd /initrd-2.6.9-42.0.3.EL.img
title CentOS (2.6.9-42.0.3.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=/dev/main/root
initrd /initrd-2.6.9-42.0.3.ELsmp.img
title CentOS (2.6.9-34.0.2.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.0.2.EL ro root=/dev/main/root
initrd /initrd-2.6.9-34.0.2.EL.img
title CentOS (2.6.9-34.0.2.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.0.2.ELsmp ro root=/dev/main/root
initrd /initrd-2.6.9-34.0.2.ELsmp.img
title SME Server (2.6.9-34.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/main/root
initrd /initrd-2.6.9-34.ELsmp.img
^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell
I should change detail = 3, however seeing that the prefix changed from SME Server to Centos made me uncertain about changing.
Is this right? Thx in advance for your help.
-
Yes. Default = 3
Don't worry about the change of title. The developers don't alter the kernels between SME and CentOS.
In fact, with the 7.1.2 update now available, try updating per my original post again prior to making any changes.
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
-
William;
I followed your "previous" instructions and got the following:
root@server ~]# uname -r
2.6.9-42.0.10.ELsmp
[root@server ~]# rpm -qa kmod*
kmod-ppp-smp-1.0.2-1.2.6.9_42.0.10.EL
kmod-appletalk-1.0-1.2.6.9_42.0.10.EL
kmod-slip-smp-1.0-1.2.6.9_42.0.10.EL
kmod-slip-1.0-1.2.6.9_42.0.10.EL
kmod-ppp-1.0.2-1.2.6.9_42.0.10.EL
kmod-appletalk-smp-1.0-1.2.6.9_42.0.10.EL
[root@server ~]#
and from the SME Server panel;
SME Server 7.1.2
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc.
It appears as though everything is consistent. Thx for you help and patience
Ian