Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Rien 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:
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:
/sbin/e-smith/expand-template /etc/yum.conf
Then I get the following error:
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?
-
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
-
Thanks Charley,
The space after yes and before the backslash did the trick.