Thank you for your advice, i have solved the proxy problem after set as you say. but i meet a new error, the error log is as follows: Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i3... ...OK Traceback (most recent call last): File "/usr/share/yum-cli/callback.py", line 124, in callback fd = os.open(rpmloc, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-FmND9q/install_root/var/cache/yum/updates/packages/setup-2.7.4-4.fc10.noarch.rpm' error: python callback <bound method RPMInstallCallback.callback of <callback.RPMInstallCallback instance at 0xac997ec>> failed, aborting! make: *** [build] error 1 My build entironment is fedora 10.
2009-06-01
Sender: Richard W.M. Jones Send time: 2009-05-27 15:20:27 Receiver: Arthur Wang Copyto: Fedora-virt Topic: Re: [fedora-virt] how to build iso from virt-p2v
On Wed, May 27, 2009 at 09:44:25AM +0800, Arthur Wang wrote:
And i guess it is the repo command to cause this error, for the two line as follows repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command comes from , and how to set its proxy. Could you give me some suggestion? thank you.
This is a kickstart script, and the 'repo' command is part of kickstart. See: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio... http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio... I actually have no idea how to specify a proxy for kickstart - it doesn't seem to be covered in the manual. However you might try setting the environment variables $http_proxy and/or $ftp_proxy to point to your internal proxy. eg: export http_proxy=http://11.22.33.44:3128/ Rich.