Koozali.org: home of the SME Server

Updating not working? (Resolved)

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« 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

Offline pfloor

  • *****
  • 889
  • +1/-0
Updating not working? (Resolved)
« Reply #1 on: March 02, 2007, 06:44:54 AM »
Please take this to the bug tracker.
In life, you must either "Push, Pull or Get out of the way!"

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #2 on: March 02, 2007, 12:32:36 PM »
Will do, just waiting for password to be emailed

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #3 on: March 02, 2007, 10:32:24 PM »
But while I'm waiting..... :?

Does anybody have this problem?

Offline pfloor

  • *****
  • 889
  • +1/-0
Updating not working? (Resolved)
« Reply #4 on: March 02, 2007, 10:45:34 PM »
Quote from: "imcintyre"
Will do, just waiting for password to be emailed

Check your email now!
In life, you must either "Push, Pull or Get out of the way!"

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #5 on: March 03, 2007, 03:02:45 PM »
Quote
Check your email now!


Hmmmm. Checked email and checked and...

I'll try another email account.

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #6 on: March 03, 2007, 04:22:28 PM »
Ok. I have reported to Bug Tracker

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Updating not working? (Resolved)
« Reply #7 on: March 03, 2007, 04:31:17 PM »
Please, try this command:

Code: [Select]
yum clean all

and when finish:

Code: [Select]
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.

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #8 on: March 04, 2007, 01:33:39 AM »
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.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Updating not working? (Resolved)
« Reply #9 on: March 04, 2007, 01:55:58 AM »
From the command line.
Code: [Select]
db yum_repositories setprop updates Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
Code: [Select]
db yum_repositories setprop base Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
Code: [Select]
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,httpd,mod_ssl
Code: [Select]
expand-template /etc/yum.conf
Code: [Select]
yum clean all
Code: [Select]
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).

Code: [Select]
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
Regards,
William

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

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #10 on: March 04, 2007, 08:11:17 PM »
William:

Is this all one command/one line of code?

Quote
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons


Thx in advance

Ian

Offline electroman00

  • *****
  • 491
  • +0/-0
Updating not working? (Resolved)
« Reply #11 on: March 04, 2007, 08:14:34 PM »
having some problems getting yum updates and files...


Code: [Select]
[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

Offline electroman00

  • *****
  • 491
  • +0/-0
Updating not working? (Resolved)
« Reply #12 on: March 04, 2007, 08:26:02 PM »
Also this
Code: [Select]
[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.

Offline byte

  • *
  • 2,183
  • +2/-0
Updating not working? (Resolved)
« Reply #13 on: March 04, 2007, 10:52:26 PM »
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]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline imcintyre

  • *
  • 609
  • +0/-0
Updating not working? (Resolved)
« Reply #14 on: March 04, 2007, 10:53:02 PM »
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