I was running into the same/similar error. Inside of
/var/lib/dpkg/updates one of the files appeared to be stopping my update
process. The contents of the file was,

#padding
#padding
#padding
#padding
#padding

repeating for 150 something lines.

I moved that file out of /var/lib/dpkg/updates and everything seems to
be working fine afterwards. Whether this was the root cause or not I am
not sure, but it might be worth while grep(ing) for this in all the
files in /var/lib/dpkg/updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1746519

Title:
  package linux-image-4.13.0-32-generic 4.13.0-32.35 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746519/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to