Update apt sources while using dab?

Discussion in 'What Virtual Appliances do you want to see?' started by x86, Feb 11, 2016.

  1. x86

    x86 New Member

    Joined:
    Aug 19, 2014
    Messages:
    21
    Likes Received:
    0
    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!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice