The errors you're experiencing indicate a couple of issues with your system's package manager (`dpkg`) and network interface.
### Steps to Resolve `dpkg` Interrupted Issue
When you see the message `dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'`, it means that a previous package installation was interrupted, and you need to complete or fix the process.
To resolve this:
1. Open your terminal.
2. Run the following


