Koozali.org: home of the SME Server

SME Server 8 - Enabled Repositories

Offline imcintyre

  • *
  • 609
  • +0/-0
SME Server 8 - Enabled Repositories
« on: October 11, 2011, 12:25:48 AM »
I just upgraded my 7.5.1 install to SME Server 8 beta6 and am concerned regarding the enabled repositories shown in Server-Manager Software Install  panel.

The enabled repositories are Centos-os, centos-updates, smeserver-addons, smeserver-extras, smeserver-os, smeserver-updates but not smeserver- updates testing. This is exactly as it was under 7.5.1.

Please advise if this should this have changed when I upgraded the install using the CD and then pointed the repositories to the SME 8 repositories using;

Quote
db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
do
    db yum_repositories setprop $repo MirrorList \
    http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8
done

and then;

/etc/e-smith/events/actions/generic_template_expand yum-modify
signal-event post-upgrade
signal-event reboot


After these commands

The output of db yum_repositories show is;
Quote
addons=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=addons
    Name=CentOS - addons
    Visible=no
    status=disabled
base=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=os
    Name=CentOS - os
    Visible=yes
    status=enabled
centosplus=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=centosplus
    Name=CentOS - centosplus
    Visible=no
    status=disabled
contrib=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=contrib
    Name=CentOS - contrib
    Visible=no
    status=disabled
extras=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=extras
    Name=CentOS - extras
    Visible=no
    status=disabled
smeaddons=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smeaddons-8
    Name=SME Server - addons
    Visible=yes
    status=enabled
smecontribs=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smecontribs-8
    Name=SME Server - contribs
    Visible=no
    status=disabled
smedev=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smedev-8
    Name=SME Server - dev
    Visible=no
    status=disabled
smeextras=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smeextras-8
    Name=SME Server - extras
    Visible=yes
    status=enabled
smeos=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smeos-8
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smetest-8
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smeupdates-8
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirro                    rlist/smeupdates-testing-8
    Name=SME Server - updates testing
    Visible=yes
    status=disabled
updates=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&                    repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled
[root@mcserver1 ~]#

Thanks in advance

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: SME Server 8 - Enabled Repositories
« Reply #1 on: October 11, 2011, 01:08:08 AM »
Please advise if this should this have changed when I upgraded the install using the CD and then pointed the repositories to the SME 8 repositories using;

You got that command from this page: http://wiki.contribs.org/SME_Server_8 ?
That is under the instructions to upgrade with yum, not with the CD, so you didn't need to do that.

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: SME Server 8 - Enabled Repositories
« Reply #2 on: October 11, 2011, 01:25:16 AM »
You are right, I guess I misunderstood the line,
Quote
Reset repositories to SME 8, see below, bug bugzilla:5705. This is fixed for SME Server 8.0 Beta 6

When I read the bug, it is for a clean install with a restore from 7.* backup. That is not what I did, I did an upgrade.

Is this something that needs to be undone?

and

regarding the original question about what is shown in Server-Manager software install panel

Thanks for your help.
« Last Edit: October 11, 2011, 05:52:57 AM by imcintyre »

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: SME Server 8 - Enabled Repositories
« Reply #3 on: October 14, 2011, 05:13:35 AM »
I did some more reading and can see now why the repositories listed in Server-Manager do not change.

I updated the page in the wiki so that the instructions are "more better"  :-)