Dpkg: error: too-long line or missing newline in '/var/lib/dpkg/triggers/aspell-autobuildhash'

Hi, I am running Ubuntu Mate 16.04 on my Pi2. I think the power went off during an unattended-upgrade and now something is messed up with my system.

I first noticed that my NAS drive was not mounting at boot. Manually running the mount command I got:

~$ sudo mount -a
Child process terminated abnormally.

I then tried to re-install the cifs package and that's when I found that there's an error with dpkg:

dpkg: error: too-long line or missing newline in '/var/lib/dpkg/triggers/aspell-autobuildhash'
E: Sub-process /usr/bin/dpkg returned an error code (2)

This happens for any package that I try install or re-install. I am unsure what package is even causing this issue. How can I fix it ? Thanks.