On one of my systems there is no asl.repo - instead I'd added the necessary bits to /etc/yum.conf
Today I noticed that yum list updates was giving me strange errors regarding asl.repo
I had a look and found the following in /etc/yum.repos.d/asl.repo
Code:
# ASL asl.repo Template: /var/asl/data/templates/template-asl.repo
[asl-3.0]
name=Atomicorp - - Atomic Secured Linux 3.0
baseurl=https://ARGH:ARRGH@atomicorp.com/channels/asl-3.0/centos/4/$basearch
priority=1
enabled=1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck=1
@@EXCLUDE@@
[asl-3.0-testing]
name=Atomicorp - - Atomic Secured Linux 3.0 (TESTING)
baseurl=https://ARGH:ARGH@atomicorp.com/channels/asl-3.0-testing/centos/4/$basearch
priority=1
enabled=0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck=1
@@EXCLUDE@@
[asl-3.0-bleeding]
name=Atomicorp - - Atomic Secured Linux 3.0 (BLEEDING)
baseurl=https://ARG:ARGH@atomicorp.com/channels/asl-3.0-bleeding/centos/4/$basearch
enabled=0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck=1
@@EXCLUDE@@
As you can see, this looks like the asl.repo *template* has been copied "as is".
Removing the @@EXCLUDES@@ obviously resolved the problem.
I'm not sure how this came to be. It may have been there for some time. I seem to recall seeing the same python errors when running asl -s -f for some time, but misread them as meaning asl.repo could not be found, not that there was an error in the file itself.
This is Centos 4/x86_64, asl 3.0.20-2