FAQ
invalid output was: SUDO-SUCCESS-siogahtpvfcksvvxfxqslqrszpkxisfp
bzip2: (stdin) is not a bzip2 file.
bzip2: (stdin) is not a bzip2 file.
bzip2: (stdin) is not a bzip2 file.
bzip2: (stdin) is not a bzip2 file.
Traceback (most recent call last):
   File
"/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
line 1762, in <module>
     main()
   File
"/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
line 492, in main
     cache.update()
   File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in
deprecated_function
     return func(*args, **kwds)
   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 418, in update
     raise FetchFailedException(e)
apt.cache.FetchFailedException: W:Failed to fetch
bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
  Hash Sum mismatch
, W:Failed to fetch
bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages
  Hash Sum mismatch
, E:Some index files failed to download. They have been ignored, or old
ones used instead.

--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/27d2ec3f-4359-4ee4-bc30-5bba3887edb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Michael DeHaan at Jul 19, 2014 at 11:54 am
    So this is a traceback that looks like it needs to be caught to raise a
    proper error.

    Please let us know what version of Ansible you are using, though in this
    case it seems like we need to catch an exception in the apt module.

    Once you have pinned down the Ansible version, please file a ticket at
    github.com/ansible/ansible per CONTRIBUTING.md and include the line from
    your playbook that you used to trigger the task, as well as the output
    above.



    On Sat, Jul 19, 2014 at 3:33 AM, Lokesh Dokara wrote:

    invalid output was: SUDO-SUCCESS-siogahtpvfcksvvxfxqslqrszpkxisfp
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    Traceback (most recent call last):
    File
    "/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
    line 1762, in <module>
    main()
    File
    "/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
    line 492, in main
    cache.update()
    File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in
    deprecated_function
    return func(*args, **kwds)
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 418, in update
    raise FetchFailedException(e)
    apt.cache.FetchFailedException: W:Failed to fetch
    bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
    Hash Sum mismatch
    , W:Failed to fetch
    bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages
    Hash Sum mismatch
    , E:Some index files failed to download. They have been ignored, or old
    ones used instead.

    --
    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 ansible-project+unsubscribe@googlegroups.com.
    To post to this group, send email to ansible-project@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msgid/ansible-project/27d2ec3f-4359-4ee4-bc30-5bba3887edb1%40googlegroups.com
    <https://groups.google.com/d/msgid/ansible-project/27d2ec3f-4359-4ee4-bc30-5bba3887edb1%40googlegroups.com?utm_medium=email&utm_source=footer>
    .
    For more options, visit https://groups.google.com/d/optout.
    --
    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 ansible-project+unsubscribe@googlegroups.com.
    To post to this group, send email to ansible-project@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyQVPi%3D8gg_iBGdsvqei2HDmGAE6GripHqwiWej4VwgWA%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.
  • Michael DeHaan at Jul 19, 2014 at 12:50 pm
    Just wanted to clarify some behavior -- that this does not fail the entire
    play in a way that is abnormal.

    It takes the host out of rotation for the rest of the playbook - the host
    has failed.

    If there are other hosts under configuration, those hosts will still be
    configured, unless they have this same problem.

    If it actually failed to download, and the exception *was* caught, and it
    returned failed=True, the same thing happens.

    Think of this as "the message out of this error condition is not good",
    basically, but the error condition would still be there.

    The question of why may deal with the upstream repo or your network or apt
    configuration, I'm not sure.




    On Sat, Jul 19, 2014 at 7:54 AM, Michael DeHaan wrote:

    So this is a traceback that looks like it needs to be caught to raise a
    proper error.

    Please let us know what version of Ansible you are using, though in this
    case it seems like we need to catch an exception in the apt module.

    Once you have pinned down the Ansible version, please file a ticket at
    github.com/ansible/ansible per CONTRIBUTING.md and include the line from
    your playbook that you used to trigger the task, as well as the output
    above.



    On Sat, Jul 19, 2014 at 3:33 AM, Lokesh Dokara wrote:

    invalid output was: SUDO-SUCCESS-siogahtpvfcksvvxfxqslqrszpkxisfp
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    bzip2: (stdin) is not a bzip2 file.
    Traceback (most recent call last):
    File
    "/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
    line 1762, in <module>
    main()
    File
    "/home/vagrant/.ansible/tmp/ansible-tmp-1405754512.83-262599342047331/apt",
    line 492, in main
    cache.update()
    File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in
    deprecated_function
    return func(*args, **kwds)
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 418, in
    update
    raise FetchFailedException(e)
    apt.cache.FetchFailedException: W:Failed to fetch
    bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
    Hash Sum mismatch
    , W:Failed to fetch
    bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages
    Hash Sum mismatch
    , E:Some index files failed to download. They have been ignored, or old
    ones used instead.

    --
    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 ansible-project+unsubscribe@googlegroups.com.
    To post to this group, send email to ansible-project@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msgid/ansible-project/27d2ec3f-4359-4ee4-bc30-5bba3887edb1%40googlegroups.com
    <https://groups.google.com/d/msgid/ansible-project/27d2ec3f-4359-4ee4-bc30-5bba3887edb1%40googlegroups.com?utm_medium=email&utm_source=footer>
    .
    For more options, visit https://groups.google.com/d/optout.
    --
    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 ansible-project+unsubscribe@googlegroups.com.
    To post to this group, send email to ansible-project@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgzhy0s0Zz4sNed-AXsABrJpbJ4VO0XED6fLn1xaLiANnA%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupansible-project @
postedJul 19, '14 at 11:52a
activeJul 19, '14 at 12:50p
posts3
users2

2 users in discussion

Michael DeHaan: 2 posts Lokesh Dokara: 1 post

People

Translate

site design / logo © 2022 Grokbase