[fedora-arm] Yum trouble

Lennert Buytenhek buytenh at wantstofly.org
Wed Apr 22 11:12:33 UTC 2009


On Wed, Apr 22, 2009 at 11:55:29AM +0100, Andy Green wrote:

> I am really pleased so far at the results of using the Fedora 10 
> armv5tel stuff on an i.MX31 embedded device.

Yay!


> I just got network routing set up over a Ethernet gadget USB OTG device, 
> and I found yum doesn't seem to work somehow.
> 
> I can tcpdump the PC side of the Ethernet gadget link and I see that it 
> is getting the right URL from the mirrorlist server
> 
> 12:44:19.105231 IP xi.wantstofly.org.http > 10.7.0.1.43521: P 1:294(293) 
> ack 158 win 858 <nop,nop,timestamp 155371772 179707>
> 	0x0000:  4500 0159 4d8b 4000 3406 77c4 5065 25e3  E..YM. at .4.w.Pe%.
> 	0x0010:  0a07 0001 0050 aa01 7f8d 8576 a708 a2ad  .....P.....v....
> 	0x0020:  8018 035a 9160 0000 0101 080a 0942 c8fc  ...Z.`.......B..
> 	0x0030:  0002 bdfb 4854 5450 2f31 2e31 2032 3030  ....HTTP/1.1.200
> 	0x0040:  204f 4b0d 0a44 6174 653a 2057 6564 2c20  .OK..Date:.Wed,.
> 	0x0050:  3232 2041 7072 2032 3030 3920 3130 3a34  22.Apr.2009.10:4
> 	0x0060:  363a 3234 2047 4d54 0d0a 5365 7276 6572  6:24.GMT..Server
> 	0x0070:  3a20 4170 6163 6865 2f32 2e32 2e33 2028  :.Apache/2.2.3.(
> 	0x0080:  4365 6e74 4f53 290d 0a58 2d50 6f77 6572  CentOS)..X-Power
> 	0x0090:  6564 2d42 793a 2050 4850 2f35 2e31 2e36  ed-By:.PHP/5.1.6
> 	0x00a0:  0d0a 436f 6e74 656e 742d 4c65 6e67 7468  ..Content-Length
> 	0x00b0:  3a20 3130 310d 0a43 6f6e 6e65 6374 696f  :.101..Connectio
> 	0x00c0:  6e3a 2063 6c6f 7365 0d0a 436f 6e74 656e  n:.close..Conten
> 	0x00d0:  742d 5479 7065 3a20 7465 7874 2f68 746d  t-Type:.text/htm
> 	0x00e0:  6c3b 2063 6861 7273 6574 3d55 5446 2d38  l;.charset=UTF-8
> 	0x00f0:  0d0a 0d0a 6874 7470 3a2f 2f66 7470 2e6c  ....http://ftp.l
> 	0x0100:  696e 7578 2e6f 7267 2e75 6b2f 7075 622f  inux.org.uk/pub/
> 	0x0110:  6c69 6e75 782f 6172 6d2f 6665 646f 7261  linux/arm/fedora
> 	0x0120:  2f70 7562 2f66 6564 6f72 612f 6c69 6e75  /pub/fedora/linu
> 	0x0130:  782f 7265 6c65 6173 6573 2f31 302f 4576  x/releases/10/Ev
> 	0x0140:  6572 7974 6869 6e67 2f61 726d 2f6f 732f  erything/arm/os/
> 	0x0150:  5061 636b 6167 6573 0a                   Packages.
> 
> ... and it does seem to get a non-empty repo file from there.  But, 
> nothing is ever found by yum...
> 
> -bash-3.2# yum clean all
> Cleaning up Everything
> -bash-3.2# yum install telnet
> fedora 
>                          |  951 B     00:00
> fedora/primary 
>                          | 621 kB     00:03
> fedora 
>                                       2036/2036
> updates 
>                          |  951 B     00:00
> updates/primary 
>                          |  195 B     00:00
> Setting up Install Process
> Parsing package install arguments
> No package tcpdump available.
> Nothing to do

Is this an armv6l CPU?  There was a bug in yum (since been fixed
upstream, but I don't know if we've backported the patch) due to the
initial yum ARM support patch being misapplied (by hand).  If
/usr/lib/python2.5/site-packages/rpmUtils/arch.py says "armv61" instead
of "armv6l", this is probably what's causing it, and we should backport
that patch.  (In the meanwhile, you should be able to just sed that
file (and arch.pyc and arch.pyo) to fix it.)




More information about the fedora-arm mailing list