How can I try to resolve "e sub-process /usr/bin/dpkg returned an error code (1)" when installing a package?

Question

Grade: Education Subject: Support
How can I try to resolve "e sub-process /usr/bin/dpkg returned an error code (1)" when installing a package?
Asked by:
108 Viewed 108 Answers

Answer (108)

Best Answer
(223)
To resolve this, first try running `sudo apt --fix-broken install` to automatically fix any broken dependencies or incomplete installations. If that doesn't work, `sudo dpkg --configure -a` can reconfigure pending packages.