Hello,
FWIW, I installed lighttpd on the offline machine, switched to http
method and it worked. So it seems there is indeed something wrong with
the ftp method.
I am attaching the requested information anyway, just in case someone
wants to take a look into it.
Many thanks again!
-- Output from apt-get update:
<-
'-%20Welcome%20to%20Pure-FTPd%20[privsep]%20[TLS]%20--%0d%0aYou%20are%20user%20number%201%20of%2050%20allowed.%0d%0aLocal%20time%20is%20now%2014:02.%20Server%20port:%2021.%0d%0aIPv6%20connections%20are%20also%20welcome%20on%20this%20server.%0d%0aYou%20will%20be%20disconnected%20after%2015%20minutes%20of%20inactivity.%0d%0a'
-> 'USER%20anonymous%0d%0a'
<- 'Anonymous%20user%20logged%20in%0d%0a'
-> 'TYPE%20I%0d%0a'
<- 'TYPE%20is%20now%208-bit%20binary%0d%0a'
-> 'SIZE%20/debian/debian/dists/stretch/InRelease%0d%0a'
<- 'Can't%20check%20for%20file%20existence%0d%0a'
-> 'MDTM%20/debian/debian/dists/stretch/InRelease%0d%0a'
<- 'Can't%20check%20for%20file%20existence%0d%0a'
-> 'PASV%0d%0a'
Get:1 ftp://localhost/debian/debian stretch InRelease
<- 'Entering%20Passive%20Mode%20(127,0,0,1,99,74)%0d%0a'
-> 'RETR%20/debian/debian/dists/stretch/InRelease%0d%0a'
<-
'Can't%20open%20/debian/debian/dists/stretch/InRelease:%20No%20such%20file%20or%20directory%0d%0a'
Err:1 ftp://localhost/debian/debian stretch InRelease
Unable to fetch file, server said 'Can't open
/debian/debian/dists/stretch/InRelease: No such file or directory '
[IP: 127.0.0.1 21]
-> 'SIZE%20/debian/debian-security/dists/stretch/updates/InRelease%0d%0a'
<- '62912%0d%0a'
-> 'MDTM%20/debian/debian-security/dists/stretch/updates/InRelease%0d%0a'
<- '20170626002101%0d%0a'
Hit:2 ftp://localhost/debian/debian-security stretch/updates InRelease
-> 'SIZE%20/debian/debian/dists/stretch-backports/InRelease%0d%0a'
<- '78544%0d%0a'
-> 'MDTM%20/debian/debian/dists/stretch-backports/InRelease%0d%0a'
<- '20170626082744%0d%0a'
Hit:3 ftp://localhost/debian/debian stretch-backports InRelease
-> 'SIZE%20/virtualbox/dists/stretch/InRelease%0d%0a'
<- '7776%0d%0a'
-> 'MDTM%20/virtualbox/dists/stretch/InRelease%0d%0a'
<- '20170429054359%0d%0a'
Hit:4 ftp://localhost/virtualbox stretch InRelease
Reading package lists...
W: Failed to fetch
ftp://localhost/debian/debian/dists/stretch/InRelease Unable to fetch
file, server said 'Can't open /debian/debian/dists/stretch/InRelease: No
such file or directory ' [IP: 127.0.0.1 21]
W: Some index files failed to download. They have been ignored, or old
ones used instead.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Sandbox "";
APT::Sandbox::User "_apt";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^linux-image-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^linux-image-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^linux-headers-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^linux-headers-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^linux-headers-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^.*-modules-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^.*-modules-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^.*-modules-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-4\.9\.0-3-amd64$";
APT::NeverAutoRemove::
"^linux-backports-modules-.*-4\.9\.0-0\.bpo\.2-amd64$";
APT::NeverAutoRemove::
"^linux-backports-modules-.*-4\.9\.0-0\.bpo\.3-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.9\.0-3-amd64$";
APT::NeverAutoRemove:: "^linux-tools-4\.9\.0-0\.bpo\.2-amd64$";