Koozali.org: home of the SME Server

Changes to the contribs wiki page

Offline mrkiwi

  • 12
  • +0/-0
Changes to the contribs wiki page
« 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

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #1 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

Offline mrkiwi

  • 12
  • +0/-0
Re: Changes to the contribs wiki page
« Reply #2 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"

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #3 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
« Last Edit: September 27, 2010, 10:47:12 PM by Stefano »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Changes to the contribs wiki page
« Reply #4 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #5 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..

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Changes to the contribs wiki page
« Reply #6 on: September 28, 2010, 01:57:57 AM »
Stefano

No worries, we are all on the same "team".
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Changes to the contribs wiki page
« Reply #7 on: September 28, 2010, 12:15:28 PM »
There is always something to learn... :)

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #8 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

--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Changes to the contribs wiki page
« Reply #9 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
...

Offline brianr

  • *
  • 988
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #10 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
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Changes to the contribs wiki page
« Reply #11 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!