Koozali.org: home of the SME Server

Can't Update from 7.1 (Solved)

djnapkin

Can't Update from 7.1 (Solved)
« 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

djnapkin

Can't Update from 7.1 (Solved)
« Reply #1 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. :)

Offline StuC

  • ***
  • 46
  • +0/-0
Can't Update from 7.1 (Solved)
« Reply #2 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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Can't Update from 7.1 (Solved)
« Reply #3 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.

Regards,
William

IF I give advise.. It's only if it was me....

djnapkin

Can't Update from 7.1 (Solved)
« Reply #4 on: March 12, 2007, 01:15:49 PM »
Ahhh well that makes perfect sense now :D

Thank you.

Offline StuC

  • ***
  • 46
  • +0/-0
Can't Update from 7.1 (Solved)
« Reply #5 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.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can't Update from 7.1 (Solved)
« Reply #6 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.
"It should just work" if it doesn't report it. Thanks!

Offline StuC

  • ***
  • 46
  • +0/-0
Can't Update from 7.1 (Solved)
« Reply #7 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)

Offline GPete

  • **
  • 38
  • +0/-0
    • http://aaahomebase.com
learner question
« Reply #8 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