[Yum] yum-arch dies on non-rpm file

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

 



yum-arch dies when it tries to read a file that is not actually a rpm.
This happend to me running yum-arch on a mirror of rh71 (yes, I know
it's old) where some rpms are in fact missing, and you find instead a
sort of acces denied message from the master server "masqueraded" as
rpm:



[root@ring updates]# yum-arch -z `pwd`/7.1

<many lines/>

Digesting rpms 84 % complete: php-imap-4.0.6-9.7.1.i386.rpmTraceback
(innermost last):
  File "/usr/sbin/yum-arch", line 23, in ?
    pullheaders.main()
  File "pullheaders.py", line 221, in main
  File "pullheaders.py", line 55, in genhdrs
TypeError: unsubscriptable object

[root@ring updates]# file 7.1/sec/php-imap-4.0.6-9.7.1.i386.rpm 
7.1/sec/php-imap-4.0.6-9.7.1.i386.rpm: HTML document text

[root@ring updates]# cat  7.1/sec/php-imap-4.0.6-9.7.1.i386.rpm 
<TITLE>FTP Error</TITLE>
<H1>FTP Error</H1>
<h2>Could not login to FTP server</h2>
<PRE>Anonymous User Limit Reached, See
http://www.redhat.com/mirrors.html</PRE>



Piero



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux