Koozali.org: home of the SME Server

Is this a bug or can other people update?

robbie

Is this a bug or can other people update?
« on: March 17, 2006, 07:49:43 AM »
I'm can't update as Yum appears to be looking in the wrong path for files.

This is the error I get after using 'yum update'

Importing Additional filelist information for dependency resolution
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
http://mirror.contribs.org/smeserver/releases/7/os/i386/RPMS/kernel-2.6.9-22.0.2.EL.i686.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Error: failure: RPMS/kernel-2.6.9-22.0.2.EL.i686.rpm from smeos: [Errno 256] No more mirrors to try.

Rob[/b]

Offline JonB

  • *
  • 351
  • +0/-0
Is this a bug or can other people update?
« Reply #1 on: March 17, 2006, 08:53:15 AM »
What does

Code: [Select]
db yum_repositories show

Jon
...

robbie

Is this a bug or can other people update?
« Reply #2 on: March 17, 2006, 09:03:00 AM »
Here's the output of db yum_repositories show

addons=repository
    BaseURL=http://mirror.centos.org/centos/4/addons/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - addons
    Visible=no
    status=disabled
base=repository
    BaseURL=http://mirror.centos.org/centos/4/os/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - os
    Visible=yes
    status=enabled
centosplus=repository
    BaseURL=http://mirror.centos.org/centos/4/centosplus/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - centosplus
    Visible=no
    status=disabled
contrib=repository
    BaseURL=http://mirror.centos.org/centos/4/contrib/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - contrib
    Visible=yes
    status=enabled
extras=repository
    BaseURL=http://mirror.centos.org/centos/4/extras/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - extras
    Visible=no
    status=disabled
smeaddons=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/addons/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - addons
    Visible=yes
    status=enabled
smedev=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/dev/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - dev
    Visible=no
    status=disabled
smeos=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/os/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/test/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/updates/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    BaseURL=http://mirror.contribs.org/smeserver/releases/7/updates-testing/$basearch
    EnableGroups=yes
    GPGCheck=yes
    Name=SME Server - updates testing
    Visible=no
    status=disabled
testing=repository
    BaseURL=http://mirror.centos.org/centos/4/testing/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - testing
    Visible=no
    status=disabled
updates=repository
    BaseURL=http://mirror.centos.org/centos/4/updates/$basearch
    EnableGroups=no
    GPGCheck=yes
    Name=CentOS - updates
    Visible=yes
    status=enabled

Thanks

Rob

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Is this a bug or can other people update?
« Reply #3 on: March 17, 2006, 02:08:48 PM »
try these commandes


db yum_repositories setprop base status enabled
db yum_repositories setprop addons status enabled
db yum_repositories setprop base Visible yes
db yum_repositories setprop addons Visible yes

expand-template /etc/yum.conf

Afterwards you might want to disable these repositories again

db yum_repositories setprop base status disabled
db yum_repositories setprop addons status disabled
expand-template /etc/yum.conf
.........

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Is this a bug or can other people update?
« Reply #4 on: March 17, 2006, 05:27:46 PM »
Quote from: "fixit"
try these commandes


db yum_repositories setprop base status enabled
db yum_repositories setprop addons status enabled
db yum_repositories setprop base Visible yes
db yum_repositories setprop addons Visible yes


No, please don't. We don't need or want the CentOS 'base' and 'addons' repositories enabled for standard servers.
............

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Is this a bug or can other people update?
« Reply #5 on: March 18, 2006, 02:31:34 AM »
Sorry Gordon, I assumed it was OK, I use these yum repositories commands to install mod perl & such things as imagemagick

db yum_repositories setprop base status enabled
db yum_repositories setprop addons status enabled
db yum_repositories setprop base Visible yes
db yum_repositories setprop addons Visible yes

In enabling these yum repositories, will it cause any issues or conflict with sme 7

Russell
.........

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Is this a bug or can other people update?
« Reply #6 on: March 19, 2006, 10:47:33 PM »
Quote from: "fixit"

In enabling these yum repositories, will it cause any issues or conflict with sme 7

The CentOS base repository is relatively safe. However, you probably also want the updates repository in order to pick up updates for additional packages you install, and that needs to be done with care. For example, if CentOS release a new kernel and we haven't built the kernel modules, Appletalk and PPTP will break.

I would class the addons repository as unsafe. It contains an incompatible version of PHP, for starters.
............

ryan

Is this a bug or can other people update?
« Reply #7 on: March 28, 2006, 11:48:15 PM »
I have seen similiar errors using Yum on Centos 4.2 when behind a transparent proxy server.  Since this is SME server, the is not likely the case unless your ISP has a trasnparent proxy in place.  Hope that helps a little.

ryan