Koozali.org: home of the SME Server

Problem: No updates and daily error-notification

Offline 123chris

  • 17
  • +0/-0
Problem: No updates and daily error-notification
« on: August 22, 2008, 07:59:29 PM »
Hello folks,

The last four weeks I didn't receive any updates for my server (that could be ok, offcourse) but I also recieve errormessages in my mailbox from Cron <root@sme> /sbin/e-smith/check4updates -m

Like this one:
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates


or this one:
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.3/atexit.py", line 20, in _run_exitfuncs
    func(*targs, **kargs)
  File "plugins.py", line 159, in run
  File "/usr/lib/yum-plugins/smeserver.py", line 69, in close_hook
    os.unlink('/var/run/yum.status')
OSError: [Errno 2] No such file or directory: '/var/run/yum.status'


I don't think its an bug, but I do think something is wrong.  :???:

Does anyone of you recognise this error and know how to fix it?

Regards,

Chris

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Problem: No updates and daily error-notification
« Reply #1 on: August 22, 2008, 11:26:52 PM »
Hello folks,

The last four weeks I didn't receive any updates for my server (that could be ok, offcourse) but I also recieve errormessages in my mailbox from Cron <root@sme> /sbin/e-smith/check4updates -m

Like this one:
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates


or this one:
Cannot find a valid baseurl for repo: updates
Error: Cannot find a valid baseurl for repo: updates Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.3/atexit.py", line 20, in _run_exitfuncs
    func(*targs, **kargs)
  File "plugins.py", line 159, in run
  File "/usr/lib/yum-plugins/smeserver.py", line 69, in close_hook
    os.unlink('/var/run/yum.status')
OSError: [Errno 2] No such file or directory: '/var/run/yum.status'


I don't think its an bug, but I do think something is wrong.  :???:

Does anyone of you recognise this error and know how to fix it?


Please report bugs and potential bugs in the bug tracker - 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 electroman00

  • ****
  • 491
  • +0/-0
Re: Problem: No updates and daily error-notification
« Reply #2 on: August 23, 2008, 11:51:43 AM »
If we could assume you already did the following...

Code: [Select]
yum clean all
signal-event post-upgrade; signal-event reboot
yum update

then

Try the instructions under "2 Yum Update" here http://wiki.contribs.org/Updating_to_SME_7.2

If you recently did a yum upgrade...

then

Read the entire page for that link for what may apply to your system.

Also as a suggestion you could search the forum & wiki & bug tracker & google for your particular error i.e.

"Cannot find a valid baseurl for repo"

Which in most cases, could lead you to possible solutions.

HTH

Offline 123chris

  • 17
  • +0/-0
Re: Problem: No updates and daily error-notification
« Reply #3 on: August 23, 2008, 12:49:59 PM »
Thank you. i'll try that.

If it doesn't work i'll post it in the bugtracker.

Chris