Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 906  / 3 Years ago, sun, june 13, 2021, 7:55:06

I'm having problems:




  • dpkg was interrupted

  • broken packages

  • Unable to lock the administration directory



And I think they are related.


More From » dpkg

 Answers
1

Restart your computer and follow above.



to update your package list.



sudo apt-get update


to clean up any partial packages.



sudo apt-get autoclean


to clean up the apt cache.



sudo apt-get clean


clean up any unneeded dependencies.



sudo apt-get autoremove


Resolve dependencies of broken packages



sudo apt-get install -f


fix dependencies



sudo apt-get install --fix-missing


Correct dpkg



sudo dpkg --configure -a


Run all this list more than once to fix the problem, if it was not resolved.


[#13593] Monday, June 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
velelf questions
Sat, Nov 6, 21, 05:08, 3 Years ago
Fri, Sep 24, 21, 01:23, 3 Years ago
Sun, Oct 9, 22, 07:37, 2 Years ago
Mon, Oct 10, 22, 08:55, 2 Years ago
;