Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: daley on April 07, 2007, 07:10:06 PM

Title: smeserver7.1.3 - yum.conf - smedev help wanted
Post by: daley on April 07, 2007, 07:10:06 PM
I have accidently changed /etc/yum.conf smedev setting.

Can someone helps me to restore the setting?

Thanks,
Daley
Title: smeserver7.1.3 - yum.conf - smedev help wanted
Post by: uniqsys on April 07, 2007, 09:23:06 PM
Is this what you are looking for?
This picked right out of my /etc/yum.conf file on SME version 7.1.3
Quote

[smedev]
enabled=0
mirrorlist=file:///etc/yum.repos.d/mirrors-smedev
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smedev/$basearch
name=SME Server - dev
gpgcheck=1
enablegroups=1

Hope this helps you.
Title: smeserver7.1.3 - yum.conf - smedev help wanted
Post by: daley on April 08, 2007, 07:13:43 AM
do you have yum command line for this entry?

Thanks,
Daley
Title: smeserver7.1.3 - yum.conf - smedev help wanted
Post by: stephen noble on April 11, 2007, 03:19:05 PM
http://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter6#Restoring_Default_Yum_Repositories
Title: smeserver7.1.3 - yum.conf - smedev help wanted
Post by: daley on April 11, 2007, 05:14:07 PM
Thanks for the yum restoration.

Code: [Select]

cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases

expand-template /etc/yum.conf