E: Sub-process /usr/bin/dpkg returned an error code (1)

I was in the process of trying to update to krypton 17.1 and ran into this error

Errors were encountered while processing:
/var/cache/apt/archives/kodi_2%3a18.0~git20170224.0200-cecf179-0xenial_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I did as much research on google as i could stand but didnt find any methods that fixed the issue, What do I need to do to clean up whatever needs to be cleaned up so I can update kodi. Thank u all in advance for your help with this amazing gem of a program