Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: djnapkin on March 08, 2007, 03:11:57 PM

Title: Can't Update from 7.1 (Solved)
Post by: djnapkin on March 08, 2007, 03:11:57 PM
Hi,

I'll preface this by tell you all, I only know enough about SME and linux in general to get me out of trouble, but seems not so in this case.

I can't seem to update from 7.1 to 7.1.1 or 7.1.2?

In server manager I install the updates, it all looks like its doing it, tells me to reconfigure and reboot, but when it comes back up it still says the updates need to be installed.

I tried doing it from the command line using 'yum update' but I get an error (below)

I searched the forums, tried 'yum clean' then 'yum update' but still get the follow error

Code: [Select]
--> Processing Dependency: perl(Compress::Zlib) for package: smeserver-spamassassin
--> Processing Dependency: perl(Digest::SHA) for package: perl-Mail-DKIM
--> Processing Dependency: libghttp.so.1 for package: perl-HTTP-GHTTP
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libghttp.i386 1:1.0.9-10.99_2.el4.at set to be updated
---> Package perl-Digest-SHA.i386 0:5.44-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: perl(Compress::Zlib) for package: smeserver-spamassassin
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Compress::Zlib) is needed by package smeserver-spamassassin
================================================================
No new rpms were installed. No additional commands are required.
================================================================


Can anyone give me some advice please?

Dave
Title: Can't Update from 7.1 (Solved)
Post by: djnapkin on March 08, 2007, 03:29:49 PM
After more searching I found this;

Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons


and it seems to be downloading the updates. Sorry to waste a thread if this works.

Edit:- It worked. :)
Title: Can't Update from 7.1 (Solved)
Post by: StuC on March 12, 2007, 11:50:32 AM
Its not a wasted thread as it helped me.
I could not work out what was happening and and yum clean (I did "all")
followed by the commands in your post seems to have sorted it.

Thanks
Title: Can't Update from 7.1 (Solved)
Post by: william_syd on March 12, 2007, 01:10:40 PM
To stop this happening again....

Server-manager >> Software Installer >> Change software installer settings

Make sure the Enabled Repositories looks like below and click save.

(http://www.magicwilly.webhostingpal.com/ContribsForumPictures/repos/repos.png)
Title: Can't Update from 7.1 (Solved)
Post by: djnapkin on March 12, 2007, 01:15:49 PM
Ahhh well that makes perfect sense now :D

Thank you.
Title: Can't Update from 7.1 (Solved)
Post by: StuC on March 12, 2007, 01:48:02 PM
I was pretty sure that was what I had selected.

I have another 7.1.1 with those reps selected but it finds no updates.
I'll try the same as the test server once I can reboot it safely.
Title: Can't Update from 7.1 (Solved)
Post by: bpivk on March 12, 2007, 02:14:31 PM
Quote
I have another 7.1.1 with those reps selected but it finds no updates.

Update or remove dungog's contribs (if you have any) and you'll have the updates available.
Title: Can't Update from 7.1 (Solved)
Post by: StuC on March 12, 2007, 02:27:43 PM
I have intentionally left the main (and to lesser extent test box) clear of anything not included in the main distro (these are in the testing stage for hardware compatibility/reliability)

Is there any quick way to check the OS is at base install level I.E. no contribs?

Actually at the risk of dragging a thread out I'll take back the "clean" comment and do a fresh install.

Main Server was a pulled disk from what is now "test" server mirrored from SATA to PATA to track down crash problem (Prob SATA related - UNSUPPORTED hardware so not a SME problem)
Title: learner question
Post by: GPete on April 23, 2007, 01:32:09 PM
Learning, I hope. Is this a one time command line version of the software installer selection later in the thread (all except "testing")
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons