Koozali.org: home of the SME Server

SME 5.6 updates not working

SSBN

SME 5.6 updates not working
« on: June 22, 2003, 09:15:59 AM »
SME 5.6 updates not working


Ok I have downloaded all the updates and placed them in an ibay. If it matters I downloaded them using windows then moved them to the sme via samba. When I run rpm -Uvh --replacepkgs *.rpm the first few files work just fine. But when I get’s to 9:samba-common I get Warning: /etc/samba/smb.conf created as /etc/samba/smb.conf.rpmnew Rhen when it gets to 10:samba it installs and stops there. It won’t go any further. Any ideas. It is a fresh install of SME 5.6

Graeme Fleming

Re: SME 5.6 updates not working
« Reply #1 on: June 22, 2003, 10:47:24 AM »
OK

a) You are logged on as root??
b) make a directory off root called work/update4 (gives a folder where all applied updates are kept so you know whats been installed) and move all RPM updates there (use Midnight Commander if uncommfortable at the prompt).
c) run rpm -Uvh --replacepkgs *
d) if routine gets 'stuck' ctrl/c out and run rpm -Uvh --replacepkgs samba*.rpm - assuming this works rerun step (c) to completion.
e) if this still fails then make a note of those packages that have installed and install those that haven't one by one, checking for errors

assuming all installed then
f) execute /sbin/etc/signal-event post-upgrade
g execute /sbin/etc/signal-event reboot

Take a look at

http://forums.contribs.org/index.php?topic=17501.msg68155#msg68155

as a way of displaying the update version in the server manager and at the login prompt as part of the motd (message of the day)

HTH

guestHH

Re: SME 5.6 updates not working
« Reply #2 on: June 22, 2003, 01:11:11 PM »
The warning for smb.conf is actually a notice that a backup copy is made of smb.conf to smb.conf.rpmnew. So no worries about that.

What do you think it should do after installing samba ?

SSBN

Re: SME 5.6 updates not working
« Reply #3 on: June 22, 2003, 06:59:01 PM »
Graeme Fleming I did what you suggested. I gut every update to install except SMEServer-5.6_Update4-2.noarch.rpm.  After all other updates were installed most one at a time I typed this

rpm -Uvh --replacepkgs SMEerver*
Then it shows me
Preparing... ###########################[100%]
But no 1:SMEServer ###################[100%] It just jumps back to the root after preparing.

Graeme Fleming

Re: SME 5.6 updates not working
« Reply #4 on: June 22, 2003, 09:24:23 PM »
I presume the typo was intentional :-)

Type rpm -qi SMEServer - it should indicate what SMEServer module is installed - this module is merely a place holder and is used only to indicate the update version installed.

You MUST run the post-upgrade routine to apply the update properly otherwise the template system is not told to regen the config files based on any new info in the updates.