On Mon, Oct 28, 2019 at 06:43:03PM GMT, Andy Lemin wrote: > Hi guys, > > Does anyone know if it is possible to completely disable ftp in the package > management utilities; pkg_add, syspatch, sysupgrade etc? > > My PKG_PATH references http:// urls, as does /etc/install. But I cannot stop > these tools trying to use ftp which does not work! :( > > Every time I try and install a bunch of packages, some work fine via http, > and then some will fall back to ftp, which of course fails. > > However when I test the url for the package it reports it could not download, > due to the ftp connect timeout, the download works fine via http etc. So it > is very frustrating. > > We cannot use ftpproxy as we use rdomains, and running the ftpproxy daemon > within the rdomain that has the default route to the internet doesn’t seem to > work. And generally speaking no one in my last two companies has ever asked > me to make ftp work. > > As ftp is very much dead in most cases, could we please stop using it for > package management tools? :( I cannot update any of my OpenBSD servers which > reside inside the firewall. Only the firewall itself get et updates because > of the ftp dependence :( > > Thanks for your time. > Andy. > > > Sent from a teeny tiny keyboard, so please excuse typos >
Hi Andy, If, like you say, PKG_PATH and installurl(5) both reference HTTP(S), then you're getting confused - warning/error messages come from ftp(1). It has nothing to do with FTP (the protocol). Regards, Raf