[xen-tools] Re: Can't define CentOS mirror

Gal Buki buki at torus.ch
Wed Apr 11 18:32:44 CEST 2007


Hi Steve


It does now use the specified mirror.


I two new problems.


1. it doesn't use the right folder.


If I used the mirror "http://wftp.tu-chemnitz.de/pub/linux/centos/"


I get the following error:


rpmstrap: debug: get_rpms(): Getting RPM from 
http://wftp.tu-chemnitz.de/pub/linux/centos/
--18:16:00--  
http://wftp.tu-chemnitz.de/pub/linux/centos/python-sqlite-1.1.6-1.i386.rpm
           => `python-sqlite-1.1.6-1.i386.rpm'
Resolving wftp.tu-chemnitz.de... 134.109.132.98
Connecting to wftp.tu-chemnitz.de|134.109.132.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:16:00 ERROR 404: Not Found.


File can't be found because it is in another folder:

http://wftp.tu-chemnitz.de/pub/linux/centos/4/os/i386/CentOS/RPMS/


2. The packageinformation is old.

The mirrors only have the packages of the 4.4 release. For example 
"rpm-python-4.3.3-13_nonptl.i386.rpm" is now in version 
"rpm-python-4.3.3-18_nonptl.i386.rpm"


Best regards,

Gal


Steve Kemp wrote:

> On Sun, Apr 08, 2007 at 04:08:14PM +0100, Steve Kemp wrote:
>
>   
>>   No.  There is a bug (?) in xt-install-system.  The --mirror
>>  option is ignored for rpmstrap, and only used for debootstrap.
>>     
>
>   The --mirror flag is now honored for rpmstrap in addition to
>  debootstrap.
>
>   Diff:
>
>     http://www.cvsrepository.org/cgi-bin/trac/xen-tools/chngview?cn=870
>
>   Full copy of fixed xt-install-system:
>
>     http://www.cvsrepository.org/cgi-bin/trac/xen-tools/getfile/xen-tools/bin/xt-install-image?v=1.56
>
>   Let me know if this fixes it, or if it breaks horribly ..?
>
> Steve
>   






More information about the xen-tools-discuss mailing list