Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: mrkiwi on September 27, 2010, 10:19:17 PM

Title: Changes to the contribs wiki page
Post by: mrkiwi on September 27, 2010, 10:19:17 PM
Hi all,

On this page : http://wiki.contribs.org/SME8.0_Contribs_QA there is a section called Setup which tells you how to enable smecontribs to work on SME8betaX so we can test the packages in smecontribs before sme8 is released. I followed these instructions, however there is an important step missing - clearing the yum cache, which i missed and it cost me an hour of wondering why i was still seeing the new contribs repo. So ... can someone tell me how to get this line added to that section;

#now clear the yum cache so that the sme7 contribs is seen;
rm -rf /var/cache/yum/*

Regards,

D
Title: Re: Changes to the contribs wiki page
Post by: Stefano on September 27, 2010, 10:26:24 PM
hi

you can request a wiki access and edit yourself

anyway, I suggest to create  a second smecontribs7 repo with:
Code: [Select]
db yum_repositories set smecontribs7 repository GPGCheck yes MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 Name 'SME Server7 - contribs' Visible no status disabled

signal-event yum-modify

in this way you don't have to alter your original repo list

my 2c
Title: Re: Changes to the contribs wiki page
Post by: mrkiwi on September 27, 2010, 10:31:07 PM
Code: [Select]
db yum_repositories set smecontribs7 repository GPGCheck yes MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 Name 'SME Server7 - contribs' Visible no status disabled

signal-event yum-modify
Thanks Stefano, btw - what does " Visible no " do? I dont see where the repo can be seen or not seen? i've searched for info about this property but i didn't find an answer. I notice that most 'common' repos are set to "visible yes" and most 'extra' repos are set to "visible no"
Title: Re: Changes to the contribs wiki page
Post by: Stefano on September 27, 2010, 10:45:18 PM
Thanks Stefano, btw - what does " Visible no " do? I dont see where the repo can be seen or not seen? i've searched for info about this property but i didn't find an answer. I notice that most 'common' repos are set to "visible yes" and most 'extra' repos are set to "visible no"

sincerely, I don't know.. there's no evidence that variable is used in yum.conf and yum.smerepos.d/sme-base.repo

I hope someone of the dev team could clarify it
Title: Re: Changes to the contribs wiki page
Post by: janet on September 28, 2010, 12:19:38 AM
mrkiwi

Quote
what does " Visible no " do? I dont see where the repo can be seen or not seen?


It is referring to displaying the repo in the server manager Software update panel, you can see and select repos set to yes, but cannot see those set to no.

It is designed to stop less knowledgeable users from selecting a repo that is not applicable for normal usage of SME server.
Title: Re: Changes to the contribs wiki page
Post by: Stefano on September 28, 2010, 12:28:46 AM
It is referring to displaying the repo in the server manager Software update panel, you can see and select repos set to yes, but cannot see those set to no.
It is designed to stop less knowledgeable users from selecting a repo that is not applicable for normal usage of SME server.

thank you for the clarification Mary, didn't check the web panel source..
Title: Re: Changes to the contribs wiki page
Post by: janet on September 28, 2010, 01:57:57 AM
Stefano

No worries, we are all on the same "team".
Title: Re: Changes to the contribs wiki page
Post by: Fumetto on September 28, 2010, 12:15:28 PM
There is always something to learn... :)
Title: Re: Changes to the contribs wiki page
Post by: byte on September 28, 2010, 01:08:24 PM
#now clear the yum cache so that the sme7 contribs is seen;
rm -rf /var/cache/yum/*

Thats the hard way and last resort option, the easier option is to type:

yum clean all

Title: Re: Changes to the contribs wiki page
Post by: raem on September 28, 2010, 02:09:45 PM
Dear All

Updated the wiki with the changes advised in this thread
http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
Title: Re: Changes to the contribs wiki page
Post by: brianr on September 28, 2010, 02:44:10 PM
Thats the hard way and last resort option, the easier option is to type:

yum clean all

However according to Shad, this is not necessarily sufficient, and my experience supports this.

See here:

http://bugs.contribs.org/show_bug.cgi?id=6179#c17
Title: Re: Changes to the contribs wiki page
Post by: byte on September 28, 2010, 02:52:24 PM
However according to Shad, this is not necessarily sufficient, and my experience supports this.

But if you see this bug regarding the rm command:

http://bugs.contribs.org/show_bug.cgi?id=6125

I still have my own preferences :) as I know have others.