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

Using ftp as apt-method: How to configure



We have a server in the DMZ with only connection to a ftp-server on campus for updates.  No http(s) service available for apt.

While upgrading to buster, I got the message that the new apt disabled ftp as method. The message also suggested the solution: Set Dir::Bin::Methods::ftp to "ftp" to enable it again.

My problem: Where do I put that?  I have tried the following:

Created an /etc/apt.conf with
Dir::Bin::Methods::ftp;
as the only line. 

That did not help.  I then moved the file to /etc/apt/preferences with the same result.

So in which file should this solution go?  And what does it mean to " Set Dir::Bin::Methods::ftp to "ftp" to enable it again." ? 

Something like
Dir::Bin::Methods::ftp=ftp  ?

I did try that.  No solution.

Regards
Johann.
--
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply to: