Ubuntu upgrade issues - E: Sub-process /usr/bin/dpkg returned an error code (2)

Hi guys
I dont know what the problem is but i know that it is not caused by packages you install.
I have debian on my android phone and i connect to it using an internal ssh.
I didnt install any packages.
[apt-get install reaver] was the first attempt to install or change something.
It returned “E: Sub-process /ussr/bin/dpkg returned an error code (2)” which we are, unfortunaly, familiar with.
You can consider me a noob (compared to everything i know i am a wizard…) so i dont know what dpkg does, only that it is important (i guess).
I didnt download a debian.img, i downloaded an app which installs linux by downloading all components and sort of melting them together in a new debian.img so it probably is not a error in the downloaded files.
You can find the problem somewhere in the dpkg files i think.
If someone knows something i would appreciate it if he posted it, the creator of this post probably wants his problem solved (and maybe i can do something with it to).
Thanks