I was running the 'sudo apt update' command when the connection was interrupted, now an error that my dependencies are broken keeps showing up, how can I repair for the broken dependencies and do I have to do this as a root user or just a normals user? what is the way to go about this in terminal?
Answered By
points
N/A
#192944
How can I repair for brocken resipotry in linux Mint
Hello,
Such task can be done easily from the “Terminal”.
1. Start “Terminal”.
2. Run the command:
sudo aptitude update && sudo aptitude install gtkorphan
sudo aptitude update && sudo aptitude upgrade
3. To clear out broken packages,
sudo aptitude -f
It’s recommended to make a total update & upgrade of your packages. Make sure that internet connection doesn’t interrupt.
This tutorial explains more commands with advanced functions.