How do I enable/disable atomic-testing channel?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
thedust2010
Forum User
Forum User
Posts: 13
Joined: Mon Aug 04, 2008 1:00 pm

How do I enable/disable atomic-testing channel?

Unread post by thedust2010 »

I seriously just spent about 2 hours combing this site and the entire Internet for information on how to enable the atomic-testing channel so I can update psa-atmail. I can NOT get atomic-testing channel activated. The directions on this site only detail how to install the default atomic channel with the following setup:

atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages

Then I try to enable atomic-testing and get this:

[root@host art]# yum --enablerepo=atomic-testing upgrade psa-atmail
Loaded plugins: allowdowngrade, fastestmirror

Can anyone please help??
thedust2010
Forum User
Forum User
Posts: 13
Joined: Mon Aug 04, 2008 1:00 pm

Re: How do I enable/disable atomic-testing channel?

Unread post by thedust2010 »

And FYI --

This is what I get when I try to update:

[root@host art]# yum update psa-atmail
Loaded plugins: allowdowngrade, fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.dmacc.net
* remi: iut-info.univ-reims.fr
* updates: mirrors.serveraxis.net
* base: mirror.sanctuaryhost.com
* addons: centos.mirrors.tds.net
* extras: mirror.sanctuaryhost.com
plesk | 951 B 00:00
Excluding Packages from Plesk Server Administrator
Finished
Setting up Update Process
No Packages marked for Update

This is what worries me: 'Excluding Packages from Plesk Server Administrator'. It looks like atomic isn't enabled at all??
thedust2010
Forum User
Forum User
Posts: 13
Joined: Mon Aug 04, 2008 1:00 pm

Re: How do I enable/disable atomic-testing channel?

Unread post by thedust2010 »

Fixed it by copying contents of /etc/yum.repos.d/plesk.repo from here: http://www.question-defense.com/2009/06 ... optimizer/

I don't know how else I would have gotten this working.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: How do I enable/disable atomic-testing channel?

Unread post by faris »

When you run wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
you usually end up with /etc/yum.repos.d/atomic.repo

If you edit that file you'll see enabled=0 for testing and bleeding.

You just change 0 to 1 for testing, and you have enabled that repo.

Look for lines with exclude= (each section can have its own, so you may have more than one)
Packages with names in the exclude list will be...excluded.

You should also look at /etc/yum.conf which might have some stuff you need to check -- in the old days before separate repo files we used to modify that file rather than having an atomic.repo

The --enablerepo option in yum allows you to temporarily enable a normally disabled repo.

Anyway, from the sounds of things you've found your way around the problem and hopefully all is well for you again.

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
thedust2010
Forum User
Forum User
Posts: 13
Joined: Mon Aug 04, 2008 1:00 pm

Re: How do I enable/disable atomic-testing channel?

Unread post by thedust2010 »

Hmm, that is strange because when I run "wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh" I end up with /etc/yum.repos.d/plesk.repo instead of /etc/yum.repos.d/atomic.repo and the contents of the file only contains data for the [atomic] channel but none of the others.

But indeed all is well in this regard. Thanks for the response!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: How do I enable/disable atomic-testing channel?

Unread post by scott »

That file is managed by the rpm: atomic-release
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: How do I enable/disable atomic-testing channel?

Unread post by faris »

Yes. Wrong installer file. My error. Sorry!

Should have been:

wget -q -O - http://www.atomicorp.com/installers/asl |sh
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply