[Revisor-users] Add RPM package problem in 2.0.3.11
huimengzhan 02704
huimengzhan at h3c.com
Tue Jun 26 12:45:16 UTC 2007
I'm using revisor-2.0.3.11-fc7,and i meet this question, my steps as following:
<1>. I get my test rpm package helloworld-0.01-1.x86_64.rpm using rpmbuild.
<2>. I copied FC6 DVD content to /iso/fc6-src, delete everything except /iso/fc6-src/Fedora/RPMS/*
<3>. Put helloworld-0.01-1.x86_64.rpm into /iso/fc6-src/Fedora/RPMS/
<4>. Modify /etc/revisor/conf.d/revisor-fc6-x86_64.conf
[core]
baseurl=file:///iso/fc6-src/
and others is default.
<5>. Modify /etc/revisor/comps-fc6.xml,added
<group>
<id>helloworld-bin</id>
<name>helloworld exe progrom</name>
<description/>
<default>true</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="default">helloworld</packagereq>
</packagelist>
</group>
and here
<category>
<id>servers</id>
<name>Servers</name>
..............
<groupid>server-cfg</groupid>
<groupid>helloworld-bin</groupid> //here is new added
</grouplist>
</category>
<6>.make repo using
createrepo -g /etc/revisor/comps-fc6.xml -o /iso/fc6-src /iso/fc6-src/Fedora/RPMS
<7>.Next, i run revisor,and througtout GUI,i selected
DVD-set,
Configuration Section to Use fc6-x86_64, click Apply and selected core only
In Load Kickstart Data,selected Use package mainfest from kickstart data and Customize package mainfest defined in kickstart data.
In the next Package Selection Screen,I can see my helloworld program by category and by list.
<8>.Then i Forward,later i got this error:
DEBUG:revisor:Initting progress bar for Downloading Packages
Errors were encountered while downloading packages: helloworld - 0.01-1.x86_64: failure: helloworld-0.01-1.x86_64.rpm from core: [Errno 256] No more mirrors to try.
ERROR:revisor:Errors were encountered while downloading packages: helloworld - 0.01-1.x86_64: failure: helloworld-0.01-1.x86_64.rpm from core: [Errno 256] No more mirrors to try.
But actually,i have put my helloworld-0.01-1.x86_64.rpm into /iso/fc6-src/Fedora/RPMS,why revisor need to download helloworld-0.01-1.x86_64.rpm and download from where?
More information about the Revisor-users
mailing list