I need to install asciidoc on my build machine. There is a version for CentOS-5 available at dags rpm site. I have a repository configured for dag like so:
[dag] name=Dag Wieers RPM Repository for Red Hat Enterprise Linux #Also see URL http://dag.wieers.com/home-made/apt/ baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt gpgcheck=1 # this repo just does not respond in a timely fashion so # turned off by default # Use yum --enablerepo=dag to use. enabled=0 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt includepkgs=acsiidoc* bitt* perl* # priority requires yum-priorities. Must also be enabled in # yum.conf and /etc/yum/pluginconf.d/priorities.conf priority=20
I tried to install asciidoc using yum like so:
# yum --enablerepo=dag install asciidoc Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * epel: www.muug.mb.ca * adobe-linux-i386: linuxdownload.adobe.com * dag: apt.sw.be * base: mirror.csclub.uwaterloo.ca * updates: www.muug.mb.ca * addons: www.muug.mb.ca * extras: www.muug.mb.ca Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included packages only Finished Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to included packages only Finished Setting up Install Process Parsing package install arguments No package asciidoc available. Nothing to do
What am I doing wrong?
You need to set "enabled=1" in the config file. Currently you have "enabled=0"
On Fri, Mar 27, 2009 at 4:20 PM, James B. Byrne byrnejb@harte-lyne.ca wrote:
I need to install asciidoc on my build machine. There is a version for CentOS-5 available at dags rpm site. I have a repository configured for dag like so:
[dag] name=Dag Wieers RPM Repository for Red Hat Enterprise Linux #Also see URL http://dag.wieers.com/home-made/apt/ baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt gpgcheck=1 # this repo just does not respond in a timely fashion so # turned off by default # Use yum --enablerepo=dag to use. enabled=0 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt includepkgs=acsiidoc* bitt* perl* # priority requires yum-priorities. Must also be enabled in # yum.conf and /etc/yum/pluginconf.d/priorities.conf priority=20
I tried to install asciidoc using yum like so:
# yum --enablerepo=dag install asciidoc Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * epel: www.muug.mb.ca * adobe-linux-i386: linuxdownload.adobe.com * dag: apt.sw.be * base: mirror.csclub.uwaterloo.ca * updates: www.muug.mb.ca * addons: www.muug.mb.ca * extras: www.muug.mb.ca Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included packages only Finished Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to included packages only Finished Setting up Install Process Parsing package install arguments No package asciidoc available. Nothing to do
What am I doing wrong?
-- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Brian Mathis wrote:
You need to set "enabled=1" in the config file. Currently you have "enabled=0"
I don't think you need "enabled=1" in the repo file if you are using `yum --enablerepo=dag ...` on the command line, but...
[dag] [...] enabled=0 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt includepkgs=acsiidoc* bitt* perl*
^^^^^^^^^ ...this should probably read 'asciidoc'? :-)
Cheers
frank
[somehow my mail hasn't gone through yesterday evening. trying again...]
Brian Mathis wrote:
You need to set "enabled=1" in the config file. Currently you have "enabled=0"
I don't think you need "enabled=1" in the repo file if you are using `yum --enablerepo=dag ...` on the command line, but...
[dag] [...] enabled=0 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt includepkgs=acsiidoc* bitt* perl*
^^^^^^^^^ ...this should probably read 'asciidoc'? :-)
Cheers
frank
On Fri, 2009-03-27 at 16:20 -0400, James B. Byrne wrote:
I need to install asciidoc on my build machine. There is a version for CentOS-5 available at dags rpm site. I have a repository configured for dag like so:
...
Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to included packages only
^^^^^^^^^^^^^^^^^^^^^^^^
What am I doing wrong?
What are you including? Will get ONLY included packages with this option.
Phil
James B. Byrne wrote:
[dag] name=Dag Wieers RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag includepkgs=acsiidoc* bitt* perl*
Reducing Dag Wieers RPM Repository for Red Hat Enterprise Linux to included packages only No package asciidoc available.
That is strange, as the package is there. And the wildcard expansion is unnecessary in this case, but that shouldn't matter either.
Try with
includepkgs=acsiidoc bitt* perl*
in your config and run
yum -d9 install asciidoc
Ralph