I don't know who asked you that, but no. dpkg can't recover from a corrupted file... at best it should be the responsibility of apt to ensure that the .deb file it feeds to dpkg are the same than what was expected during download.
I'm not sure if there's such a request already in APT's bug list. I'm reassigning it just in case it's not... ** Package changed: dpkg (Ubuntu) => apt (Ubuntu) ** Summary changed: - dpkg should recover more gracefully from decompressing errors + apt should ensure .deb are not corrupted before handing them to dpkg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/978587 Title: apt should ensure .deb are not corrupted before handing them to dpkg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/978587/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs