[Yum] Trouble-FTP-YUM

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

 



Hi !

( sorry break my engl )  ( russian :) )

I use REDHAT 9 + updates

I download from freshrpms.net yum-2.0.1-1.rh.fr.src.rpm
rebuild and install

1. i configure for local file.
yum list
( no charset in headers table locale - ru_RU.UTF-8 )
--------------------
Gathering header information file(s) from server(s)
Server: Mx FTP
????? ??????????? ???????
????????? ??????????? ??????????
????????                            ???.   ??????                   Repo
-------------------------------------------------------------------------------- 

XFree86-75dpi-fonts                 i386   4.2.0-73                 mx
d4x                                 i386   2.4.1-fr1                mx
....
BUGS ?
----------------------------
2. I configre ftp repo
yum list
Gathering header information file(s) from server(s)
Server: Mx FTP
retrygrab() failed for:
 ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
 Executing failover method
failover: out of servers to try
Error getting file 
ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
[Errno 6] ??????: URL ?? ?????????? ???????? Content-Length  - ???-?? ?? 
???

export LANG=en_US.UTF-8
yum list

Gathering header information file(s) from server(s)
Server: Mx FTP
retrygrab() failed for:
 ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
 Executing failover method
failover: out of servers to try
Error getting file 
ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
[Errno 6] ERROR: Url Return no Content-Length  - something is wrong

wget ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
--15:27:37--  
ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info
          => `header.info'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD 
/pub/linux/dis/redhat/9/contributes/headers ... done.
==> PORT ... done.    ==> RETR header.info ... done.

   [ <=>                                 ] 1,406          1.34M/s

15:27:37 (1.34 MB/s) - `header.info' saved [1406]

no prolem ! I use pure-ftpd server.

BUGS ?

Thanks !
-------------------------------------------

pureftpd might be sending back odd data. try this:


python /usr/share/yum/urlgrabber.pyc \
ftp://localhost/pub/linux/dis/redhat/9/contributes/headers/header.info

see what error you get back.

---
[root@x root]# python /usr/share/yum/urlgrabber.pyc ftp://localhost/pub/linux/dis/redhat/9/contributes/headers header.info
throttle: 1.0,  throttle bandwidth: 32768 B/s
[Errno 6] ??????: URL ?? ?????????? ???????? Content-Length  - ???-?? ?? ???
[root@x root]# export LANG=en_US.UTF-8
[root@x root]# python /usr/share/yum/urlgrabber.pyc ftp://localhost/pub/linux/dis/redhat/9/contributes/headers header.info
throttle: 1.0,  throttle bandwidth: 32768 B/s
[Errno 6] ERROR: Url Return no Content-Length  - something is wrong
---

?

-- 
MX
JID: mx@xxxxxxxxxxxxxxx
ICQ: 1002 ( icq.pvrr.mps ) [ Sorry. is time N/A ]
mailto:mx@xxxxxxxxxxxx ( intranet only)




[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