As far I know there are two different versions of these libraries (32bit and 64bit). Without i386 only 64bit version is installed.
dpkg --add-architecture i386 apt-get -y install libc6:i386 apt-get -y install libncurses5:i386 apt-get -y install libstdc++6:i386 On Tuesday, 2 February 2016 12:08:09 UTC+2, AS wrote: > > With command prompt it works but with ansible no success. > > sudo apt-get install libc6:i386 > Reading package lists... Done > Building dependency tree > Reading state information... Done > libc6:i386 is already the newest version. > 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade. > > > On Thursday, 28 January 2016 19:14:36 UTC+2, Brian Coca wrote: >> >> does it actually install that lib or one with similar name? apt-get >> does some fuzzy matching in the command line that ansible avoids. >> >> On Thu, Jan 28, 2016 at 6:38 AM, AS <[email protected]> wrote: >> > Do you guys know whether the colon is supported on packet names with >> > Ansible's apt module? >> > >> > Currently running ansible 2.0.0.2 and tried numerous different escape >> > character combinations but the error is always same. >> > >> > few YAML-variants on the playbook: >> > >> > - name: Install libc6 >> > apt: name='libc6:i386' >> > >> > - name: Install libc6 >> > apt: name=libc6{{':'}}i386 >> > >> > - name: Install libc6 >> > apt: name='libc6{{':'}}i386' >> > >> > Error >> > fatal: [[email protected]]: FAILED! => {"changed": false, >> > "failed": true, "msg": "No package matching 'libc6:i386' is available"} >> > >> > >> > apt-get command itself finds the packet without problems: >> > sudo apt-get install libc6:i386 >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Ansible Project" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/ansible-project/124157d4-d48f-4442-9925-c4f8e68c09c9%40googlegroups.com. >> >> >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Brian Coca >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9f33f1d5-122b-4093-9931-ee31e9efd6e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
