Koozali.org: home of the SME Server

Problems with yum "Dungog Members"

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum "Dungog Members"
« on: April 23, 2006, 05:13:14 PM »
Hi all,

I want to add the DungogMembers repositry to yum. So I followed the instructons at http://dungog.net/sme/repo.php. So I did:

Code: [Select]
db yum_repositories set dungogMembers repository \
 BaseURL http://user:secret@sme.dungog.net/packages/smeserver/7.0/i386/dungogMembers \
 EnableGroups yes\
 GPGCheck no \
 Name 'SME Server 7 - dungogMembers' \
 Visible yes \
 status enabled


followed by:
Code: [Select]
/sbin/e-smith/expand-template /etc/yum.conf

Then I get the following error:

Quote
WARNING in /etc/e-smith/templates//etc/yum.conf/20repositories: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/yum.conf/20repositories line 18.
WARNING: Template processing succeeded for //etc/yum.conf: 1 fragment generated warnings
 at /sbin/e-smith/expand-template line 45


What did I do wrong?
Rien
(The Netherlands)......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problems with yum "Dungog Members"
« Reply #1 on: April 23, 2006, 05:38:52 PM »
Quote from: "Rien"

What did I do wrong?


I think that you created a property EnableGroups with value yesGPGCheck, because of the location of the backslash. Try again with a space after yes and before the backslash. Or don't use backslash and newline at all - put it all on one line.

Check the db entry by doing:

db yum_repositories show dungogMembers

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems with yum "Dungog Members"
« Reply #2 on: April 24, 2006, 10:54:34 AM »
Thanks Charley,

The space after yes and before the backslash did the trick.
Rien
(The Netherlands)......