First of all, neon is _NOT_ used for ftp transport.
Second, adding --ftpdebug will display the FTP protocol on
the wire. There is also --rpmiodebug which will display args
to almost every rpmio operation if needed.
From 6+ year old memory, there are ftp server differences on solaris that
cause pain. Likely easy fixing if there is need.
73 de Jeff
These Solaris ftp issues are definitely appearing then. When I run it
with --ftpdebug there is no extra info displayed which I immediately
found strange:
# rpm -ivvh --ftpdebug ftp://rpm.rutgers.edu/foo.rpm
Retrieving
ftp://rpm.rutgers.edu/foo.rpm
D: ... as /var/local/tmp/rpm-xfer.6Xaq8f
D: failed to open
ftp://rpm.rutgers.edu/foo.rpm:
No such file or directory
error: skipping
ftp://rpm.rutgers.edu/foo.rpm
- transfer failed - Unknown or unexpected error
--rpmiodebug definitely gives more info:
# rpm -ivvh --rpmiodebug ftp://rpm.rutgers.edu/foo.rpm
*** Fopen ufdio path /etc/rpm/platform fmode r.ufdio
*** ufdOpen(/etc/rpm/platform,0x0,0666)
*** Fopen ufdio path /usr/local/lib/rpm/macros fmode r.fpio
*** ufdOpen(/usr/local/lib/rpm/macros,0x0,0666)
--> fd cec30 ++ 1 open (fdOpen) at rpmio.c:524 | UFD -1 fp 0
==> fdOpen("/usr/local/lib/rpm/macros",0,0666) | UFD 3 fp 0
==> Fileno(cec30) rc 3 | UFD 3 fp 0
==> ufdOpen("/usr/local/lib/rpm/macros",0,0666) | UFD 3 fp 0
*** Fdopen(cec30,r.fpio) | UFD 3 fp 0
==> Fileno(cec30) rc 3 | UFD 3 fp 0
*** Fdopen fpio fp fe7c0234
==> Fdopen(cec30,"r.fpio") returns fd cec30 | FP fe7c0234(3) fdno 3 |
UFD 3 fp fe7c0234
==> Ferror(cec30) rc 0 | FP fe7c0234(3) fdno 3 | UFD 3 fp fe7c0234
==> Fclose(cec30) | FP fe7c0234(3) fdno 3 | UFD 3 fp fe7c0234
--> fd cec30 ++ 2 Fclose at rpmio.c:3238 | FP fe7c0234(3) fdno 3 |
UFD 3 fp fe7c0234
==> fdClose(cec30) rc ffffffff | UFD -1 fp fe7c0234
--> fd cec30 -- 2 open (fdClose) at rpmio.c:507 | UFD -1 fp
fe7c0234
--> fd cec30 -- 1 Fclose at rpmio.c:3316 | UFD -1 fp fe7c0234
*** Fopen ufdio path /usr/local/lib/rpm/sun4u-solaris2.9/macros fmode
r.fpio
*** ufdOpen(/usr/local/lib/rpm/sun4u-solaris2.9/macros,0x0,0666)
*** Glob(/usr/local/etc/rpm/macros.*,0x1000,fee89730,ffbfe700)
*** Fopen ufdio path /usr/local/etc/rpm/macros fmode r.fpio
*** ufdOpen(/usr/local/etc/rpm/macros,0x0,0666)
*** Fopen ufdio path /usr/local/etc/rpm/sun4u-solaris2.9/macros fmode
r.fpio
*** ufdOpen(/usr/local/etc/rpm/sun4u-solaris2.9/macros,0x0,0666)
*** Glob(~/.rpmmacros,0x1000,fee89730,ffbfe700)
*** Stat(/usr/local/lib/rpm/init.lua,ffbff740)
*** Access(/usr/local/etc/rpm/sysinfo,4)
*** rpmioAccess("/usr/local/etc/rpm/sysinfo", 0x4) rc 1
Retrieving ftp://rpm.rutgers.edu/foo.rpm
D: ... as /var/local/tmp/rpm-xfer.C4aa9f
*** Fopen fdio path ftp://rpm.rutgers.edu/foo.rpm fmode r
D: failed to open ftp://rpm.rutgers.edu/foo.rpm:
No such file or directory
error: skipping ftp://rpm.rutgers.edu/foo.rpm
- transfer failed - Unknown or unexpected error
Hmmm, still not very specific as to why it's failing. Any ideas? I'm
guessing Tim is probably going to see similar if not the same output.
Thanks Jeff,
-Dave
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list