Re: The pkg_add/ftp/fetch pain
- From: Clever Monkey <spamtrap@xxxxxxxxxxxxxxxx>
- Date: Wed, 18 Apr 2007 13:13:07 -0400
Helmut Schneider wrote:
OK, pkg_add is odd. It never worked as expected but mostly someone finds a way around.FTP is always going to be a challenge in modern networking environments.
I use an OpenBSD4.0 and vsftpd on a FreeBSD6.2. I just would like to update some packages as I recently upgraded from 3.9. Here is what I tried:
# set | grep PKG_PATH
PKG_PATH=ftp://192.168.1.70/pub/OpenBSD/4.0/packages/i386
#
# pkg_add -ui bzip2-1.0.3
Error from ftp://192.168.1.70/pub/OpenBSD/4.0/packages/i386/:
ftp: -: short write
421 Service not available, remote server has closed connection.
Temporary error, sleeping 5 seconds
^C
#
# ftp ftp://192.168.1.70/pub/OpenBSD/4.0/packages/i386/bzip2-1.0.4.tgz
[...]
local: bzip2-1.0.4.tgz remote: bzip2-1.0.4.tgz
229 Entering Extended Passive Mode (|||9479|)
150 Opening BINARY mode data connection for bzip2-1.0.4.tgz (113012 bytes).
[...]
226 File send OK.
113012 bytes received in 0.67 seconds (163.58 KB/s)
221 Goodbye.
#
Obviously communication is successful, so where is the problem?!
If you can point PKG_PATH at some other ftp server and it works, then I think this ftp server is not happy, or the firewall is contributing to the problem.
A hail-mary might be to force active mode, even though this should make no difference since pkg_add is simply invoking /usr/bin/ftp. A more verbose setting may highlight the problem, and if you really need to figure things out you may need to sniff the traffic.
.
- References:
- The pkg_add/ftp/fetch pain
- From: Helmut Schneider
- The pkg_add/ftp/fetch pain
- Prev by Date: Re: The pkg_add/ftp/fetch pain
- Next by Date: Re: The pkg_add/ftp/fetch pain
- Previous by thread: Re: The pkg_add/ftp/fetch pain
- Next by thread: KDE Keyboard Exploit
- Index(es):
Relevant Pages
|
|