Skip to content

Repository online

My yum repository containing the smeserver-subversion contrib is online again. It can be visited here.

To add it to your /etc/repository list on your SME Server:

  1. Get command line access on your server (either by SSH or by sitting at the terminal itself)
  2. Log in as root
  3. Issue the following command:
  4. [sourcecode gutter="false" language="bash" autolinks="false"]/sbin/e-smith/db yum_repositories set snetram repository \
    BaseURL \
    MirrorList \
    EnableGroups no \
    GPGCheck no \
    Name \
    Visible yes \
    status disabled[/sourcecode]
  5. Expand the /etc/yum.conf file to incorporate the changes:
    [sourcecode gutter="false" language="bash" autolinks="false"]signal-event yum-modify[/sourcecode]

    This will install the repository to be disabled by default.

  6. To install software from it issue the following command: [sourcecode gutter="false" language="bash" autolinks="false"]/sbin/e-smith/yum install packagename –enablerepo=snetram[/sourcecode]

{ 7 } Comments

  1. Mark Leman | August 31, 2006 at 11:44 | Permalink

    The spelling mistake in ‘ststus disabled’ caught me out for a while :-)

    It might also be worth noting that the command is all on one log line.

  2. Jonathan | August 31, 2006 at 17:19 | Permalink

    Thanks for your remark, corrected the spelling mistake and also added the backslashes again at the line breaks.

    Somehow they got lost by the WordPress features. It should now be possible to copy and paste the whole section at once onto the command line without getting error messages after hitting return.

  3. Carl Bacani | November 28, 2006 at 18:52 | Permalink

    Error getting repository data for snetram, repository not found

  4. Jonathan | November 28, 2006 at 23:15 | Permalink

    I had some problems re-installing/restoring my server. The repository should be online again.

  5. Jonathan | December 29, 2006 at 14:16 | Permalink

    Today I moved all the content to to reduce the load on my server and guarantee better up-time.

    I also incorporated the mirrorlist option which will be available as of SME Server 7.1 (as new features will be added to yum in that release). This way you will always be provided with the fastest mirror and a fallover system in case one of the servers is offline or otherwise can not service your request.

    Therefore I want to ask you, in case you previously added my repository to your configuration to update it as shown above in the post. Doing so will add the MirrorList entry to your /etc/yum.conf file. If you have not done this before you are encouraged to do so, if you want to install smeserver-subversion on your server.

  6. roel | July 8, 2008 at 15:21 | Permalink

    Jonathan, How do I remove your repository from /etc/yum.conf now that you distrubute via

    And how do I add that repository instead..?

    thx! Roel

  7. jonathan | July 8, 2008 at 17:41 | Permalink

    Thanks for your reaction! You do not need to install the SME Contribs repository as it comes configured on every SME Server by default, but is not enabled by default. Installation routine is in the Subversion page of the wiki, but the following line executed as root user should do the trick:

    yum install smeserver-subversion --enablerepo=smecontribs

    To remove my old and abandoned repository you can issue the following commands as root user:

    db yum_repositories delete snetram
    expand-template /etc/yum.conf

{ 2 } Trackbacks

  1. [...] Subversion can access its repository across networks, which allows it to be used by people on different computers. At some level, the ability for various people to modify and manage the same set of data from their respective locations fosters collaboration. Progress can occur more quickly without a single conduit through which all modifications must occur. And because the work is versioned, you need not fear that quality is the trade-off for losing that conduit—if some incorrect change is made to the data, just undo that change. To install Subversion for SME Server (smesever-subversion) enbale my repository as described here. [...]

  2. Jonathan | December 27, 2007 at 22:14 | Permalink

    smeserver-subversion 1.2-9 released…

    Since the new SME Contribs repository is in place (as of smeserver-yum-1.2.0-41)  and the latest package providing it to SME Servers automatically I moved my package to the new repository. This will also decommission my repository as there is a better…

Post a Comment

Your email is never published nor shared. Required fields are marked *