Last active
May 30, 2025 22:21
-
-
Save ryanpadilha/9d6c07e3ffa1f17934db021a95383276 to your computer and use it in GitHub Desktop.
Commands to fix apt - E: Sub-process /usr/bin/dpkg returned an error code (1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo rm -rf /var/lib/dpkg/info/*.* | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
sudo apt-get update | |
sudo apt-get check | |
sudo apt-get -f install | |
sudo apt-get upgrade |
worked like a charm, Thank you!
Worked!!!!!!!!!!
Thanks for the heads up worked like charm
Not working
didn't work unfortunately :(
Thank you brother my problem solved
Work very well, thank's
angel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error fix nhi hua 😥