I've been able to successfully build local repository. When I do apt-get
against this local repository everything works fine. Sample output-
Hit http://192.168.1.142 precise InRelease
Hit http://192.168.1.142 precise/contrib amd64 Packages
Ign http://192.168.1.142 precise/contrib TranslationIndex
Ign http://192.168.1.142 precise/contrib Translation-en
After checking that everything is working fine, I copied the repository to production server. Now I am getting below error message :
Err http://www.DOMAIN.com precise/contrib Translation-en
Error reading from server. Remote end closed connection [IP: A.B.C.D 80]
Why apt-get
is trying to download translations file from one server (and if it doesn't find it gives error) but not from other?
I've checked HTTP headers and both servers are sending Content-Type: text/html;charset=UTF-8
env | grep LC
for each machine? You can use paste.ubuntu.com site for the output