You are here
Hans Harder - Fri, 2017/03/31 - 16:54
I am getting more and more TKLcontainers, and getting every container access to internet is a problem.
so I am thinking about setting up an TKL core container which should mirror the security updates of TKL and Debian, so that all TKL instances can retrieve the security updates from that instance instead of the internet
Anybody got any experience in howto set this up ?
thx
Hans
Forum:
I have used apt-cacher-ng previously
FWIW as of (the soon to be released) v14.2 Confconsole will include an option to configure an apt proxy. I haven't actually tested it with apt-cacher-ng, but hopefully that will work. You'll still need to configure the local apt-cacher, but hopefully you should be able to use confconsole to quickly and easily link any new containers to it.
thx Jeremy... I tried it out.
thx Jeremy... I tried it out.
found it has sometimes some problems in getting the packages
Hit http://archive.turnkeylinux.org jessie/main amd64 Packages
Ign http://httpredir.debian.org jessie/contrib Translation-en
Ign http://httpredir.debian.org jessie/main Translation-en
Hit http://archive.turnkeylinux.org jessie/main i386 Packages
Err http://httpredir.debian.org jessie/main amd64 Packages
500 Bad redirection (path)
Err http://httpredir.debian.org jessie/contrib amd64 Packages
500 Bad redirection (path)
Everytime when a http://httpredir.debian.org is used, it seems randomly failing with 500 errors.
Seems related to the implementation of httpredir, I assume it guesses which nearby debian mirror it should use.. Problems go away when I specify in the sources.list of apt a nearby mirror instead of httpredir.debian.org..
All in all apt-cacher-ng works perfectlty now.
QUOTE: ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Good news!
No doubt your pointers will help someone else trying to achieve the same! :)
Add new comment