[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re: [fedora-virt] how to build iso from virt-p2v



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/i386/os/Packages/strace-4.5.18-1.fc10.i386.rpm ...OK
Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/slang-2.1.4-1.fc10.i386.rpm ...OK
Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm ...OK
Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/libx86-1.1-3.fc10.i386.rpm ...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/i386/os/
> 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/Installation_Guide/ch-kickstart2.html
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-kickstart2-options.html
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.
-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]