Update apt sources while using dab?

x86

New Member
Aug 19, 2014
21
0
1
Dear,

I am using DAB to create a custom template for quick deployment. But the apps I run within the LXC containers will be 32bit. I am using Debian Jessie 8.0 x64 as template.

I need to execute these commands within dab:
# dpkg --add-architecture i386
# apt-get update
# apt-get install libstdc++6:i386
# apt-get install libncursesw5:i386

Adding the architecture using 'dab exec dpkg --add-architecture i386' is no problem. But 'dab exec apt-get update' won't work because it has no internet access, 'dab update' also doesn't work.

Is there a way to fix this?
Thanks!